cve.bz

CVE-2024-39697 whisperfish rust-phonenumber: Improper Access Control

8.6 highEPSS 0.7%Fix available

High (8.6) in whisperfish rust-phonenumber. EPSS 0.7% estimated probability of exploitation activity in the next 30 days. Fixed in phonenumber 0.3.6.

On this page
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.

Severity

CVSS 3.1

8.6 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H
EPSS
0.7% (unchanged from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 54th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2024-07-15. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-284 Improper Access Control
CWE-392 Missing Report of Error Condition
CWE-617 Reachable Assertion
CWE-1284 Improper Validation of Specified Quantity in Input
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • phonenumber (crates.io): fixed in 0.3.6

Ask an AI about this CVE

Show the promptExplain CVE-2024-39697 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-39697?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-39697?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-39697 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
whisperfish rust-phonenumber>= 0.3.4, < 0.3.6

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-mjw4-jj88-v687crates.iophonenumber>=0.3.4 <0.3.60.3.6
RUSTSEC-2024-0369crates.iophonenumber>=0.3.3 <0.3.60.3.6

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-284 (17).

References

Check your stackJSON