Back
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…
High8.1EPSS 2.4%
- Published
- Updated
- Reserved
- Assigned by
- hackerone
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.
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 (4 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.1.
Weakness
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)
- 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://trackcve.app/cve/CVE-2017-0904)Record last updated .