{"id":"CVE-2018-3759","state":"PUBLISHED","title":"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 w","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.","publishedAt":"2018-06-13T15:00:00.000Z","updatedAt":"2024-09-16T20:26:38.707Z","severity":null,"assigner":"hackerone","products":["HackerOne private_address_check ruby gem"],"affected":[{"vendor":"HackerOne","product":"private_address_check ruby gem","versions":[{"version":"0.5.0","status":"affected"}]}],"references":["https://github.com/jtdowney/private_address_check/commit/4068228187db87fea7577f7020099399772bb147"],"weaknesses":["CWE-362"],"ingestedAt":"2026-10-29T19:44:49.047Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2018/3xxx/CVE-2018-3759.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2018-3759","state":"PUBLISHED","datePublished":"2018-06-13T15:00:00.000Z","dateUpdated":"2024-09-16T20:26:38.707Z","assignerShortName":"hackerone","assignerOrgId":"36234546-b8fa-4601-9d6f-f4e334aa8ea1","dateReserved":"2017-12-28T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"HackerOne","product":"private_address_check ruby gem","versions":[{"version":"0.5.0","status":"affected"}]}],"references":[{"url":"https://github.com/jtdowney/private_address_check/commit/4068228187db87fea7577f7020099399772bb147","tags":["x_refsource_MISC"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-362","description":"Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') (CWE-362)","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"hackerone","dateUpdated":"2018-06-13T14:57:01.000Z","orgId":"36234546-b8fa-4601-9d6f-f4e334aa8ea1"},"datePublic":"2018-05-03T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"support@hackerone.com","DATE_PUBLIC":"2018-05-03T00:00:00","ID":"CVE-2018-3759","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"private_address_check ruby gem","version":{"version_data":[{"version_value":"0.5.0"}]}}]},"vendor_name":"HackerOne"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') (CWE-362)"}]}]},"references":{"reference_data":[{"name":"https://github.com/jtdowney/private_address_check/commit/4068228187db87fea7577f7020099399772bb147","refsource":"MISC","url":"https://github.com/jtdowney/private_address_check/commit/4068228187db87fea7577f7020099399772bb147"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/jtdowney/private_address_check/commit/4068228187db87fea7577f7020099399772bb147","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T04:50:30.727Z"}}]}}}