CVEvulnerability

CVE-2022-35260

6.5 MEDIUM Published 2022-12-05 Modified 2026-10-14 Official page ↗
Status
Modified
Published
2022-12-05
Last modified
2026-10-14
Assigner
[email protected]
CVSS 3.1 ([email protected])
6.5 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weaknesses
CWE-125, CWE-787

Description

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.

Affected configurations

• haxx curl (>= 7.84.0 < 7.86.0) • netapp clustered data ontap • netapp h300s firmware • netapp h500s firmware • netapp h700s firmware • netapp h410s firmware • apple macos (< 12.6.3) • splunk universal forwarder (>= 8.2.0 < 8.2.12) • splunk universal forwarder (>= 9.0.0 < 9.0.6) • splunk universal forwarder 9.1.0

Related

Weakness · CWE (2)

  • CWE-125 Out-of-bounds Read weakness
  • CWE-787 Out-of-bounds Write weakness

References