CVE-2024-39697 — phonenumber is a library for parsing, formatting and validating international ph
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 trigge
CWE
CWE-284, CWE-392, CWE-1284, CWE-617
Published
2024-07-09T14:16:38.493Z
Last modified
2024-08-02T04:26:16.016Z
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H
01What is this vulnerability?
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…
02Affected products
| Vendor | Product | Versions |
|---|
| whisperfish | rust | phonenumber — >= 0.3.4, < 0.3.6 |
03Active exploitation status
Not currently listed on the CISA Known Exploited Vulnerabilities (KEV) catalog. EPSS is the best forward-looking signal — see the EPSS row above.
04Recommended remediation
- Patch to a fixed version listed in the vendor advisory (see references below).
- Mitigate with WAF rules, network egress filters, or feature flags where the patch is not yet available.
- Hunt historical logs for exploitation indicators — see Detection signatures below.
05Technical details
For the full vendor write-up, exploit chains, and reference implementations, see the references list in section 09.
06Detection signatures
Open the Sigma generator with a pre-filled prompt for this CVE to draft a starting detection in your stack of choice:
Open in Sigma generator →
07Related CVEs
No directly-cited follow-up CVEs in the KB record for this advisory. The references list in section 09 carries the vendor cross-references.
08Timeline
- Published: 2024-07-09T14:16:38.493Z
- Last modified: 2024-08-02T04:26:16.016Z
09References
- github.com — https://github.com/whisperfish/rust-phonenumber/security/advisories/GHSA-mjw4-jj…
- github.com — https://github.com/whisperfish/rust-phonenumber/issues/69
- github.com — https://github.com/whisperfish/rust-phonenumber/pull/52
- github.com — https://github.com/whisperfish/rust-phonenumber/commit/b792151b17fc90231c232a239…
- github.com — https://github.com/whisperfish/rust-phonenumber/commit/f69abee1481fac0d6d531407b…
Want this in your SOAR or SIEM?
SARA's API returns EPSS, CVSS, KEV, and an analyst-grade summary in one call.
Read the API reference →