Your submission was sent successfully! Close

You have successfully unsubscribed! Close

CVE-2022-35260

Published: 26 October 2022

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.

Notes

AuthorNote
alexmurray
Affects curl 7.84.0 to and including 7.85.0

Priority

Low

Cvss 3 Severity Score

6.5

Score breakdown

Status

Package Release Status
curl
Launchpad, Ubuntu, Debian
xenial Not vulnerable
(code not present)
trusty Not vulnerable
(code not present)
bionic Not vulnerable
(code not present)
focal Not vulnerable
(code not present)
jammy Not vulnerable
(code not present)
upstream Needs triage

kinetic
Released (7.85.0-1ubuntu0.1)

Severity score breakdown

Parameter Value
Base score 6.5
Attack vector Network
Attack complexity Low
Privileges required None
User interaction Required
Scope Unchanged
Confidentiality None
Integrity impact None
Availability impact High
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H