VDB
Sign up
HIGH7.5

GHSA-whhr-7f2w-qqj2

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

crates.io/phonenumber
Introduced in: 0Fixed in: 0.2.5

Upgrade phonenumber to 0.2.5 or newer (ecosystem crates.io).

crates.io/phonenumber
Introduced in: 0.3.0Fixed in: 0.3.3

Upgrade phonenumber to 0.3.3 or newer (ecosystem crates.io).

References