CVE-2021-22925

curl: Incorrect fix for CVE-2021-22898 TELNET stack contents disclosure

Published Aug 5, 2021 CVSS 3.1 · 5.3 Medium EPSS 5.4% KEV · Not listed
Description
curl supports the `-t` command line option, known as `CURLOPT_TELNETOPTIONS`in libcurl. This rarely used option is used to send variable=content pairs toTELNET servers.Due to flaw in the option parser for sending `NEW_ENV` variables, libcurlcould be made to pass on uninitialized data from a stack based buffer to theserver. Therefore potentially revealing sensitive internal information to theserver using a clear-text network protocol.This could happen because curl did not call and use sscanf() correctly whenparsing the string provided by the application.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-5021-1 curl vulnerabilities
Ubuntu USN Ubuntu USN USN-5021-2 curl vulnerability
Ubuntu USN Ubuntu USN USN-5894-1 curl vulnerabilities
History
Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

  • CWE-908

    Use of Uninitialized Resource

Sources

Status
PUBLISHED
Assigner
hackerone
Published
Updated
Oct 14, 2026, 11:08 AM
Reserved
Jan 6, 2021, 12:00 AM
Status
Modified
Published
Aug 5, 2021, 9:15 PM
Modified
Oct 14, 2026, 11:16 AM
Severity
Low
Public date
Jul 21, 2021, 12:00 AM