High severity · published Nov 13, 2017
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 OS-dependent and should not be relied upon for…
8.1
CVSS
2.4%
EPSS
No
On KEV
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 vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
High
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)2.4% · higher than 84% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PA
Private Address Check · Private Address Check Project
before 0.4.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2017-0904
CVE.org
https://www.cve.org/CVERecord?id=CVE-2017-0904
Issue Tracking
https://edoverflow.com/2017/ruby-resolv-bug/
Third Party Advisory
https://github.com/jtdowney/private_address_check/commit/58a0d7fe31de339c0117160567a5b33ad82b46af
Issue Tracking
https://github.com/jtdowney/private_address_check/issues/1
Issue Tracking
https://hackerone.com/reports/287245
Permissions Required
https://hackerone.com/reports/287835
More from Private Address Check
9.8
CVE-2017-0909
The private_address_check ruby gem before 0.4.1 is vulnerable to a bypass due to an incomplete blacklist of common private/local network addresses used to prevent server-side…
3.7
CVE-2018-3759
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
