{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2018-3759","id":"CVE-2018-3759","title":"private_address_check contains race condition","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.","descriptionLong":"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.","published":"2018-06-13T15:00:00.000Z","updated":"2026-10-20T10:50:26.702993172Z","reserved":"2017-12-28T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"hackerone","metric":{"version":"3.0","score":3.7,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","rating":"low","source":"NVD"},"metrics":[{"version":"3.0","score":3.7,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","rating":"low","source":"NVD"},{"version":"3.0","score":3.7,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","rating":"low","source":"OSV"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:P/I:N/A:N","rating":"medium","source":"NVD"}],"rating":"low","products":["HackerOne private_address_check ruby gem"],"affectedProducts":[{"vendor":"HackerOne","product":"private_address_check ruby gem","defaultStatus":null,"versions":[{"status":"affected","version":"0.5.0"}],"platforms":[]}],"packages":[{"ecosystem":"RubyGems","name":"private_address_check","purl":"pkg:gem/private_address_check","ranges":["<0.5.0"],"fixed":["0.5.0"],"advisory":"GHSA-2xvj-j3qh-x8c3"}],"cwes":["CWE-362"],"aliases":["GHSA-2xvj-j3qh-x8c3"],"references":[{"url":"https://github.com/jtdowney/private_address_check/commit/4068228187db87fea7577f7020099399772bb147","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-3759","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-2xvj-j3qh-x8c3","tags":["advisory"]},{"url":"https://github.com/jtdowney/private_address_check","tags":["package"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/private_address_check/CVE-2018-3759.yml","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.0068,"epssPercentile":0.53122,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2018-3759","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-3759","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2018-3759","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-2xvj-j3qh-x8c3","ok":true,"note":"GHSA-2xvj-j3qh-x8c3"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2018-3759","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}