CVE-2024-39697whisperfish rust-phonenumber
High 8.6 No auth needed
Follow: this CVE · whisperfish · whisperfish rust-phonenumber We alert you by email or Slack (account required).
- Priority
- 67
- CVSS 3.1
- 8.6
- EPSS
- 1.1% probability of exploitation in 30 days · percentile 64
- Auth required
- No
- Published
- Jul 9, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for rust-phonenumber.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| crates.io | phonenumber |
≥ 0.3.4 < 0.3.6 |
0.3.6 |
cargo update -p phonenumber --precise 0.3.6 |
| crates.io | phonenumber |
≥ 0.3.3 < 0.3.6 |
0.3.6 |
cargo update -p phonenumber --precise 0.3.6 |
Per OSV / GitHub Advisories (GHSA-mjw4-jj88-v687, RUSTSEC-2024-0369). Check the version in your lockfile before upgrading.
Affected products
- whisperfish · rust-phonenumber
- whisperfish · phonenumber
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.