{"cve":"CVE-2018-3759","nvd":{"published":"2018-06-13T15:29:00.267","modified":"2026-06-17T01:57:46.987","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","score":3.7},"cwes":["CWE-362"],"references":["https://github.com/jtdowney/private_address_check/commit/4068228187db87fea7577f7020099399772bb147","https://github.com/jtdowney/private_address_check/commit/4068228187db87fea7577f7020099399772bb147"],"products":["private_address_check_project:private_address_check"],"source":"nvd","synced_at":"2026-10-19T20:51:47.459859389+00:00"},"epss":{"cve":"CVE-2018-3759","score":0.0068,"percentile":0.5241,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-2xvj-j3qh-x8c3","url":"https://osv.dev/vulnerability/GHSA-2xvj-j3qh-x8c3","summary":"private_address_check contains race condition","modified":"2024-11-29T05:42:10.115216Z","packages":[{"ecosystem":"RubyGems","name":"private_address_check","purl":"pkg:gem/private_address_check","ranges":["<0.5.0"],"fixed":["0.5.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}