private_address_check ruby gem before 0.5.0 is vulnerable to a time-of-check time-of-use (TOCTOU) race condition due to the address the socket uses not being checked. DNS entries with a TTL of 0 can trigger this case where the initial resolution is a public address but the subsequent resolution is a private address.
References
Link | Resource |
---|---|
https://github.com/jtdowney/private_address_check/commit/4068228187db87fea7577f7020099399772bb147 | Patch Third Party Advisory |
https://github.com/jtdowney/private_address_check/commit/4068228187db87fea7577f7020099399772bb147 | Patch Third Party Advisory |
Configurations
Configuration 1 (hide)
|
History
21 Nov 2024, 04:06
Type | Values Removed | Values Added |
---|---|---|
References | () https://github.com/jtdowney/private_address_check/commit/4068228187db87fea7577f7020099399772bb147 - Patch, Third Party Advisory |
Information
Published : 2018-06-13 15:29
Updated : 2024-11-21 04:06
NVD link : CVE-2018-3759
Mitre link : CVE-2018-3759
CVE.ORG link : CVE-2018-3759
JSON object : View
Products Affected
private_address_check_project
- private_address_check
CWE
CWE-362
Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')