mirror of
https://github.com/OMGeeky/advisory-db.git
synced 2026-01-06 11:39:45 +01:00
rust-phonenumber panic-on-parse (#1785)
This commit is contained in:
29
crates/phonenumber/RUSTSEC-0000-0000.md
Normal file
29
crates/phonenumber/RUSTSEC-0000-0000.md
Normal file
@@ -0,0 +1,29 @@
|
||||
```toml
|
||||
[advisory]
|
||||
id = "RUSTSEC-0000-0000"
|
||||
|
||||
package = "phonenumber"
|
||||
date = "2023-09-19"
|
||||
url = "https://github.com/whisperfish/rust-phonenumber/security/advisories/GHSA-whhr-7f2w-qqj2"
|
||||
references = ["https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-42444"]
|
||||
categories = ["denial-of-service"]
|
||||
cvss = "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H"
|
||||
keywords = ["panic", "untrusted input", "parsing"]
|
||||
aliases = ["CVE-2023-42444", "whhr-7f2w-qqj2"]
|
||||
|
||||
[affected]
|
||||
functions = { "phonenumber::parse" = ["*"] }
|
||||
|
||||
[versions]
|
||||
patched = [">= 0.2.5, <0.3.0", ">=0.3.3"]
|
||||
```
|
||||
|
||||
# phonenumber: panic on parsing crafted RF3966 phonenumber 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`.
|
||||
Reference in New Issue
Block a user