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 security measures, such as when used to blacklist private network…
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (2.42%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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 3.0
- 8.1 HIGHCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 2.42% probability · 83th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-242, CWE-755
- Affected
- private address check project/private address check
- Source
- support@hackerone.com
References
- https://edoverflow.com/2017/ruby-resolv-bug/Issue Tracking, Third Party Advisory
- https://github.com/jtdowney/private_address_check/commit/58a0d7fe31de339c0117160567a5b33ad82b46afThird Party Advisory
- https://github.com/jtdowney/private_address_check/issues/1Issue Tracking, Third Party Advisory
- https://hackerone.com/reports/287245Issue Tracking, Mitigation, Patch, Third Party Advisory
- https://hackerone.com/reports/287835Permissions Required, Third Party Advisory
- https://edoverflow.com/2017/ruby-resolv-bug/Issue Tracking, Third Party Advisory
- https://github.com/jtdowney/private_address_check/commit/58a0d7fe31de339c0117160567a5b33ad82b46afThird Party Advisory
- https://github.com/jtdowney/private_address_check/issues/1Issue Tracking, Third Party Advisory
- https://hackerone.com/reports/287245Issue Tracking, Mitigation, Patch, Third Party Advisory
- https://hackerone.com/reports/287835Permissions Required, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.