Low
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2018-3759
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 10:30 UTC · Revision 1
Source evidence
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.
osv:CVE-2018-3759
Complete source record
{
"id": "d6d44c06e38a73eea4fe88bfab660c15ae5e2691b5212b5c6bab8b7fa3d483ad",
"url": "https://osv.dev/vulnerability/CVE-2018-3759",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2018-3759",
"summary": "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.",
"evidence": "osv:CVE-2018-3759",
"products": [],
"severity": "low",
"structured": {
"id": "CVE-2018-3759",
"aliases": [
"CVE-2018-3759",
"GHSA-2xvj-j3qh-x8c3"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/jtdowney/private_address_check",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "0498dcf8e0705c45b1f888e24be59939e5aecbcb"
},
{
"fixed": "4068228187db87fea7577f7020099399772bb147"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:private_address_check_project:private_address_check:*:*:*:*:*:ruby:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.5.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "4068228187db87fea7577f7020099399772bb147"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"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"
}
}
],
"modified": "2026-10-20T10:50:26.702993172Z",
"provider": "osv",
"references": [
"https://github.com/jtdowney/private_address_check/commit/4068228187db87fea7577f7020099399772bb147"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2018-3759",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 381717,
"published_at": "2018-06-13T15:29:00.267+00:00"
}