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.
Metrics
CVSS 3.0 3.7/10
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| HackerOne | private_address_check ruby gem | 0.5.0 |
References
- https://github.com/jtdowney/private_address_check/commit/4068228187db87fea7577f7020099399772bb147Patch, Third Party Advisory
- https://github.com/jtdowney/private_address_check/commit/4068228187db87fea7577f7020099399772bb147Patch, Third Party Advisory
Timeline
- Published
- Jun 13, 2018
- Last modified
- Jun 17, 2026
- NVD status
- Modified