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.
References (7)
Core 7
Core References
Third Party Advisory vendor-advisory
https://security.gentoo.org/glsa/202212-01
Mailing List, Third Party Advisory mailing-list
http://seclists.org/fulldisclosure/2023/Jan/20
Mailing List, Third Party Advisory mailing-list
http://seclists.org/fulldisclosure/2023/Jan/19
Exploit, Patch, Third Party Advisory
https://hackerone.com/reports/1721098
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
Scores
CVSS v3
6.5
EPSS
0.0024
EPSS Percentile
46.8%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-125
CWE-787
Status
published
Products (9)
apple/macos
< 12.6.3
haxx/curl
7.84.0 - 7.86.0
netapp/clustered_data_ontap
netapp/h300s_firmware
netapp/h410s_firmware
netapp/h500s_firmware
netapp/h700s_firmware
splunk/universal_forwarder
9.1.0
splunk/universal_forwarder
8.2.0 - 8.2.12
Published
Dec 05, 2022
Tracked Since
Feb 18, 2026