CVE-2017-0904

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.

Categories

8.1
CVSS
Severity: High
CVSS 3.0 •
CVSS 2.0 •
EPSS 0.91% Top 30%
Third-Party Advisory edoverflow.com Third-Party Advisory github.com Third-Party Advisory github.com Third-Party Advisory hackerone.com Third-Party Advisory hackerone.com
Affected: jtdowney private_address_check ruby gem
Published at:
Updated at:

References

Link Tags
https://hackerone.com/reports/287245 issue tracking patch mitigation third party advisory
https://edoverflow.com/2017/ruby-resolv-bug/ issue tracking third party advisory
https://github.com/jtdowney/private_address_check/issues/1 issue tracking third party advisory
https://hackerone.com/reports/287835 third party advisory permissions required
https://github.com/jtdowney/private_address_check/commit/58a0d7fe31de339c0117160567a5b33ad82b46af third party advisory

Frequently Asked Questions

What is the severity of CVE-2017-0904?
CVE-2017-0904 has been scored as a high severity vulnerability.
How to fix CVE-2017-0904?
To fix CVE-2017-0904, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2017-0904 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2017-0904 is being actively exploited. According to its EPSS score, there is a ~1% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2017-0904?
CVE-2017-0904 affects jtdowney private_address_check ruby gem.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.