{"id":"CVE-2023-42444","summary":"phonenumber panics on parsing crafted RF3966 inputs","details":"phonenumber is a library for parsing, formatting and validating international phone numbers. Prior to versions `0.3.3+8.13.9` and `0.2.5+8.11.3`, 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 over the network, specifically the string `.;phone-context=`. Versions `0.3.3+8.13.9` and `0.2.5+8.11.3` contain a patch for this issue. There are no known workarounds.","aliases":["GHSA-whhr-7f2w-qqj2","RUSTSEC-2023-0082"],"modified":"2026-10-28T02:30:48.132670647Z","published":"2023-09-19T14:47:22.026Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-1284","CWE-248","CWE-392"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/42xxx/CVE-2023-42444.json","unresolved_ranges":[{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion","range":[{"introduced":"\u003e= 0.3.0, \u003c 0.3.3+8.3.19"},{"last_affected":"\u003e= 0.3.0, \u003c 0.3.3+8.3.19"}]}]}]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/42xxx/CVE-2023-42444.json"},{"type":"ADVISORY","url":"https://github.com/whisperfish/rust-phonenumber/security/advisories/GHSA-whhr-7f2w-qqj2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-42444"},{"type":"FIX","url":"https://github.com/whisperfish/rust-phonenumber/commit/2dd44be94539c051b4dee55d1d9d349bd7bedde6"},{"type":"FIX","url":"https://github.com/whisperfish/rust-phonenumber/commit/bea8e732b9cada617ede5cf51663dba183747f71"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/whisperfish/rust-phonenumber","events":[{"introduced":"723525bd6654abcd658b8a749882f47e34a3cc26"},{"fixed":"2dd44be94539c051b4dee55d1d9d349bd7bedde6"},{"fixed":"bea8e732b9cada617ede5cf51663dba183747f71"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"\u003c 0.2.5+8.11.3"},{"last_affected":"\u003c 0.2.5+8.11.3"}],"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion"},{"range":[{"fixed":"2dd44be94539c051b4dee55d1d9d349bd7bedde6"}],"source":"REFERENCES_COMMIT"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"bea8e732b9cada617ede5cf51663dba183747f71"}]}]}}],"versions":["\u003c 0.2.5+8.11.3"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-42444.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H"}]}