VDB
ALPINE-CVE-2022-35260
ALPINE-CVE-2022-35260
PUBLISHED
CVSS 6.5 MEDIUM
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.
Risk Scores
CVSS v3.1
6.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Alpine:v3.20 | curl | 7.19.4-r0, 7.19.6-r0, 7.19.7-r1 |
| Alpine:v3.17 | curl | 0, 7.19.2-r0, 7.19.2-r1 |
| Alpine:v3.21 | curl | 0, 7.85.0-r0, 7.84.0-r2 |
| Alpine:v3.18 | curl | 0, 7.19.2-r0, 7.19.2-r1 |
| Alpine:v3.19 | curl | 7.84.0-r1, 7.19.2-r0, 7.19.2-r1 |
| Alpine:v3.23 | curl | 7.85.0-r0, 7.84.0-r2, 7.84.0-r1 |
| Alpine:v3.22 | curl | 0, 7.19.2-r0, 7.19.2-r1 |
Timeline
- Dec 5, 2022 CVE Published
- Dec 3, 2025 CVE Updated
- Apr 30, 2026 Distribution Patch