Vulnerability · Published Sep 19, 2023 · Assigned by GitHub_M

CVE-2023-42444phonenumber panics on parsing crafted RF3966 inputs

High 8.6

In plain English

A high-severity security flaw in rust-phonenumber from whisperfish. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 59% of all known vulnerabilities).

Severity (CVSS 3.1)8.6High
Exploit odds (30 days)0.9%top 41.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 (as reported)

VendorProductVersions
whisperfish rust-phonenumber < 0.2.5+8.11.3>= 0.3.0, < 0.3.3+8.3.19

Weakness: CWE-248, CWE-392, CWE-1284 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H

References