Security mailing lists by PureSourceCode

CVE-2023-41329

MEDIUM 6.6CVSS 3.1

Domain restrictions bypass via DNS Rebinding in WireMock and WireMock Studio webhooks, proxy and recorder modes

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.

Published
6 Sep 2023
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-290CWE-350
Also known as
BIT-wiremock-2023-41329GHSA-pmxq-pj47-j8j4PYSEC-2026-2050
Sources
NVDJSONOSV GHSA-pmxq-pj47-j8j4JSONOSV PYSEC-2026-2050JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.6 CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
NVD security-advisories@github.com (Secondary) CVSS 3.1 LOW 3.9 CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:L
OSV GitHub CVSS 3.1 LOW 3.9 CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:L
OSV PyPA CVSS 3.1 LOW 3.9 CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD wiremock python_wiremock
cpe:2.3:a:wiremock:python_wiremock:*:*:*:*:*:*:*:*
< 2.6.1 2.6.1
NVD wiremock studio
cpe:2.3:a:wiremock:studio:*:*:*:*:*:*:*:*
<= 2.32.0-17
NVD wiremock wiremock
cpe:2.3:a:wiremock:wiremock:*:*:*:*:*:*:*:*
< 2.35.1 2.35.1
NVD wiremock wiremock
cpe:2.3:a:wiremock:wiremock:*:*:*:*:*:*:*:*
>= 3.0.0, < 3.0.3 3.0.3
NVD wiremock wiremock_docker
cpe:2.3:a:wiremock:wiremock_docker:*:*:*:*:*:*:*:*
>= 2.0.0, < 2.35.1-1 2.35.1-1
NVD wiremock wiremock_docker
cpe:2.3:a:wiremock:wiremock_docker:*:*:*:*:*:*:*:*
>= 3.0.0, < 3.0.3-1 3.0.3-1
OSV Maven org.wiremock:wiremock-standalone < 3.0.3 3.0.3
OSV Maven org.wiremock:wiremock < 3.0.3 3.0.3
OSV Maven com.github.tomakehurst:wiremock-jre8 < 2.35.1 2.35.1
OSV Maven com.github.tomakehurst:wiremock-jre8-standalone < 2.35.1 2.35.1
OSV PyPI wiremock < 2.6.1 2.6.1

References

History

  • 25 Nov 2026 20:36 UTC · NVD: first stored (published 6 Sep 2023)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 8 Sep 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.