CVE-2021-22898
Summary
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.
Impact & exploitability
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N
Affected products we track (1)
Recommendation
Apply the vendor fix in your normal patch cycle. Open any affected product above for its exact safe version.
Official patch: http://www.openwall.com/lists/oss-security/2021/07/21/4 ↗
Additional information
- NVD record
- http://www.openwall.com/lists/oss-security/2021/07/21/4Patch
- https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdfPatch
- https://curl.se/docs/CVE-2021-22898.htmlPatch
- https://github.com/curl/curl/commit/39ce47f219b09c380b81f89fe54ac586c8db6bdePatch
- https://hackerone.com/reports/1176461Patch
- https://lists.apache.org/thread.html/rc713534b10f9daeee2e0990239fa407e2118e4aa9e88a7041177497c%40%3Cissues.guacamole.apache.org%3EAdvisory
- https://lists.debian.org/debian-lts-announce/2021/08/msg00017.htmlAdvisory
- https://lists.debian.org/debian-lts-announce/2022/08/msg00017.htmlAdvisory