High severityNVD Advisory· Published Sep 19, 2023· Updated Sep 24, 2024
phonenumber panics on parsing crafted RF3966 inputs
CVE-2023-42444
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
phonenumbercrates.io | < 0.2.5 | 0.2.5 |
phonenumbercrates.io | >= 0.3.0, < 0.3.3 | 0.3.3 |
Affected products
2- Range: < 0.2.5+8.11.3
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-whhr-7f2w-qqj2ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2023-42444ghsaADVISORY
- github.com/whisperfish/rust-phonenumber/commit/2dd44be94539c051b4dee55d1d9d349bd7bedde6ghsax_refsource_MISCWEB
- github.com/whisperfish/rust-phonenumber/commit/bea8e732b9cada617ede5cf51663dba183747f71ghsax_refsource_MISCWEB
- github.com/whisperfish/rust-phonenumber/security/advisories/GHSA-whhr-7f2w-qqj2ghsax_refsource_CONFIRMWEB
- rustsec.org/advisories/RUSTSEC-2023-0082.htmlghsaWEB
News mentions
0No linked articles in our index yet.