CVE-2021-22925
A public proof of concept exists; no exploitation attested.
- Published2021-08-05
- WeaknessCWE-200 · CWE-908
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « 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- 2021-08-0521:15CVE publishedNVD
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 11.0 | = 11.0 | no fix published | NVD |
| 11.0 | = 11.0.1 | no fix published | NVD |
| 11.1 | = 11.1 | no fix published | NVD |
| 11.1 | = 11.1.0 | no fix published | NVD |
| 11.2 | = 11.2 | no fix published | NVD |
| 11.2 | = 11.2.1 | no fix published | NVD |
| 11.3 | = 11.3 | no fix published | NVD |
| 11.3 | = 11.3.1 | no fix published | NVD |
| 11.4 | = 11.4 | no fix published | NVD |
| 11.5 | = 11.5 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 8.57 | = 8.57 | no fix published | NVD |
| 8.58 | = 8.58 | no fix published | NVD |
| 8.59 | = 8.59 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 9.0 | ≥ 9.0.0, < 9.0.6 | 9.0.6 | NVD |
| 8.2 | ≥ 8.2.0, < 8.2.12 | 8.2.12 | NVD |
| 9.1 | = 9.1.0 | no fix published | NVD |
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/curlAffected
- = 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
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
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: 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
Siemens OpenSSL Affecting Industrial Products
SINEMA Remote Connect Server
SSA-484086: Multiple Vulnerabilities in SINEMA Remote Connect Server before V3.1
SINEMA Remote Connect Server
Siemens SINEC INS
SINEC INS
2 more advisories
Fix
- Vendor fix CISA ICSA-23-348-10 · 5 productsUpdate to V3.1.5 or later version
- Vendor fix Siemens ProductCERT SSA-398330 · 1 productUpdate to V3.1.5 or later version
- Vendor fix CISA ICSA-22-167-17 · 1 productUpdate to V3.1 or later version
- Vendor fix Siemens ProductCERT SSA-484086 · 1 productUpdate to V3.1 or later version
- Vendor fix CISA ICSA-22-069-09 · 1 productUpdate to V1.0.1.1 or later version
- Vendor fix Siemens ProductCERT SSA-389290 · 1 productUpdate to V1.0.1.1 or later version
Advisories and patches
- cert-portal.siemens.comPatch
- hackerone.comPatch
- www.oracle.comPatch
- www.oracle.comPatch
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2026-04-16
- PoC-in-GitHubno public repository identifiedread 2026-12-04
- 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
- AZL-6363same flawAzure Linux · MIT
- EUVD-2021-10054same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-rjqf-6h27-xqfpsame flawGitHub Advisory Database · CC-BY-4.0
- JLSEC-2026-1337same flawJulia Security Advisories · CC-BY-4.0
- ALSA-2021:4511advisory covering several CVEsAlmaLinux · MIT
- MGASA-2021-0384advisory covering several CVEsMageia · LicenseRef-unstated
- OESA-2021-1321advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2021:1088-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2021:2439-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2021:4511advisory covering several CVEsRed Hat · CC-BY-4.0
- RLSA-2021:4511advisory covering several CVEsRocky Linux · BSD-3-Clause
- SUSE-SU-2021:14768-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2021:2425-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2021:2439-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2021:2440-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2021:2462-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-5021-1advisory covering several CVEsUbuntu
- USN-5021-2advisory covering several CVEsUbuntu
- USN-5894-1advisory covering several CVEsUbuntu
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?
Is CVE-2021-22925 actively exploited?
What is the CVSS score for CVE-2021-22925?
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
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CISA ICS advisories (CSAF) · Public domain (US Government work)
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-rjqf-6h27-xqfp
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- Siemens ProductCERT (CSAF) · TLP:WHITE (commercial use and redistribution granted)
- CISA Vulnrichment · CC0-1.0