Vulnerabilities > CVE-2017-0904 - Improper Handling of Exceptional Conditions vulnerability in Private Address Check Project Private Address Check 0.1.0/0.2.0/0.3.0
Attack vector
NETWORK Attack complexity
HIGH Privileges required
NONE Confidentiality impact
HIGH Integrity impact
HIGH Availability impact
HIGH Summary
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.
Vulnerable Configurations
Part | Description | Count |
---|---|---|
Application | 3 |
Common Weakness Enumeration (CWE)
References
- https://edoverflow.com/2017/ruby-resolv-bug/
- https://edoverflow.com/2017/ruby-resolv-bug/
- https://github.com/jtdowney/private_address_check/commit/58a0d7fe31de339c0117160567a5b33ad82b46af
- https://github.com/jtdowney/private_address_check/commit/58a0d7fe31de339c0117160567a5b33ad82b46af
- https://github.com/jtdowney/private_address_check/issues/1
- https://github.com/jtdowney/private_address_check/issues/1
- https://hackerone.com/reports/287245
- https://hackerone.com/reports/287245
- https://hackerone.com/reports/287835
- https://hackerone.com/reports/287835