ArchLinux: 202106-8: libcurl-gnutls: information disclosure
Summary
A security issue has been found in curl before version 7.77.0. curl supports the -t command line option, known as CURLOPT_TELNETOPTIONS in libcurl. This rarely used option is used to send variable=content pairsto TELNET servers. Due to 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. Therefore potentially revealing sensitive internal information to the server using a clear-text network protocol.
Resolution
Upgrade to 7.77.0-1.
# pacman -Syu "libcurl-gnutls>=7.77.0-1"
The problem has been fixed upstream in version 7.77.0.
References
https://curl.se/docs/CVE-2021-22898.html https://github.com/curl/curl/commit/39ce47f219b09c380b81f89fe54ac586c8db6bde https://security.archlinux.org/CVE-2021-22898
Workaround
The issue can be mitigated by avoiding to use the -t command lineoption and CURLOPT_TELNETOPTIONS.