CVEvulnerability
CVE-2018-3759
3.7 LOW
Official page ↗
- Status
- Modified
- Published
- 2018-06-13
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.0 ([email protected])
- 3.7 LOW — CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
- CVSS 2.0 ([email protected])
- 4.3 MEDIUM — AV:N/AC:M/Au:N/C:P/I:N/A:N
- Weaknesses
- CWE-362
Description
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.
Affected configurations
• private address check project private address check (< 0.5.0)
Related
Weakness · CWE (1)
- CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization weakness
References
- 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