# CVE-2023-41329: Domain restrictions bypass via DNS Rebinding in WireMock and WireMock Studio

- Severity: Low 3.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.63%, higher than 51% of CVEs (2026-12-02)
- Published: 2023-09-06T20:34:46.867Z
- Modified: 2026-09-10T03:49:58.610Z
- Also known as: GHSA-pmxq-pj47-j8j4, BIT-WIREMOCK-2023-41329, PYSEC-2026-2050
- Weaknesses: CWE-290, CWE-350
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

WireMock is a tool for mocking HTTP services. The proxy mode of WireMock, can be protected by the network restrictions configuration, as documented in Preventing proxying to and recording from specific target addresses. These restrictions can be configured using the domain names, and in such a case the configuration is vulnerable to the DNS rebinding attacks. A similar patch was applied in WireMock 3.0.0-beta-15 for the WireMock Webhook Extensions. The root cause of the attack is a defect in the logic which allows for a race condition triggered by a DNS server whose address expires in between the initial validation and the outbound network request that might go to a domain that was supposed to be prohibited. Control over a DNS service is required to exploit this attack, so it has high execution complexity and limited impact. This issue has been addressed in version 2.35.1 of wiremock-jre8 and wiremock-jre8-standalone, version 3.0.3 of wiremock and wiremock-standalone, version 2.6.1 of the python version of wiremock, and versions 2.35.1-1 and 3.0.3-1 of the wiremock/wiremock Docker container. Users are advised to upgrade. Users unable to upgrade should either configure firewall rules to define the list of permitted destinations or to configure WireMock to use IP addresses instead of the domain names.

(As written by CVE List.)

## Affected

- wiremock wiremock:  org.wiremock:wiremock: < 3.0.3;  org.wiremock:wiremock-standalone: < 3.0.3; com.tomakehurst.wiremock:wiremock-jre8: < 2.35.1; com.tomakehurst.wiremock:wiremock-jre8-standalone: < 2.35.1; pypi: wiremock: < 2.6.1; wiremock/wiremock: < 2.35.1-1; wiremock/wiremock: >= 3.0.0, < 3.0.3-1; before 2.35.1; from 3.0.0 before 3.0.3
- org.wiremock:wiremock-standalone (Maven): before 3.0.3
- org.wiremock:wiremock (Maven): before 3.0.3
- com.github.tomakehurst:wiremock-jre8 (Maven): before 2.35.1
- com.github.tomakehurst:wiremock-jre8-standalone (Maven): before 2.35.1
- wiremock (PyPI): before 2.6.1
- wiremock python_wiremock: before 2.6.1
- wiremock studio: up to 2.32.0-17
- wiremock wiremock_docker: from 2.0.0 before 2.35.1-1; from 3.0.0 before 3.0.3-1
- wiremock (Bitnami): before 2.35.1; from 3.0.0 before 3.0.3

## Every score

- GitHub_M: CVSS:3.1 3.9 Low `CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:3.1 3.9 Low `CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:L`
- NVD: CVSS:3.1 6.6 Medium `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 3.9 Low `CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:L`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/wiremock/wiremock/security/advisories/GHSA-pmxq-pj47-j8j4> (advisory, vendor-advisory, web)
- <https://wiremock.org/docs/configuration/#preventing-proxying-to-and-recording-from-specific-target-addresses> (product, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-41329> (advisory, web)
- <https://github.com/wiremock/wiremock> (package)
- <https://pypi.org/project/wiremock> (package)
- <https://github.com/advisories/GHSA-pmxq-pj47-j8j4> (advisory)

## Sources

- CVE List: [CVE-2023-41329](https://www.cve.org/CVERecord?id=CVE-2023-41329), CVE Terms of Use, modified 2024-09-26
- GitHub Advisory Database: [GHSA-pmxq-pj47-j8j4](https://github.com/advisories/GHSA-pmxq-pj47-j8j4), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-41329](https://nvd.nist.gov/vuln/detail/CVE-2023-41329), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-2050](https://osv.dev/vulnerability/PYSEC-2026-2050), CC-BY-4.0, modified 2026-07-07
- Bitnami Vulnerability Database: [BIT-WIREMOCK-2023-41329](https://osv.dev/vulnerability/BIT-WIREMOCK-2023-41329), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2023-41329 · Whole record: https://cve.day/CVE-2023-41329.json · Rebuilt by cve.day 2026-11-25T22:58:27.742Z
