LiveActive security incident?Get immediate response
CVE Record

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.getad...

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.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

This affects Ruby applications that used private_address_check before 0.4.0 to block access to private network addresses. The check could be bypassed because it relied on OS-dependent DNS resolution behavior. Business impact depends on where the gem protected outbound URL fetching or SSRF controls.

Executive priority

Prioritize if Ruby services use this gem as an SSRF barrier around sensitive internal systems. Without that usage, urgency is lower, but dependency cleanup should still be scheduled.

Technical view

private_address_check before 0.4.0 used Ruby Resolv.getaddresses for a security decision. The CVE states that method is OS-dependent and should not be relied on to blacklist private network addresses, creating a bypass risk for SSRF prevention logic.

Likely exposure

Exposure is likely limited to Ruby applications with private_address_check versions before 0.4.0, especially where the gem guards user-controlled URL fetching, webhook handling, proxying, or similar outbound request paths.

Exploitation context

The provided sources describe a bypass and public vulnerability reports. The bundle does not identify CISA KEV listing, active exploitation, CVSS scoring, or broad in-the-wild abuse.

Researcher notes

Key issue is unsafe reliance on Resolv.getaddresses for security-sensitive private address decisions. Treat this as a control-bypass finding, not a standalone remote code execution issue. Source evidence does not establish exploit prevalence or severity score.

Mitigation direction

  • Upgrade private_address_check to version 0.4.0 or later.
  • Review Gemfile.lock and deployed artifacts for vulnerable versions.
  • Check upstream project guidance and the referenced fixing commit.
  • Add network egress controls around sensitive internal services.
  • Review SSRF protections that depend on DNS blacklisting.

Validation and detection

  • Confirm no deployed Gemfile.lock references private_address_check below 0.4.0.
  • Identify code paths that validate user-supplied URLs before outbound requests.
  • Perform approved staging tests confirming private address requests are blocked.
  • Verify production builds contain the updated dependency.
  • Review logs for unusual outbound requests to internal address ranges.
Prepared
Confidence
medium
Sources
7

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-242: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Cloud metadata behavior lookup

The CVE wording references SSRF or metadata access, so cloud discovery and credential material review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2017-0904 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
6Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
jtdowneyprivate_address_check ruby gemVersions before 0.4.0Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-242 · source CWE mapping

Use of Inherently Dangerous Function

Use of Inherently Dangerous Function represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.