GHSA-2xvj-j3qh-x8c3

    Dashboard / Vulnerabilities / GHSA-2xvj-j3qh-x8c3

    GHSA-2xvj-j3qh-x8c3

    Published: 31 Jul 2018Last Modified: 29 Nov 2024
    Aliases:

    Summary: private_address_check contains race condition

    Details: The private_address_check 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.

    Affected packages

    Package

    Name: private_address_check

    Purl: pkg:gem/private_address_check

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -0.5.0

    Affected versions

    0.1.0

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High