Skip to main content
Public proof of conceptFix available

CVE-2021-22925

A public proof of concept exists; no exploitation attested.

  • Published2021-08-05
  • WeaknessCWE-200 · CWE-908

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

curl supports the `-t` command line option, known as `CURLOPT_TELNETOPTIONS`in libcurl. This rarely used option is used to send variable=content pairs toTELNET servers.Due to flaw in the option parser for sending `NEW_ENV` variables, libcurlcould be made to pass on uninitialized data from a stack based buffer to theserver. Therefore potentially revealing sensitive internal information to theserver using a clear-text network protocol.This could happen because curl did not call and use sscanf() correctly whenparsing the string provided by the application.

Timeline

dates in UTC
  1. 2021-08-0521:15CVE publishedNVD

Versions per branch

NVD
Apple macos
BranchAffectedFixed in
11.0= 11.0no fix published
11.0= 11.0.1no fix published
11.1= 11.1no fix published
11.1= 11.1.0no fix published
11.2= 11.2no fix published
11.2= 11.2.1no fix published
11.3= 11.3no fix published
11.3= 11.3.1no fix published
11.4= 11.4no fix published
11.5= 11.5no fix published
Oracle peoplesoft enterprise peopletools
BranchAffectedFixed in
8.57= 8.57no fix published
8.58= 8.58no fix published
8.59= 8.59no fix published
Splunk universal forwarder
BranchAffectedFixed in
9.0≥ 9.0.0, < 9.0.69.0.6
8.2≥ 8.2.0, < 8.2.128.2.12
9.1= 9.1.0no fix published

17 more products in the sources.

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As hackerone, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • https://github.com/curl/curl
    Affected
    • = curl 7.7 to and including 7.77.0no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2022-12-19

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • curlUbuntu:Pro:16.04:LTSall versions · fixed in 7.47.0-1ubuntu2.19+esm3
  • curlUbuntu:Pro:16.04:LTSall versions · fixed in 7.47.0-1ubuntu2.19+esm7
  • curlUbuntu:Pro:14.04:LTSall versions · fixed in 7.35.0-1ubuntu2.20+esm14
  • curlUbuntu:20.04:LTSall versions · fixed in 7.68.0-1ubuntu2.6
  • curlUbuntu:18.04:LTSall versions · fixed in 7.58.0-2ubuntu3.14
  • curlSUSE:OpenStack Cloud Crowbar 9all versions · fixed in 7.60.0-4.25.1
  • curlSUSE:OpenStack Cloud 9all versions · fixed in 7.60.0-4.25.1
  • curlSUSE:Manager Server 4.0all versions · fixed in 7.60.0-3.47.1

52 more package ranges on OSV.dev

Vendor advisories

  • CVE-2021-22925 Red Hat Product Security45 products fixed · 22 known affected

    curl: Incorrect fix for CVE-2021-22898 TELNET stack contents disclosure

    rh-dotnet21-curl.src as a component of .NET Core 2.1 on Red Hat Enterprise Linux · rh-dotnet21-libcurl as a component of .NET Core 2.1 on Red Hat Enterprise Linux · rh-dotnet21-libcurl-devel as a component of .NET Core 2.1 on Red Hat Enterprise Linux · +19 more

  • ICSA-23-348-10 CISA5 known affected

    Siemens SIMATIC S7-1500

    SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) · SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) · SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) · +2 more

  • SSA-398330 Siemens ProductCERT5 known affected

    SSA-398330: Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP >= V3.1.0 and < V3.1.5

    SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= V3.1.0 < V3.1.5 · SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= V3.1.0 < V3.1.5 · SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= V3.1.0 < V3.1.5 · +2 more

  • ICSA-22-167-17 CISA1 known affected

    Siemens OpenSSL Affecting Industrial Products

    SINEMA Remote Connect Server

  • SSA-484086 Siemens ProductCERT1 known affected

    SSA-484086: Multiple Vulnerabilities in SINEMA Remote Connect Server before V3.1

    SINEMA Remote Connect Server

  • ICSA-22-069-09 CISA1 known affected

    Siemens SINEC INS

    SINEC INS

2 more advisories

Full record on NVD

Fix

  1. Vendor fix CISA ICSA-23-348-10 · 5 productsUpdate to V3.1.5 or later version
  2. Vendor fix Siemens ProductCERT SSA-398330 · 1 productUpdate to V3.1.5 or later version
  3. Vendor fix CISA ICSA-22-167-17 · 1 productUpdate to V3.1 or later version
  4. Vendor fix Siemens ProductCERT SSA-484086 · 1 productUpdate to V3.1 or later version
  5. Vendor fix CISA ICSA-22-069-09 · 1 productUpdate to V1.0.1.1 or later version
  6. Vendor fix Siemens ProductCERT SSA-389290 · 1 productUpdate to V1.0.1.1 or later version

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CISA-ADPSSVC decisionpoc2026-04-16
  • CISA-ADPCVSS 3.15.32026-04-16
  • NVDCVSS 3.15.3read 2026-10-23
  • NVDCVSS 2.05read 2026-10-23
  • CNAweakness (CWE)CWE-200known since 2026-10-23
  • NVDweakness (CWE)CWE-908read 2026-10-23
  • FIRST EPSSEPSS score5.4 %2026-12-04
  • OSVaffected packages—
  • GitHub Advisoriesadvisory—

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Published
2021-08-05
Last modified
2026-10-14
NVD status
Modified
GitHub advisory
GHSA-rjqf-6h27-xqfp

Frequently asked questions

What is CVE-2021-22925?

curl supports the `-t` command line option, known as `CURLOPT_TELNETOPTIONS`in libcurl. This rarely used option is used to send variable=content pairs toTELNET servers.Due to flaw in the option parser for sending `NEW_ENV` variables, libcurlcould be made to pass on uninitialized data from a stack based buffer to theserver. Therefore potentially revealing sensitive internal information to theserver using a clear-text network protocol.This could happen because curl did not call and use sscanf() correctly whenparsing the string provided by the application.

Is CVE-2021-22925 actively exploited?

A proof-of-concept exploit exists for CVE-2021-22925, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2021-22925?

CVE-2021-22925 has a CVSS v3 base score of 5.3 (Medium severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.

Running curl? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record