CVE-2021-22898

Summary

CVECVE-2021-22898
StatePUBLISHED
Assignerhackerone
Source PriorityCVE Program / NVD first with legacy fallback
Published2021-06-11 16:15:11 UTC
Updated2026-04-16 14:16:11 UTC
Descriptioncurl 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.

Risk And Classification

Primary CVSS: v3.1 3.1 LOW from [email protected]

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N

Problem Types: CWE-200 | CWE-909 | CWE-200 Information Disclosure (CWE-200)


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary3.1LOWCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N
3.1ADPDECLARED3.1LOWCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N
3.1134c704f-9b21-4f2e-91b3-4a467353bcc0Secondary3.1LOWCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N
2.0[email protected]Primary2.6AV:N/AC:H/Au:N/C:P/I:N/A:N

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
High
Authentication
None
Confidentiality
Partial
Integrity
None
Availability
None

AV:N/AC:H/Au:N/C:P/I:N/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Debian Debian Linux 9.0 All All All
Operating System Fedoraproject Fedora 33 All All All
Operating System Fedoraproject Fedora 34 All All All
Application Haxx Curl All All All All
Application Oracle Communications Cloud Native Core Binding Support Function 1.11.0 All All All
Application Oracle Communications Cloud Native Core Network Function Cloud Native Environment 1.10.0 All All All
Application Oracle Communications Cloud Native Core Network Repository Function 1.15.0 All All All
Application Oracle Communications Cloud Native Core Network Repository Function 1.15.1 All All All
Application Oracle Communications Cloud Native Core Network Slice Selection Function 1.8.0 All All All
Application Oracle Communications Cloud Native Core Service Communication Proxy 1.15.0 All All All
Application Oracle Essbase All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na Https//github.com/curl/curl affected 7.7 through 7.76.1 Not specified

References

