Original 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.
Affected software
- curl ≥ 7.7 ≤ 7.76.1 exact match
Details
- Published
- 2021-06-11
- Last modified
- 2026-10-14
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N- CWE
- CWE-200, CWE-909
- EPSS (30-day exploit probability)
- 4.51% (percentile 92)
References
- cve.org/CVE-2021-22898
- nvd.nist.gov/vuln/detail/CVE-2021-22898
- www.openwall.com/lists/oss-security/2021/07/21/4
- cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf
- curl.se/docs/CVE-2021-22898.html
- github.com/curl/curl/commit/39ce47f219b09c380b81f89fe54ac586c8db6bde
- hackerone.com/reports/1176461
- lists.apache.org/thread.html/rc713534b10f9daeee2e0990239fa407e2118e4aa9e88a7041177497c%40%...
- lists.debian.org/debian-lts-announce/2021/08/msg00017.html
- lists.debian.org/debian-lts-announce/2022/08/msg00017.html
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F...
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/P...
- www.debian.org/security/2022/dsa-5197
- www.oracle.com//security-alerts/cpujul2021.html
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.