CVE-2023-42444CWE-1284CWE-248CWE-392

phonenumber panics on parsing crafted RF3966 inputs

High · published September 19, 2023

CVSS v3.1
8.6
EPSS
1%
Percentile
58.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.6 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00867 · 58.3th percentile
Weaknesses
CWE-1284 · Improper Validation of Specified Quantity in Input; CWE-248 · Uncaught Exception; CWE-392 · Missing Report of Error Condition
Published
2023-09-19T14:47Z
EPSS history
Timeline
  • 19 SEP 14:47Z
    phonenumber panics on parsing crafted RF3966 inputs
    cvelistv5