CVE-2017-0904
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
13/11/2017
Last modified:
20/04/2025
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.
Impact
Base Score 3.x
8.10
Severity 3.x
HIGH
Base Score 2.0
6.80
Severity 2.0
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:private_address_check_project:private_address_check:*:*:*:*:*:ruby:*:* | 0.4.0 (excluding) |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://edoverflow.com/2017/ruby-resolv-bug/
- https://github.com/jtdowney/private_address_check/commit/58a0d7fe31de339c0117160567a5b33ad82b46af
- https://github.com/jtdowney/private_address_check/issues/1
- https://hackerone.com/reports/287245
- https://hackerone.com/reports/287835
- https://edoverflow.com/2017/ruby-resolv-bug/
- https://github.com/jtdowney/private_address_check/commit/58a0d7fe31de339c0117160567a5b33ad82b46af
- https://github.com/jtdowney/private_address_check/issues/1
- https://hackerone.com/reports/287245
- https://hackerone.com/reports/287835



