private_address_check contains race condition
The 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.
01
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2018-3759US | low3.7 | — | ||
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 w… | ||||
02
references
External citations — patches, advisories, analysis.
- https://github.com/advisories/GHSA-2xvj-j3qh-x8c3ADVISORY
- https://github.com/jtdowney/private_address_checkPACKAGE
- https://github.com/jtdowney/private_address_check/commit/4068228187db87fea7577f7020099399772bb147WEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/private_address_check/CVE-2018-3759.ymlWEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-3759ADVISORY
scry
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan