Vulnerability · Published Jun 11, 2021 · Assigned by hackerone

CVE-2021-22898

Low 3.1

In plain English

A low-severity information exposure in https://github.com/curl/curl. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 4.5% (higher than 92% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)3.1Low
Exploit odds (30 days)4.5%top 8.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8curl7.61.1-22.el8ALSA-2021:4511
AlmaLinux:8libcurl7.61.1-22.el8ALSA-2021:4511
AlmaLinux:8libcurl-devel7.61.1-22.el8ALSA-2021:4511
AlmaLinux:8libcurl-minimal7.61.1-22.el8ALSA-2021:4511
Alpine:v3.20curl7.77.0-r0ALPINE-CVE-2021-22898
Alpine:v3.21curl7.77.0-r0ALPINE-CVE-2021-22898
Alpine:v3.22curl7.77.0-r0ALPINE-CVE-2021-22898
Alpine:v3.23curl7.77.0-r0ALPINE-CVE-2021-22898
Alpine:v3.24curl7.77.0-r0ALPINE-CVE-2021-22898
Debian:12curl7.79.1-1DEBIAN-CVE-2021-22898
Debian:13curl7.79.1-1DEBIAN-CVE-2021-22898
Debian:14curl7.79.1-1DEBIAN-CVE-2021-22898
Rocky Linux:8curl0:7.61.1-22.el8RLSA-2021:4511

Affected products (as reported)

VendorProductVersions
n/a https://github.com/curl/curl 7.7 through 7.76.1

Weakness: CWE-200 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N

References