CVEvulnerability
CVE-2022-35260
6.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2022-12-05
- Last modified
- 2026-10-14
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 6.5 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-125, CWE-787
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.
Affected configurations
• haxx curl (>= 7.84.0 < 7.86.0)
• netapp clustered data ontap
• netapp h300s firmware
• netapp h500s firmware
• netapp h700s firmware
• netapp h410s firmware
• 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
Related
References
- 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
- 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
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-892048.html cert-portal.siemens.com