CVE-2023-42444 phonenumber panics on parsing crafted RF3966 inputs
HighCVSS 7.5
EPSS 0.87%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io phonenumber(crates.io) | < 0.2.5 | 0.2.5 |
| crates.io phonenumber(crates.io) | >= 0.3.0, < 0.3.3 | 0.3.3 |
| crates.io phonenumber(crates.io) | >= 0.0.0-0, < 0.2.5 | 0.2.5 |
| whisperfish rust-phonenumber | = < 0.2.5+8.11.3 | No fix listed |
| whisperfish rust-phonenumber | = >= 0.3.0, < 0.3.3+8.3.19 | No fix listed |
| whisperfish phonenumber | < 0.2.5\+8.11.3 | 0.2.5\+8.11.3 |
| whisperfish phonenumber | >= 0.3.0\+8.12.9, < 0.3.3\+8.13.9 | 0.3.3\+8.13.9 |
References
- https://github.com/whisperfish/rust-phonenumber/security/advisories/GHSA-whhr-7f2w-qqj2 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/whisperfish/rust-phonenumber/commit/2dd44be94539c051b4dee55d1d9d349bd7bedde6 patch
- https://github.com/whisperfish/rust-phonenumber/commit/bea8e732b9cada617ede5cf51663dba183747f71 patch
- github.com product
- rustsec.org vendor-advisory
- crates.io product
- cve.mitre.org
- github.com