Out-of-bounds Read in Apple macOS
CVE-2022-35260
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.027, 86.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Apple macOS
- Haxx Curl
- NetApp Clustered Data Ontap
- NetApp H300s Firmware
- NetApp H410s Firmware
- NetApp H500s Firmware
- NetApp H700s Firmware
- Splunk Universal Forwarder — versions 9.1.0
- Https://github.com/curl/curl — versions Fixed in 7.86.0
Weakness classification (CWE)
References
- hackerone.com/reports/1721098 (Exploit, Patch, Third Party Advisory)
- GLSA-202212-01 (vendor-advisory, Third Party Advisory)
- security.netapp.com/advisory/ntap-20230110-0006/ (Third Party Advisory)
- support.apple.com/kb/HT213604 (Third Party Advisory)
- support.apple.com/kb/HT213605 (Third Party Advisory)
- 20230123 APPLE-SA-2023-01-23-5 macOS Monterey 12.6.3 (mailing-list, Mailing List, Third Party Advisory)
- 20230123 APPLE-SA-2023-01-23-4 macOS Ventura 13.2 (mailing-list, Mailing List, Third Party Advisory)
- cert-portal.siemens.com/productcert/html/ssa-398330.html
- cert-portal.siemens.com/productcert/html/ssa-892048.html