CVE-2017-0904
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…
- 8.1HighCVSS base score
- 2.4%Exploitation in 30 daysEPSS · top 16% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By hackerone
- 12 months later
· 12 months later
Published
- 7 years later
· 7 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | High8.1 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 2.4% · top 16% of all CVEs (10 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.1.
Affected products
jtdowney · private_address_check ruby gem
- affected Versions before 0.4.0
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- RubyGemsprivate_address_checkGHSA-hxhj-hp9m-qwc4 (opens in a new tab)
References
5
- https://hackerone.com/reports/287245 (opens in a new tab)x_refsource_MISCx_transferred
- https://edoverflow.com/2017/ruby-resolv-bug/ (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/jtdowney/private_address_check/issues/1 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://hackerone.com/reports/287835 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/jtdowney/private_address_check/commit/58a0d7fe31de339c0117160567a5b33ad82b46af (opens in a new tab)x_refsource_CONFIRMx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2017-0348 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-hxhj-hp9m-qwc4 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2017-0904)Record last updated .