Lucene search

K
vulnrichmentGitHub_MVULNRICHMENT:CVE-2024-39697
HistoryJul 09, 2024 - 2:16 p.m.

CVE-2024-39697 phonenumber panics on parsing crafted phonenumber inputs

2024-07-0914:16:38
CWE-1284
CWE-392
CWE-284
CWE-617
GitHub_M
github.com
3
phonenumber library parsing
crafted input
international phone numbers
out-of-bounds access
rust-phonenumber
network input
vulnerability fix
0.3.6

CVSS3

8.6

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H

AI Score

6.9

Confidence

Low

SSVC

Exploitation

none

Automatable

yes

Technical Impact

partial

phonenumber is a library for parsing, formatting and validating international phone numbers. Since 0.3.4, 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, 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. This vulnerability is fixed in 0.3.6.

ADP Affected

[
  {
    "cpes": [
      "cpe:2.3:a:whisperfish:phonenumber:*:*:*:*:*:rust:*:*"
    ],
    "vendor": "whisperfish",
    "product": "phonenumber",
    "versions": [
      {
        "status": "affected",
        "version": "0.3.4",
        "lessThan": "0.3.6",
        "versionType": "custom"
      }
    ],
    "defaultStatus": "unknown"
  }
]

CVSS3

8.6

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H

AI Score

6.9

Confidence

Low

SSVC

Exploitation

none

Automatable

yes

Technical Impact

partial

Related for VULNRICHMENT:CVE-2024-39697