Uncaught Exception Affecting phonenumber package, versions >=0.3.4 <0.3.6


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (17th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Uncaught Exception vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUST-PHONENUMBER-7438558
  • published10 Jul 2024
  • disclosed9 Jul 2024
  • creditRuben De Smet

Introduced: 9 Jul 2024

CVE-2024-39697  (opens in a new tab)
CWE-248  (opens in a new tab)
First added by Snyk

How to fix?

Upgrade phonenumber to version 0.3.6 or higher.

Overview

phonenumber is a Rust version of libphonenumber.

Affected versions of this package are vulnerable to Uncaught Exception due to a reachable assert! guard on the phonenumber string. An attacker can cause the application to crash by sending specially crafted input.

CVSS Scores

version 4.0
version 3.1