CVE-2022-35260
Last modified
CVE-2022-35260 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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.. EPSS estimates a 1.76% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Haxx | Curl | >= 7.84.0, < 7.86.0 |
| Netapp | Clustered Data Ontap | All versions |
| Netapp | H300s Firmware | All versions |
| Netapp | H500s Firmware | All versions |
| Netapp | H700s Firmware | All versions |
| Netapp | H410s Firmware | All versions |
| 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 |
References
- http://seclists.org/fulldisclosure/2023/Jan/19Mailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2023/Jan/20Mailing List, Third Party Advisory
- https://hackerone.com/reports/1721098Exploit, Patch, Third Party Advisory
- https://security.gentoo.org/glsa/202212-01Third Party Advisory
- https://security.netapp.com/advisory/ntap-20230110-0006/Third Party Advisory
- https://support.apple.com/kb/HT213604Third Party Advisory
- https://support.apple.com/kb/HT213605Third Party Advisory
- http://seclists.org/fulldisclosure/2023/Jan/19Mailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2023/Jan/20Mailing List, Third Party Advisory
- https://hackerone.com/reports/1721098Exploit, Patch, Third Party Advisory
- https://security.gentoo.org/glsa/202212-01Third Party Advisory
- https://security.netapp.com/advisory/ntap-20230110-0006/Third Party Advisory
- https://support.apple.com/kb/HT213604Third Party Advisory
- https://support.apple.com/kb/HT213605Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-35260?
How severe is CVE-2022-35260?
How do I fix CVE-2022-35260?
Are you affected by CVE-2022-35260?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
