CVE-2018-3759
LOW 3.7CVSS 3.0private_address_check contains race condition
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.
- Published
- 13 Jun 2018
- Last modified
- 17 Jun 2026
- Assigned by
- support@hackerone.com
- NVD status
- Modified
- Weakness
- CWE-362
- Also known as
- GHSA-2xvj-j3qh-x8c3
- Sources
- NVDJSONOSV GHSA-2xvj-j3qh-x8c3JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | LOW 3.7 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | private_address_check_project | private_address_checkcpe:2.3:a:private_address_check_project:private_address_check:*:*:*:*:*:ruby:*:* |
< 0.5.0 | 0.5.0 |
| OSV | RubyGems | private_address_check | < 0.5.0 | 0.5.0 |
References
- https://github.com/jtdowney/private_address_check/commit/4068228187db87fea7577f7020099399772bb147 · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-3759 · ADVISORY
- https://github.com/advisories/GHSA-2xvj-j3qh-x8c3 · ADVISORY
- https://github.com/jtdowney/private_address_check · PACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/private_address_check/CVE-2018-3759.yml · WEB
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 13 Jun 2018)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 31 Jul 2018)