GHSA-whhr-7f2w-qqj2

Suggest an improvement
Source
https://github.com/advisories/GHSA-whhr-7f2w-qqj2
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/09/GHSA-whhr-7f2w-qqj2/GHSA-whhr-7f2w-qqj2.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-whhr-7f2w-qqj2
Aliases
Published
2023-09-21T17:10:57Z
Modified
2024-02-29T21:56:31.009306Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
phonenumber panics on parsing crafted RFC3966 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.

Workarounds

n.a.

References

n.a.

Database specific
{
    "nvd_published_at": "2023-09-19T15:15:56Z",
    "cwe_ids": [
        "CWE-1284",
        "CWE-248",
        "CWE-392"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2023-09-21T17:10:57Z"
}
References

Affected packages

crates.io / phonenumber

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.2.5

crates.io / phonenumber

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.3.0
Fixed
0.3.3