{"id":"CVE-2018-3759","details":"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.","aliases":["GHSA-2xvj-j3qh-x8c3"],"modified":"2026-07-08T16:40:55.374785Z","published":"2018-06-13T15:29:00.267Z","references":[{"type":"FIX","url":"https://github.com/jtdowney/private_address_check/commit/4068228187db87fea7577f7020099399772bb147"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/jtdowney/private_address_check","events":[{"introduced":"0"},{"fixed":"0498dcf8e0705c45b1f888e24be59939e5aecbcb"},{"fixed":"4068228187db87fea7577f7020099399772bb147"}],"database_specific":{"source":["CPE_RANGE","REFERENCES"],"extracted_events":[{"introduced":"0"},{"fixed":"0.5.0"}],"cpe":"cpe:2.3:a:private_address_check_project:private_address_check:*:*:*:*:*:ruby:*:*"}}],"versions":["v0.4.1","v0.4.0","v0.3.0","v0.2.0","v0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-3759.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N"}]}