Skip to content
OpenAdvisories
High CVE-2018-3759 EUVD-2018-0210GHSA-2xvj-j3qh-x8c3

private_address_check contains race condition

Published Jun 13, 2018 · Updated Sep 16, 2024 · Assigned by hackerone

Description

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 products

VendorProductAffectedFixed
HackerOne private_address_check ruby gem 0.5.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems private_address_check < 0.5.0 0.5.0 GHSA-2xvj-j3qh-x8c3

References