{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-39697","id":"CVE-2024-39697","title":"phonenumber panics on parsing crafted phonenumber inputs","description":"phonenumber is a library for parsing, formatting and validating international phone numbers. Since 0.3.4, the phonenumber parsing code may panic due to a panic-guarded out-of-bounds access on the phonenumber string. In a typical deployment of rust-phonenumber, this may get triggered by feeding a maliciously crafted phonenumber, e.g. over the network, specifically strings of the form `+dwPAA;phone-","descriptionLong":"phonenumber is a library for parsing, formatting and validating international phone numbers. Since 0.3.4, the phonenumber parsing code may panic due to a panic-guarded out-of-bounds access on the phonenumber string. In a typical deployment of rust-phonenumber, this may get triggered by feeding a maliciously crafted phonenumber, e.g. over the network, specifically strings of the form `+dwPAA;phone-context=AA`, where the \"number\" part potentially parses as a number larger than 2^56. This vulnerability is fixed in 0.3.6.","published":"2024-07-09T14:16:38.493Z","updated":"2026-10-28T02:31:13.516319671Z","reserved":"2024-06-27T18:44:13.037Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":8.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H","rating":"high","source":"GitHub_M"},"metrics":[{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H","rating":"high","source":"GitHub"},{"version":"3.1","score":8.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H","rating":"high","source":"GitHub_M"},{"version":"3.1","score":8.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H","rating":"high","source":"github.com"},{"version":"3.1","score":8.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":8.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["whisperfish rust-phonenumber"],"affectedProducts":[{"vendor":"whisperfish","product":"rust-phonenumber","defaultStatus":null,"versions":[{"version":">= 0.3.4, < 0.3.6","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"crates.io","name":"phonenumber","purl":"pkg:cargo/phonenumber","ranges":[">=0.3.4 <0.3.6",">=0.3.3 <0.3.6"],"fixed":["0.3.6"],"advisory":"GHSA-mjw4-jj88-v687"}],"cwes":["CWE-284","CWE-392","CWE-1284","CWE-617","CWE-248"],"aliases":["GHSA-mjw4-jj88-v687","RUSTSEC-2024-0369"],"references":[{"url":"https://github.com/whisperfish/rust-phonenumber/security/advisories/GHSA-mjw4-jj88-v687","tags":["x_refsource_CONFIRM","x_transferred","advisory","web"]},{"url":"https://github.com/whisperfish/rust-phonenumber/issues/69","tags":["x_refsource_MISC","x_transferred","report","web"]},{"url":"https://github.com/whisperfish/rust-phonenumber/pull/52","tags":["x_refsource_MISC","x_transferred","fix","web"]},{"url":"https://github.com/whisperfish/rust-phonenumber/commit/b792151b17fc90231c232a23935830c2266f3203","tags":["x_refsource_MISC","x_transferred","fix","web"]},{"url":"https://github.com/whisperfish/rust-phonenumber/commit/f69abee1481fac0d6d531407bae90020e39c6407","tags":["x_refsource_MISC","x_transferred","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/39xxx/CVE-2024-39697.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-39697","tags":["advisory"]},{"url":"https://github.com/whisperfish/rust-phonenumber","tags":["package"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2024-0369.html","tags":["web","advisory"]},{"url":"https://crates.io/crates/phonenumber","tags":["package"]},{"url":"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-39697","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.00711,"epssPercentile":0.54254,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-39697","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-39697","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-39697","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-mjw4-jj88-v687","ok":true,"note":"GHSA-mjw4-jj88-v687"},{"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-2024-39697","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}