p PatchFirst

CVE-2022-35260

CVE-2022-35260

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 6.5 · Medium · EPSS 2.7% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • https://github.com/curl/curl

    Versions
    • Fixed in 7.86.0: Affected

    No fix published

  • curl Debian:12

    Affected ranges
    • ECOSYSTEM: < 7.86.0-1

    Update to 7.86.0-1

  • curl Debian:13

    Affected ranges
    • ECOSYSTEM: < 7.86.0-1

    Update to 7.86.0-1

  • curl Debian:14

    Affected ranges
    • ECOSYSTEM: < 7.86.0-1

    Update to 7.86.0-1

Original sources

Check your server →