Skip to main content
← All vulnerabilities
CVE-2023-42444RUSTSEC-2023-0082GHSA-WHHR-7F2W-QQJ2

phonenumber panics on parsing crafted RF3966 inputs

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.2.5+8.11.3, 0.3.3+8.3.19, 0.2.5, 0.3.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • whisperfish rust-phonenumber

    fixed in 0.2.5+8.11.3; From 0.3.0 · fixed in 0.3.3+8.3.19

  • phonenumbercrates.io

    From 0.0.0-0 · fixed in 0.2.5; From 0.3.0 · fixed in 0.3.3

  • phonenumbercrates.io

    fixed in 0.2.5

  • phonenumbercrates.io

    From 0.3.0 · fixed in 0.3.3

References 3

GitHub · whisperfish/rust-phonenumber