CVE-2021-22898: Infoleak
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.
Other sources
A vulnerability was found in curl where, due to flaw in the option parser for sending NEWENV variables, libcurl could be made to pass on uninitialized data from a stack based buffer to the server. Therefore potentially revealing sensitive internal information to the server using a clear-text network protocol.
— Red Hat
curl 7.7 through 7.76.1 suffers from an information disclosure when the -t command line option, known as CURLOPTTELNETOPTIONS in libcurl, is used to send variable=content pairs to TELNET servers. Due to a flaw in the option parser for sending NEWENV variables, libcurl could be made to pass on uninitialized data from a stack based buffer to the server, resulting in potentially revealing sensitive internal information to the server using a clear-text network protocol.
cURL libcurl could allow a remote attacker to obtain sensitive information, caused by a flaw in the option parser for sending NEWENV variables. By sending a specially-crafted request using a clear-text network protocol, an attacker could exploit this vulnerability to obtain sensitive internal information to the server, and use this information to launch further attacks against the affected system.
— IBM
Affected Software
Remediation
Patch Available
Patch Available
Patch Available
Patch Available
Patch Available
Patch Available
Information
Event History
Frequently Asked Questions
What is CVE-2021-22898?
CVE-2021-22898 is a vulnerability in the curl library that allows for information disclosure when using the `-t` command line option.
What is the severity of CVE-2021-22898?
CVE-2021-22898 has a severity rating of 7.5 (high).
Which software versions are affected by CVE-2021-22898?
CVE-2021-22898 affects curl versions 7.7 through 7.76.1.
How can I fix CVE-2021-22898?
To fix CVE-2021-22898, update curl to version 7.88.1-11 or higher.
Is there any additional information available for CVE-2021-22898?
Yes, you can find additional information about CVE-2021-22898 in the references provided.