CVE-2022-35260

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-35260
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-35260.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-35260
Aliases
Downstream
Related
Published
2022-12-05T22:15:10Z
Modified
2025-10-21T07:08:12.915864Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/curl/curl

Affected ranges

Type
GIT
Repo
https://github.com/curl/curl
Events

Affected versions

Other

curl-7_84_0
curl-7_85_0