phonenumber is a library for parsing, formatting and validating international phone numbers. Prior to versions 0.3.3+8.13.9
and 0.2.5+8.11.3
, 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=
. Versions 0.3.3+8.13.9
and 0.2.5+8.11.3
contain a patch for this issue. There are no known workarounds.
The product receives input that is expected to specify a quantity (such as size or length), but it does not validate or incorrectly validates that the quantity has the required properties.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Phonenumber | Whisperfish | * | 0.2.5+8.11.3 (excluding) |
Phonenumber | Whisperfish | 0.3.0+8.12.9 (including) | 0.3.3+8.13.9 (excluding) |
Specified quantities include size, length, frequency, price, rate, number of operations, time, and others. Code may rely on specified quantities to allocate resources, perform calculations, control iteration, etc. When the quantity is not properly validated, then attackers can specify malicious quantities to cause excessive resource allocation, trigger unexpected failures, enable buffer overflows, etc.