ReferenceSourceLinkTags
Oracle Critical Patch Update Advisory - April 2022 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com Patch, Third Party Advisory
[SECURITY] Fedora 34 Update: curl-7.76.1-7.fc34 - package-announce - Fedora Mailing-Lists af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org Mailing List, Third Party Advisory
HackerOne af854a3a-2127-422b-91ae-364da2661108 hackerone.com Exploit, Issue Tracking, Patch, Third Party Advisory
Oracle Critical Patch Update Advisory - July 2021 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com Patch, Third Party Advisory
oss-security - [SECURITY ADVISORY] curl: TELNET stack contents disclosure again af854a3a-2127-422b-91ae-364da2661108 www.openwall.com Mailing List, Patch, Third Party Advisory
[SECURITY] Fedora 33 Update: curl-7.71.1-10.fc33 - package-announce - Fedora Mailing-Lists af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org Mailing List, Third Party Advisory
lists.apache.org/thread.html/rc713534b10f9daeee2e0990239fa407e2118e4aa9e88a704... af854a3a-2127-422b-91ae-364da2661108 lists.apache.org Mailing List, Third Party Advisory
[SECURITY] [DLA 3085-1] curl security update af854a3a-2127-422b-91ae-364da2661108 lists.debian.org Third Party Advisory
Oracle Critical Patch Update Advisory - January 2022 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com Patch, Third Party Advisory
curl - TELNET stack contents disclosure - CVE-2021-22898 af854a3a-2127-422b-91ae-364da2661108 curl.se Exploit, Patch, Vendor Advisory
Debian -- Security Information -- DSA-5197-1 curl af854a3a-2127-422b-91ae-364da2661108 www.debian.org Third Party Advisory
telnet: check sscanf() for correct number of matches · curl/curl@39ce47f · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com Patch, Third Party Advisory
cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf af854a3a-2127-422b-91ae-364da2661108 cert-portal.siemens.com Patch, Third Party Advisory
[SECURITY] [DLA 2734-1] curl security update af854a3a-2127-422b-91ae-364da2661108 lists.debian.org Mailing List, Third Party Advisory
[SECURITY] Fedora 33 Update: curl-7.71.1-10.fc33 - package-announce - Fedora Mailing-Lists MITRE lists.fedoraproject.org
[SECURITY] Fedora 34 Update: curl-7.76.1-7.fc34 - package-announce - Fedora Mailing-Lists MITRE lists.fedoraproject.org
Pony Mail! MITRE lists.apache.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 159520 Oracle Enterprise Linux Security Update for curl (ELSA-2021-4511)
  • 178759 Debian Security Update for curl (DLA 2734-1)
  • 180909 Debian Security Update for curl (DSA 5197-1)
  • 180969 Debian Security Update for curl (DLA 3085-1)
  • 182775 Debian Security Update for curl (CVE-2021-22898)
  • 198441 Ubuntu Security Notification for curl vulnerabilities (USN-5021-1)
  • 199491 Ubuntu Security Notification for curl Vulnerabilities (USN-5894-1)
  • 239832 Red Hat Update for curl (RHSA-2021:4511)
  • 281101 Fedora Security Update for curl (FEDORA-2021-eb5b7c53a9)
  • 281737 Fedora Security Update for curl (FEDORA-2021-83fdddca0f)
  • 281795 Fedora Security Update for curl (FEDORA-2021-5d21b90a30)
  • 296065 Oracle Solaris 11.4 Support Repository Update (SRU) 39.107.1 Missing (CPUOCT2021)
  • 352402 Amazon Linux Security Advisory for curl: ALAS2-2021-1653
  • 352482 Amazon Linux Security Advisory for curl: ALAS-2021-1509
  • 352823 Amazon Linux Security Advisory for curl: AL2012-2021-347
  • 352843 Amazon Linux Security Advisory for curl: ALAS2-2021-1700
  • 378599 Splunk Enterprise Third Party Package Updates for June (SVD-2023-0613)
  • 378883 Splunk Enterprise August Third Party Package Updates (SVD-2023-0808)
  • 500135 Alpine Linux Security Update for curl
  • 503786 Alpine Linux Security Update for curl
  • 591406 Siemens SIMATIC S7-1500 CPU GNU/Linux subsystem Multiple Vulnerabilities (SSB-439005, ICSA-22-104-13)
  • 670481 EulerOS Security Update for curl (EulerOS-SA-2021-2239)
  • 670507 EulerOS Security Update for curl (EulerOS-SA-2021-2265)
  • 670532 EulerOS Security Update for curl (EulerOS-SA-2021-2290)
  • 670567 EulerOS Security Update for curl (EulerOS-SA-2021-2325)
  • 670606 EulerOS Security Update for curl (EulerOS-SA-2021-2364)
  • 670699 EulerOS Security Update for curl (EulerOS-SA-2021-2457)
  • 671006 EulerOS Security Update for curl (EulerOS-SA-2021-2577)
  • 710078 Gentoo Linux cURL Multiple vulnerabilities (GLSA 202105-36)
  • 750038 SUSE Enterprise Linux Security Update for curl (SUSE-SU-2021:1763-1)
  • 750040 SUSE Enterprise Linux Security Update for curl (SUSE-SU-2021:1762-1)
  • 750044 SUSE Enterprise Linux Security Update for curl (SUSE-SU-2021:1763-1)
  • 750046 SUSE Enterprise Linux Security Update for curl (SUSE-SU-2021:1762-1)
  • 750055 SUSE Enterprise Linux Security Update for curl (SUSE-SU-2021:1786-1)
  • 750062 SUSE Enterprise Linux Security Update for curl (SUSE-SU-2021:1762-1)
  • 750081 SUSE Enterprise Linux Security Update for curl (SUSE-SU-2021:1809-1)
  • 750188 OpenSUSE Security Update for curl (openSUSE-SU-2021:0808-1)
  • 750792 OpenSUSE Security Update for curl (openSUSE-SU-2021:1762-1)
  • 900067 CBL-Mariner Linux Security Update for curl 7.76.0
  • 901518 Common Base Linux Mariner (CBL-Mariner) Security Update for curl (6359-1)
  • 902945 Common Base Linux Mariner (CBL-Mariner) Security Update for curl (4369)
  • 940095 AlmaLinux Security Update for curl (ALSA-2021:4511)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report