VULNERABILITY INTELLIGENCE

CVE-2021-22925

CVSS score5.3 MEDIUM
EPSS probability5.37%
CISA KEVNot currently listed
Published2021-08-05
Last modified2026-10-14
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

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.

Weakness classification

  • support@hackerone.com: CWE-200
  • nvd@nist.gov: CWE-908

Primary references