Skip to content
CVE Tracker
  • Newest CVEsPage
  • Recently added to KEVPage
  • Rising exploitation (EPSS)Page
  • Weekly digestPage
  • StatisticsPage
  • WatchlistPage
  • API documentationPage
  • MCP serverPage
  • Data sourcesPage
  • ChangelogPage
  • AboutPage
  • How it's builtPage
Back

CVE-2023-41329

Domain restrictions bypass via DNS Rebinding in WireMock and WireMock Studio

Low3.9EPSS 0.63%
Published
Updated
Reserved
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.

Scores

CVSS scores of CVE-2023-41329, by who scored it
Scored byCVSSScoreVector
GitHub_MCNA (assigner)3.1Low3.9CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:L
NVDNVD · Modified3.1Medium6.6CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
EPSS (exploitation in 30 days)
0.63% · top 50% of all CVEs (6 Nov 2026)
CISA SSVC
Exploitation: none · Automatable: no · Technical impact: partial
Loading the EPSS history…

The list uses the assigner's score when there is one, then CISA's, then NVD's: Low 3.9.

Weakness

Affected products

  • wiremock · wiremock

    • affected org.wiremock:wiremock: < 3.0.3
    • affected org.wiremock:wiremock-standalone: < 3.0.3
    • affected com.tomakehurst.wiremock:wiremock-jre8: < 2.35.1
    • affected com.tomakehurst.wiremock:wiremock-jre8-standalone: < 2.35.1
    • affected pypi: wiremock: < 2.6.1
    • affected wiremock/wiremock: < 2.35.1-1
    • affected wiremock/wiremock: >= 3.0.0, < 3.0.3-1

Affected packages

From reviewed advisories of the GitHub Advisory Database.

References (2)

Sources

The same CVE in the primary databases and aggregators, to check against.

Badge for a README or a ticket

CVE-2023-41329 badge
[![CVE-2023-41329](https://trackcve.app/badge/CVE-2023-41329.svg)](https://trackcve.app/cve/CVE-2023-41329)

Record last updated .