Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTJ4dmotajNxaC14OGMz
private_address_check contains race condition
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.
Permalink: https://github.com/advisories/GHSA-2xvj-j3qh-x8c3JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTJ4dmotajNxaC14OGMz
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: over 6 years ago
Updated: about 1 year ago
Identifiers: GHSA-2xvj-j3qh-x8c3, CVE-2018-3759
References:
- https://nvd.nist.gov/vuln/detail/CVE-2018-3759
- https://github.com/jtdowney/private_address_check/commit/4068228187db87fea7577f7020099399772bb147
- https://github.com/advisories/GHSA-2xvj-j3qh-x8c3
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/private_address_check/CVE-2018-3759.yml
Blast Radius: 0.0
Affected Packages
rubygems:private_address_check
Dependent packages: 0Dependent repositories: 434
Downloads: 1,883,992 total
Affected Version Ranges: < 0.5.0
Fixed in: 0.5.0
All affected versions: 0.1.0, 0.2.0, 0.3.0, 0.4.0, 0.4.1
All unaffected versions: 0.5.0