CVE-2021-22898
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.
Description as published by the source, in English.
Key facts
- Published
- 2021-06-11
- Last modified
- 2026-10-14
- Assigned by
- support@hackerone.com
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
4.4 %
higher than 90 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Debian | Debian Linux | 9.0 | Affected |
| Fedoraproject | Fedora | 33 | Affected |
| Fedoraproject | Fedora | 34 | Affected |
| Haxx | Curl | ≥ 7.7, ≤ 7.76.1 | Affected |
| Oracle | Communications Cloud Native Core Binding Support Function | 1.11.0 | Affected |
| Oracle | Communications Cloud Native Core Network Function Cloud Native Environment | 1.10.0 | Affected |
| Oracle | Communications Cloud Native Core Network Repository Function | 1.15.0 | Affected |
| Oracle | Communications Cloud Native Core Network Repository Function | 1.15.1 | Affected |
| Oracle | Communications Cloud Native Core Network Slice Selection Function | 1.8.0 | Affected |
| Oracle | Communications Cloud Native Core Service Communication Proxy | 1.15.0 | Affected |
| Oracle | Essbase | < 11.1.2.4.047 | Affected |
| Oracle | Essbase | ≥ 21.0, < 21.3 | Affected |
| Oracle | Mysql Server | < 5.7.34 | Affected |
| Oracle | Mysql Server | ≥ 8.0.15, < 8.0.25 | Affected |
| Siemens | Sinec Infrastructure Network Services | < 1.0.1.1 | Affected |
| Splunk | Universal Forwarder | 9.1.0 | Affected |
| Splunk | Universal Forwarder | ≥ 8.2.0, < 8.2.12 | Affected |
| Splunk | Universal Forwarder | ≥ 9.0.0, < 9.0.6 | Affected |
Weakness type
-
CWE-909: Missing Initialization of Resource
The product does not initialize a critical resource.
-
CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.
- T1007: System Service Discovery
- T1016: System Network Configuration Discovery
- T1018: Remote System Discovery
- T1033: System Owner/User Discovery
- T1036.005: Match Legitimate Resource Name or Location
- T1046: Network Service Discovery
- T1049: System Network Connections Discovery
- T1057: Process Discovery
- T1069: Permission Groups Discovery
- T1082: System Information Discovery
- T1083: File and Directory Discovery
- T1087: Account Discovery
- T1111: Multi-Factor Authentication Interception
- T1120: Peripheral Device Discovery
- T1124: System Time Discovery
- T1134.001: Token Impersonation/Theft
- T1135: Network Share Discovery
- T1217: Browser Information Discovery
- T1550.004: Web Session Cookie
- T1574.006: Dynamic Linker Hijacking
References
- http://www.openwall.com/lists/oss-security/2021/07/21/4
- https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf
- https://curl.se/docs/CVE-2021-22898.html
- https://github.com/curl/curl/commit/39ce47f219b09c380b81f89fe54ac586c8db6bde
- https://hackerone.com/reports/1176461
- https://lists.apache.org/thread.html/rc713534b10f9daeee2e0990239fa407e2118e4aa9e88a704117…
- https://lists.debian.org/debian-lts-announce/2021/08/msg00017.html
- https://lists.debian.org/debian-lts-announce/2022/08/msg00017.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/…
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/…
- https://www.debian.org/security/2022/dsa-5197
- https://www.oracle.com//security-alerts/cpujul2021.html
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.oracle.com/security-alerts/cpujan2022.html
- http://www.openwall.com/lists/oss-security/2021/07/21/4
- https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf
- https://curl.se/docs/CVE-2021-22898.html
- https://github.com/curl/curl/commit/39ce47f219b09c380b81f89fe54ac586c8db6bde
- https://hackerone.com/reports/1176461
- https://lists.apache.org/thread.html/rc713534b10f9daeee2e0990239fa407e2118e4aa9e88a704117…
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.