CVE-2021-22898

LOW

curl 7.7-7.76.1 - Information Disclosure via TELNET NEW_ENV Option Parser

Title source: llm
STIX 2.1

Description

curl 7.7 through 7.76.1 suffers from an information disclosure when the `-t` command line option, known as `CURLOPT_TELNETOPTIONS` in libcurl, is used to send variable=content pairs to TELNET servers. Due to a flaw in the option parser for sending NEW_ENV 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.

References (14)

Core 14
Core References
Exploit, Issue Tracking, Patch, Third Party Advisory x_refsource_misc
https://hackerone.com/reports/1176461
Exploit, Patch, Vendor Advisory x_refsource_misc
https://curl.se/docs/CVE-2021-22898.html
Patch, Third Party Advisory x_refsource_misc
https://www.oracle.com//security-alerts/cpujul2021.html
Mailing List, Patch, Third Party Advisory mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2021/07/21/4
Mailing List, Third Party Advisory mailing-list x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2021/08/msg00017.html
Patch, Third Party Advisory x_refsource_misc
https://www.oracle.com/security-alerts/cpujan2022.html
Patch, Third Party Advisory x_refsource_misc
https://www.oracle.com/security-alerts/cpuapr2022.html
Patch, Third Party Advisory x_refsource_confirm
https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf
Third Party Advisory vendor-advisory x_refsource_debian
https://www.debian.org/security/2022/dsa-5197
Third Party Advisory mailing-list x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2022/08/msg00017.html

Scores

CVSS v3 3.1
EPSS 0.0439
EPSS Percentile 90.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-200 CWE-909
Status published
Products (16)
None/https://github.com/curl/curl 7.7 through 7.76.1
debian/debian_linux 9.0
fedoraproject/fedora 33
fedoraproject/fedora 34
haxx/curl 7.7 - 7.76.1
oracle/communications_cloud_native_core_binding_support_function 1.11.0
oracle/communications_cloud_native_core_network_function_cloud_native_environment 1.10.0
oracle/communications_cloud_native_core_network_repository_function 1.15.0
oracle/communications_cloud_native_core_network_repository_function 1.15.1
oracle/communications_cloud_native_core_network_slice_selection_function 1.8.0
... and 6 more
Published Jun 11, 2021
Tracked Since Feb 18, 2026