Lucene search

K
cvelistHackeroneCVELIST:CVE-2021-22925
HistoryAug 05, 2021 - 12:00 a.m.

CVE-2021-22925

2021-08-0500:00:00
CWE-200
hackerone
www.cve.org
8
curl
command line
option parser
stack-based buffer
uninitialized data
network protocol
vulnerability

AI Score

6.5

Confidence

High

EPSS

0.004

Percentile

74.4%

curl supports the -t command line option, known as CURLOPT_TELNETOPTIONSin 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.

CNA Affected

[
  {
    "vendor": "n/a",
    "product": "https://github.com/curl/curl",
    "versions": [
      {
        "version": "curl 7.7 to and including 7.77.0",
        "status": "affected"
      }
    ]
  }
]