Information disclosure in Haxx Curl
CVE-2021-22898
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.
Vulnerability class: Information Disclosure
Published · last modified .
CVSS v3 metric
CVSS v3 base score 3.1 (Low). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N.
EPSS exploit prediction
EPSS 0.045, 91.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Haxx Curl
- Oracle Communications Cloud Native Core Binding Support Function — versions 1.11.0
- Oracle Communications Cloud Native Core Network Function Environment — versions 1.10.0
- Oracle Communications Cloud Native Core Network Repository Function — versions 1.15.0, 1.15.1
- Oracle Communications Cloud Native Core Network Slice Selection Function — versions 1.8.0
- Oracle Communications Cloud Native Core Service Communication Proxy — versions 1.15.0
- Oracle Essbase
- Oracle MySQL Server
- Siemens Sinec Infrastructure Network Services
- Splunk Universal Forwarder — versions 9.1.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 6 other repositories (ARPSyndicate/cvemon, devopstales/trivy-operator, falk-werner/cve-check, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- hackerone.com/reports/1176461 (Exploit, Patch, Third Party Advisory, Issue Tracking)
- curl.se/docs/CVE-2021-22898.html (Exploit, Patch, Vendor Advisory)
- github.com/curl/curl/commit/39ce47f219b09c380b81f89fe54ac586c8db6bde (Patch, Third Party Advisory)
- [guacamole-issues] 20210618 [jira] [Created] (GUACAMOLE-1368) Latest docker image fails security scans. (mailing-list, Mailing List, Third Party Advisory)
- www.oracle.com//security-alerts/cpujul2021.html (Patch, Third Party Advisory)
- [oss-security] 20210721 [SECURITY ADVISORY] curl: TELNET stack contents disclosure again (mailing-list, Patch, Mailing List, Third Party Advisory)
- FEDORA-2021-83fdddca0f (vendor-advisory, Mailing List, Third Party Advisory)
- FEDORA-2021-5d21b90a30 (vendor-advisory, Mailing List, Third Party Advisory)
- [debian-lts-announce] 20210813 [SECURITY] [DLA 2734-1] curl security update (mailing-list, Mailing List, Third Party Advisory)
- www.oracle.com/security-alerts/cpujan2022.html (Patch, Third Party Advisory)