CVE-2024-39697

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-39697
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-39697.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-39697
Aliases
Published
2024-07-09T14:16:38Z
Modified
2025-11-11T03:03:32.776365Z
Severity
  • 8.6 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H CVSS Calculator
Summary
phonenumber panics on parsing crafted phonenumber inputs
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-1284",
        "CWE-284",
        "CWE-392",
        "CWE-617"
    ]
}
References

Affected packages

Git / github.com/whisperfish/rust-phonenumber

Affected ranges

Type
GIT
Repo
https://github.com/whisperfish/rust-phonenumber
Events

Affected versions

v0.*

v0.3.4+8.13.34
v0.3.5+8.13.36