CVE-2022-35260CWE-125CWE-787

CVE-2022-35260

Medium · published December 6, 2022

CVSS v3.1
6.5
EPSS
3%
Percentile
85.8
In the wild
Unconfirmed
What it is

curl can be told to parse a `.netrc` file for credentials. If that file endsin a line with 4095 consecutive non-white space letters and no newline, curlwould first read past the end of the stack-based buffer, and if the readworks, write a zero byte beyond its boundary.This will in most cases cause a segfault or similar, but circumstances might also cause different outcomes.If a malicious user can provide a custom netrc file to an application or otherwise affect its contents, this flaw could be used as denial-of-service.

The record
Technical detail
CVSS v3.1
6.5 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.02704 · 85.8th percentile
Weaknesses
CWE-125 · Out-of-bounds Read; CWE-787 · Out-of-bounds Write
Published
2022-12-06T03:15Z
Affected products (10)
ProductVersionsFixed in
haxx/curl≥ 7.84.0, < 7.86.07.86.0
netapp/clustered_data_ontapall versions—
netapp/h300s_firmwareall versions—
netapp/h500s_firmwareall versions—
netapp/h700s_firmwareall versions—
netapp/h410s_firmwareall versions—
apple/macos< 12.6.312.6.3
splunk/universal_forwarder≥ 8.2.0, < 8.2.128.2.12
splunk/universal_forwarder≥ 9.0.0, < 9.0.69.0.6
splunk/universal_forwarderall versions—
References (16)
EPSS history
Timeline
  • 05 DEC 00:00Z
    curl can be told to parse a `.netrc` file for credentials
    cvelistv5