Skip to content

← Public intelligence

crates.io package

phonenumber

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

2 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Critical, CVSS 9.2crates.ioPublished

    panic on parsing crafted phonenumber inputs

    CVE-2024-39697 · GHSA-mjw4-jj88-v687

    Affected
    • crates.io phonenumber >= 0.3.4, < 0.3.6
    Fixed in
    0.3.6· Vendor fix available
    Issue
    Impact The phonenumber parsing code may panic due to a reachable assert! guard on the phonenumber string. In a typical deployment of rust-phonenumber, this may get triggered by feeding a maliciously crafted phonenumber, e.g. over the network, specifically strings of the form +dwPAA;phone-context=AA, where the "number" part potentially parses as a number larger than 2^56. Since f69abee1/0.3.4/#52. 0.2.x series is not affected. Patches Upgrade to 0.3.6 or higher. Workarounds n/a References Whereas https://github.com/whisperfish/rust-phonenumber/issues/69 did not provide an example code path, property testing found a few: +dwPAA;phone-context=AA.

    Recommended action: Upgrade to 0.3.6 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  2. High, CVSS 7.5crates.ioPublished

    phonenumber panics on parsing crafted RFC3966 inputs

    CVE-2023-42444 · GHSA-whhr-7f2w-qqj2

    Affected
    • crates.io phonenumber < 0.2.5; >= 0.3.0, < 0.3.3
    Fixed in
    0.3.30.2.5· Vendor fix available
    Issue
    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.

    Recommended action: Upgrade to 0.3.3 or 0.2.5 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →