Vulnerability · Published Jul 9, 2024 · Assigned by GitHub_M

CVE-2024-39697phonenumber panics on parsing crafted phonenumber inputs

High 8.6

In plain English

A high-severity improper access control 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.7% (higher than 54% of all known vulnerabilities).

Severity (CVSS 3.1)8.6High
Exploit odds (30 days)0.7%top 46.3% 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. Since 0.3.4, 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, e.g. over the network, specifically strings of the form `+dwPAA;phone-context=AA`, where the "number" part potentially parses as a number larger than 2^56. This vulnerability is fixed in 0.3.6.

Affected products (as reported)

VendorProductVersions
whisperfish rust-phonenumber >= 0.3.4, < 0.3.6

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

References