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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: hackerone

Published: 2022-12-05T00:00:00

Updated: 2024-08-03T09:29:17.464Z

Reserved: 2022-07-06T00:00:00

Link: CVE-2022-35260

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2022-12-05T22:15:10.743

Modified: 2024-03-27T15:00:15.383

Link: CVE-2022-35260

cve-icon Redhat

Severity : Low

Publid Date: 2022-10-26T00:00:00Z

Links: CVE-2022-35260 - Bugzilla