CVE-2017-0904
Private Address Check Project Private Address Check vulnerability
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.
Affected products
Private Address Check. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Private Address Check Project Private Address Check runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- hackerone.com/reports/287245 · Mitigation
- edoverflow.com/2017/ruby-resolv-bug/ · Third Party Advisory
- github.com/jtdowney/private_address_check/commit/58a0d7fe31de339c0117160567a5b33ad82b46af · Third Party Advisory
- github.com/jtdowney/private_address_check/issues/1 · Third Party Advisory
- hackerone.com/reports/287835 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2017-0904
- cve.org/CVERecord?id=CVE-2017-0904
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.