CVE-2023-41329

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-41329
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-41329.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-41329
Aliases
Published
2023-09-06T21:15:14Z
Modified
2024-09-03T04:33:40.369607Z
Severity
  • 6.6 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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

Affected packages

Git / github.com/tomakehurst/wiremock

Affected ranges

Type
GIT
Repo
https://github.com/tomakehurst/wiremock
Events
Type
GIT
Repo
https://github.com/wiremock/python-wiremock
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Type
GIT
Repo
https://github.com/wiremock/wiremock
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Type
GIT
Repo
https://github.com/wiremock/wiremock-docker
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

1.*

1.33
1.36
1.37
1.38
1.39
1.40
1.41
1.42
1.43
1.44
1.46
1.47
1.48
1.49
1.50
1.51
1.52
1.52-beta
1.53
1.54
1.55
1.56
1.57
1.58

2.*

2.0.0-beta
2.0.1-beta
2.0.10-beta
2.0.2-beta
2.0.3-beta
2.0.4-beta
2.0.5-beta
2.0.6-beta
2.0.7-beta
2.0.8-beta
2.0.9-beta
2.1.0-beta
2.1.1-beta
2.1.10
2.1.11
2.1.12
2.1.2
2.1.2-rc1
2.1.3-rc2
2.1.4-rc3
2.1.5-rc4
2.1.6
2.1.7
2.1.8
2.1.9
2.10.0
2.10.1
2.11.0
2.12.0
2.13.0
2.14.0
2.15.0
2.16.0
2.17.0
2.18.0
2.19.0
2.2.0
2.2.1
2.2.2
2.20.0
2.21.0
2.22.0
2.23.0
2.23.1
2.23.2
2.24.0
2.24.1
2.25.0
2.25.1
2.26.0
2.26.1
2.26.2
2.26.3
2.27.0
2.27.1
2.27.2
2.28.0
2.28.1
2.29.0
2.29.0-beta
2.29.0-beta2
2.29.1
2.29.1-beta
2.29.1-beta2
2.3.0
2.3.1
2.30.0
2.30.1
2.31.0
2.31.0-beta
2.32.0
2.32.0-1
2.33.0
2.33.1
2.33.1-1
2.33.2
2.34.0
2.35.0
2.35.0-1
2.4.0
2.4.0-alpha
2.4.1
2.5.0
2.5.1
2.6.0
2.6.0-alpha
2.7.0
2.7.1
2.8.0
2.9.0

3.*

3.0.0
3.0.1
3.0.2

release-1.*

release-1.14
release-1.25