{"cve":"CVE-2017-0904","nvd":{"published":"2017-11-13T17:29:00.347","modified":"2026-06-17T00:58:30.080","status":"Modified","description":"The private_address_check ruby gem before 0.4.0 is vulnerable to a bypass due to use of Ruby's Resolv.getaddresses method, which is OS-dependent and should not be relied upon for security measures, such as when used to blacklist private network addresses to prevent server-side request forgery.","cvss_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1},"cwes":["CWE-755","CWE-242"],"references":["https://edoverflow.com/2017/ruby-resolv-bug/","https://github.com/jtdowney/private_address_check/commit/58a0d7fe31de339c0117160567a5b33ad82b46af","https://github.com/jtdowney/private_address_check/issues/1","https://hackerone.com/reports/287245","https://hackerone.com/reports/287835"],"products":["private_address_check_project:private_address_check"],"source":"nvd","synced_at":"2026-10-19T20:47:01.408438353+00:00"},"epss":{"cve":"CVE-2017-0904","score":0.02415,"percentile":0.84142,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-hxhj-hp9m-qwc4","url":"https://osv.dev/vulnerability/GHSA-hxhj-hp9m-qwc4","summary":"private_address_check vulnerable to bypass of Resolv.getaddresses method","modified":"2024-11-30T05:29:47.397724Z","packages":[{"ecosystem":"RubyGems","name":"private_address_check","purl":"pkg:gem/private_address_check","ranges":["<0.4.0"],"fixed":["0.4.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."]}