PT-2023-28344 · Unknown · Phonenumber

Sno2

·

Published

2023-09-19

·

Updated

2023-09-22

·

CVE-2023-42444

CVSS v3.1

8.6

High

VectorAV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions phonenumber versions prior to 0.3.3+8.13.9 phonenumber versions prior to 0.2.5+8.11.3
Description 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=.
Recommendations For versions prior to 0.3.3+8.13.9, update to version 0.3.3+8.13.9 to resolve the issue. For versions prior to 0.2.5+8.11.3, update to version 0.2.5+8.11.3 to resolve the issue. As a temporary workaround, consider restricting the input of phone numbers to prevent maliciously crafted strings from being processed. Avoid using the string .;phone-context= in the phonenumber parsing code until the issue is resolved.

Exploit

Fix

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2023-42444
GHSA-WHHR-7F2W-QQJ2
RUSTSEC-2023-0082
WHHR-7F2W-QQJ2

Affected Products

Phonenumber