CVE-2023-42444

phonenumber panics on parsing crafted RF3966 inputs

State
Published
Severity
8.6 High
Published
Sep 19, 2023
Updated
Sep 24, 2024
Reserved
Sep 8, 2023

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.18.6 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:HGitHub_M

Weaknesses

  • CWE-248 Uncaught Exception
  • CWE-392 Missing Report of Error Condition
  • CWE-1284 Improper Validation of Specified Quantity in Input

Affected Products

ProductVersions
rust-phonenumberwhisperfish
  • < 0.2.5+8.11.3Affected
  • >= 0.3.0, < 0.3.3+8.3.19Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.