CVE-2017-0904

CVSS V2 Medium 6.8 CVSS V3 High 8.1
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.
Overview
  • CVE ID
  • CVE-2017-0904
  • Assigner
  • support@hackerone.com
  • Vulnerability Status
  • Modified
  • Published Version
  • 2017-11-13T17:29:00
  • Last Modified Date
  • 2019-10-09T23:21:10
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
cpe:2.3:a:private_address_check_project:private_address_check:*:*:*:*:*:ruby:*:* 1 OR 0.4.0
CVSS Version 2
  • Version
  • 2.0
  • Vector String
  • AV:N/AC:M/Au:N/C:P/I:P/A:P
  • Access Vector
  • NETWORK
  • Access Compatibility
  • MEDIUM
  • Authentication
  • NONE
  • Confidentiality Impact
  • PARTIAL
  • Integrity Impact
  • PARTIAL
  • Availability Impact
  • PARTIAL
  • Base Score
  • 6.8
  • Severity
  • MEDIUM
  • Exploitability Score
  • 8.6
  • Impact Score
  • 6.4
CVSS Version 3
  • Version
  • 3.0
  • Vector String
  • CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Attack Vector
  • NETWORK
  • Attack Compatibility
  • HIGH
  • Privileges Required
  • NONE
  • User Interaction
  • NONE
  • Scope
  • UNCHANGED
  • Confidentiality Impact
  • HIGH
  • Availability Impact
  • HIGH
  • Base Score
  • 8.1
  • Base Severity
  • HIGH
  • Exploitability Score
  • 2.2
  • Impact Score
  • 5.9
References
Reference URL Reference Tags
https://hackerone.com/reports/287835 Permissions Required Third Party Advisory
https://hackerone.com/reports/287245 Issue Tracking Mitigation Patch Third Party Advisory
https://github.com/jtdowney/private_address_check/issues/1 Issue Tracking Third Party Advisory
https://github.com/jtdowney/private_address_check/commit/58a0d7fe31de339c0117160567a5b33ad82b46af Third Party Advisory
https://edoverflow.com/2017/ruby-resolv-bug/ Issue Tracking Third Party Advisory
History
Created Old Value New Value Data Type Notes
2022-05-10 17:13:19 Added to TrackCVE
2022-12-02 22:58:27 cve-assignments@hackerone.com support@hackerone.com CVE Assigner updated
2022-12-02 22:58:27 2017-11-13T17:29Z 2017-11-13T17:29:00 CVE Published Date updated
2022-12-02 22:58:27 2019-10-09T23:21:10 CVE Modified Date updated
2022-12-02 22:58:27 Modified Vulnerability Status updated