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.
References
Link Resource
http://seclists.org/fulldisclosure/2023/Jan/19 Mailing List Third Party Advisory
http://seclists.org/fulldisclosure/2023/Jan/20 Mailing List Third Party Advisory
https://hackerone.com/reports/1721098 Exploit Patch Third Party Advisory
https://security.gentoo.org/glsa/202212-01 Third Party Advisory
https://security.netapp.com/advisory/ntap-20230110-0006/ Third Party Advisory
https://support.apple.com/kb/HT213604 Third Party Advisory
https://support.apple.com/kb/HT213605 Third Party Advisory
History

No history.

cve-icon MITRE Information

Status: PUBLISHED

Assigner: hackerone

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

Updated: 2023-01-24T00:00:00

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


Link: CVE-2022-35260

JSON object: View

cve-icon NVD Information

Status : Analyzed

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

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


Link: CVE-2022-35260

JSON object: View

cve-icon Redhat Information

No data.