Skip to content

← Public intelligence

RubyGems package

private_address_check

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

3 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. UnratedRubyGemsPublished

    private_address_check contains race condition

    CVE-2018-3759 · GHSA-2xvj-j3qh-x8c3

    Affected
    • RubyGems private_address_check < 0.5.0
    Fixed in
    0.5.0· Vendor fix available
    Issue
    The privateaddresscheck ruby gem before 0.5.0 is vulnerable to a time-of-check time-of-use (TOCTOU) race condition due to the address the socket uses not being checked. DNS entries with a TTL of 0 can trigger this case where the initial resolution is a public address but the subsequent resolution is a private address.

    Recommended action: Upgrade to 0.5.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  2. UnratedRubyGemsPublished

    private_address_check contains Incomplete List of Disallowed Inputs

    CVE-2017-0909 · GHSA-3v3c-r5v2-68ph

    Affected
    • RubyGems private_address_check < 0.4.1
    Fixed in
    0.4.1· Vendor fix available
    Issue
    The privateaddresscheck ruby gem before 0.4.1 is vulnerable to a bypass due to an incomplete blacklist of common private/local network addresses used to prevent server-side request forgery.

    Recommended action: Upgrade to 0.4.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  3. UnratedRubyGemsPublished

    private_address_check vulnerable to bypass of Resolv.getaddresses method

    CVE-2017-0904 · GHSA-hxhj-hp9m-qwc4

    Affected
    • RubyGems private_address_check < 0.4.0
    Fixed in
    0.4.0· Vendor fix available
    Issue
    The privateaddresscheck 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.

    Recommended action: Upgrade to 0.4.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →