CVE-2017-0904
Summary
| CVE | CVE-2017-0904 |
|---|---|
| State | PUBLISHED |
| Assigner | hackerone |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2017-11-13 17:29:00 UTC |
| Updated | 2025-04-20 01:37:25 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.0 8.1 HIGH from [email protected]
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS: 0.008620000 probability, percentile 0.752310000 (date 2026-05-13)
Problem Types: CWE-242 | CWE-755 | CWE-242 Use of Inherently Dangerous Function (CWE-242)
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.0 | [email protected] | Primary | 8.1 | HIGH | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| 2.0 | [email protected] | Primary | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
CVSS v3.0 Breakdown
Attack Vector
NetworkAttack Complexity
HighPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v2.0 Breakdown
Access Vector
NetworkAccess Complexity
MediumAuthentication
NoneConfidentiality
PartialIntegrity
PartialAvailability
PartialAV:N/AC:M/Au:N/C:P/I:P/A:P
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Private Address Check Project | Private Address Check | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Jtdowney | Private Address Check Ruby Gem | affected Versions before 0.4.0 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| HackerOne | af854a3a-2127-422b-91ae-364da2661108 | hackerone.com | Permissions Required, Third Party Advisory |
| Resolv::getaddresses bug allows one to bypass your SSRF filter. · Issue #1 · jtdowney/private_address_check · GitHub | af854a3a-2127-422b-91ae-364da2661108 | github.com | Issue Tracking, Third Party Advisory |
| HackerOne | af854a3a-2127-422b-91ae-364da2661108 | hackerone.com | Issue Tracking, Mitigation, Patch, Third Party Advisory |
| Fix bypass bug with malformed addresses · jtdowney/private_address_check@58a0d7f · GitHub | af854a3a-2127-422b-91ae-364da2661108 | github.com | Third Party Advisory |
| EdOverflow - Bypassing Server-Side Request Forgery filters by abusing a bug in Ruby's native resolver. | af854a3a-2127-422b-91ae-364da2661108 | edoverflow.com | Issue Tracking, Third Party Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.