phonenumber
Affected
- introduced
0, fixed0.2.5(semver)
Fixed versions
0.2.5
Fix
- Fixed version
0.2.5cargo update -p phonenumber --precise 0.2.5
Advisory
Also known as: CVE-2023-42444, RUSTSEC-2023-0082
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.
High Basis: The source's own band: HIGH
0, fixed 0.2.5 (semver)0.2.5
0.2.5cargo update -p phonenumber --precise 0.2.50.3.0, fixed 0.3.3 (semver)0.3.3
0.3.3cargo update -p phonenumber --precise 0.3.3Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0