Not rated
CVE-2022-35260 curl can be told to parse a `.netrc` file for credentials
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 products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| https://github.com/curl/curl | Versions not published | |
| SIMATIC S7-1500 CPU 1518-4 PN/DP MFP 3.1 | 3.1.0 → < 3.1.5 | 3.1.5 |
| SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP 3.1 | 3.1.0 → < 3.1.5 | 3.1.5 |
| SIPLUS S7-1500 CPU 1518-4 PN/DP MFP 3.1 | 3.1.0 → < 3.1.5 | 3.1.5 |
References
- hackerone.com hackerone.com
- GLSA-202212-01 security.gentoo.org
- security.netapp.com security.netapp.com
- support.apple.com support.apple.com
- support.apple.com support.apple.com
- 20230123 APPLE-SA-2023-01-23-5 macOS Monterey 12.6.3 seclists.org
- 20230123 APPLE-SA-2023-01-23-4 macOS Ventura 13.2 seclists.org
Timeline
- Published
- Last modified