RUSTSEC-2023-0082

Source
https://rustsec.org/advisories/RUSTSEC-2023-0082
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2023-0082.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2023-0082
Aliases
Published
2023-09-19T12:00:00Z
Modified
2024-02-29T21:56:31.009306Z
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: panic on parsing crafted RF3966 phonenumber inputs
Details

Impact

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 over the network, specifically the string .;phone-context=.

Patches

Patches will be published as version 0.3.3+8.13.9 and backported as 0.2.5+8.11.3.

Database specific
{
    "license": "CC0-1.0"
}
References

Affected packages

crates.io / phonenumber

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0
Fixed
0.2.5
Introduced
0.3.0
Fixed
0.3.3

Ecosystem specific

{
    "affected_functions": null,
    "affects": {
        "os": [],
        "functions": [
            "phonenumber::parse"
        ],
        "arch": []
    }
}

Database specific

{
    "cvss": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H",
    "informational": null,
    "categories": [
        "denial-of-service"
    ]
}