CVE-2017-0904

Summary

CVECVE-2017-0904
StatePUBLISHED
Assignerhackerone
Source PriorityCVE Program / NVD first with legacy fallback
Published2017-11-13 17:29:00 UTC
Updated2025-04-20 01:37:25 UTC
DescriptionThe 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.

Risk And Classification

Primary CVSS: v3.0 8.1 HIGH from [email protected]

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS: 0.008620000 probability, percentile 0.752310000 (date 2026-05-13)

Problem Types: CWE-242 | CWE-755 | CWE-242 Use of Inherently Dangerous Function (CWE-242)


VersionSourceTypeScoreSeverityVector
3.0[email protected]Primary8.1HIGHCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
2.0[email protected]Primary6.8AV:N/AC:M/Au:N/C:P/I:P/A:P

CVSS v3.0 Breakdown

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Medium
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial

AV:N/AC:M/Au:N/C:P/I:P/A:P

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Private Address Check Project Private Address Check All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Jtdowney Private Address Check Ruby Gem affected Versions before 0.4.0 Not specified

References

ReferenceSourceLinkTags
HackerOne af854a3a-2127-422b-91ae-364da2661108 hackerone.com Permissions Required, Third Party Advisory
Resolv::getaddresses bug allows one to bypass your SSRF filter. · Issue #1 · jtdowney/private_address_check · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com Issue Tracking, Third Party Advisory
HackerOne af854a3a-2127-422b-91ae-364da2661108 hackerone.com Issue Tracking, Mitigation, Patch, Third Party Advisory
Fix bypass bug with malformed addresses · jtdowney/private_address_check@58a0d7f · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com Third Party Advisory
EdOverflow - Bypassing Server-Side Request Forgery filters by abusing a bug in Ruby's native resolver. af854a3a-2127-422b-91ae-364da2661108 edoverflow.com Issue Tracking, Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report