Lucene search

K
redhatcveRedhat.comRH:CVE-2021-22925
HistoryJul 21, 2021 - 9:20 a.m.

CVE-2021-22925

2021-07-2109:20:15
redhat.com
access.redhat.com
23

0.003 Low

EPSS

Percentile

69.3%

A flaw was found in the way curl handled telnet protocol option for sending environment variables, which could lead to sending of uninitialized data from a stack-based buffer to the server. This issue leads to potentially revealing sensitive internal information to the server using a clear-text network protocol.

Mitigation

This issue can be avoided by not setting any telnet options for the curl command line tool (using the -t / --telnet-option command line option) or the libcurl library (using the CURLOPT_TELNETOPTIONS option) when telnet protocol is not meant to be used.

If telnet protocol needs to be used with curl / libcurl, along with the NEW_ENV telnet option, ensure that no environment variable set via the NEW_ENV option has the name or value longer than 127 bytes.