Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. com.github.tomakehurst/wiremock-jre8-standalone
  4. ›
  5. CVE-2023-41329

CVE-2023-41329: Authentication Bypass by Spoofing

September 6, 2023 (updated September 12, 2023)

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.

References

  • github.com/advisories/GHSA-pmxq-pj47-j8j4
  • github.com/wiremock/wiremock/security/advisories/GHSA-pmxq-pj47-j8j4
  • nvd.nist.gov/vuln/detail/CVE-2023-41329
  • wiremock.org/docs/configuration/

Code Behaviors & Features

Detect and mitigate CVE-2023-41329 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.35.1

Fixed versions

  • 2.35.1

Solution

Upgrade to version 2.35.1 or above.

Impact 6.6 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-290: Authentication Bypass by Spoofing

Source file

maven/com.github.tomakehurst/wiremock-jre8-standalone/CVE-2023-41329.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:57 +0000.