Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS13aGhyLTdmMnctcXFqMs4AA1_0

phonenumber panics on parsing crafted RFC3966 inputs

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.

Permalink: https://github.com/advisories/GHSA-whhr-7f2w-qqj2
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS13aGhyLTdmMnctcXFqMs4AA1_0
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: 8 months ago
Updated: 6 months ago


CVSS Score: 7.5
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Identifiers: GHSA-whhr-7f2w-qqj2, CVE-2023-42444
References: Repository: https://github.com/whisperfish/rust-phonenumber
Blast Radius: 12.5

Affected Packages

cargo:phonenumber
Dependent packages: 18
Dependent repositories: 47
Downloads: 1,861,638 total
Affected Version Ranges: >= 0.3.0, < 0.3.3, < 0.2.5
Fixed in: 0.3.3, 0.2.5
All affected versions: 0.1.0, 0.2.0, 0.2.1, 0.2.3, 0.2.4, 0.3.0, 0.3.1, 0.3.2
All unaffected versions: 0.2.5, 0.3.3, 0.3.4