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
EPSS: 0.018 (75.7th percentile) — read the EPSS interpretation.
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.
Affected products
Weakness classification (CWE)
References
- support@hackerone.com (Exploit, Patch, Third Party Advisory)
- support@hackerone.com (vendor-advisory, Third Party Advisory)
- support@hackerone.com (Third Party Advisory)
- support@hackerone.com (Third Party Advisory)
- support@hackerone.com (Third Party Advisory)
- support@hackerone.com (mailing-list, Mailing List, Third Party Advisory)
- support@hackerone.com (mailing-list, Mailing List, Third Party Advisory)
Frequently asked questions
- What is CVE-2022-35260?
- CVE-2022-35260 is a medium-severity vulnerability in Apple Macos, classified under Out-of-bounds Read. CVSS score: 6.5/10. Published 2022-12-05.
- How severe is CVE-2022-35260?
- Medium severity. CVSS v3 base score is 6.5 out of 10.