CVE-2018-3759
mediumpriority · track · 15EPSS 0.007 · 52 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–medium · 3.4–4.3
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
- private address check project private address check< 0.5.0nvdUScpe:2.3:a:private_address_check_project:private_address_check:*:*:*:*:*:*:*:*
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-2xvj-j3qh-x8c3private_address_check contains race condition2018-07-31ghsa · osvUS
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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (3)
External citations — patches, advisories, analysis.
- https://github.com/jtdowney/private_address_check/commit/4068228187db87fea7577f7020099399772bb147cnnvd
- https://github.com/jtdowney/private_address_check/commit/4068228187db87fea7577f7020099399772bb147enisa_euvd
- https://github.com/jtdowney/private_address_check/commit/4068228187db87fea7577f7020099399772bb147PatchThird Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan