VDB

CVE-2021-22925

CVE-2021-22925 PUBLISHED CVSS 5.3 MEDIUM

Reported by hackerone · Published August 5, 2021

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
libcurl-develAmazon Linux7.76.1-7.amzn2.0.2
lib32-libcurl-gnutlsArch Linux7.78.0-1
lib32-libcurl-compatArch Linux7.78.0-1
lib32-curlArch Linux7.78.0-1
libcurlAmazon Linux7.76.1-7.amzn2.0.2
curlArch Linux7.78.0-1
libcurl-compatArch Linux7.78.0-1
curlAlpine7.78.0-r0, 7.67.0-r5
sinema_remote_connect_serversiemens3.1
sinec_infrastructure_network_servicessiemens1.0.1.1
mysql_serveroracle8.0.26, 5.7.35
SIPLUS S7-1500 CPU 1518-4 PN/DP MFPSiemens3.1.5

4 more packages have a fixed version. See every fix in Lookup.

Risk scores

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

Affected products

VendorProductVersions
n/ahttps://github.com/curl/curlcurl 7.7 to and including 7.77.0
amazon:2libcurl-devel0
archlib32-libcurl-gnutls0
archlib32-libcurl-compat0
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP3.1.0
archlib32-curl0
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP3.1.0
amazon:2libcurl0
archcurl0
archlibcurl-compat0
alpinecurl0, 0
n/ahttps://github.com/curl/curl7.7
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP3.1.0
archlibcurl-gnutls0
amazon:2curl0

Timeline

  • Jul 21, 2021 PoC Published (2 in total, the first dated here)
  • Aug 5, 2021 CVE Published
  • Aug 6, 2021 EPSS Score (30 in total, the first dated here)
  • Mar 7, 2026 Distribution Patch (30 in total, the first dated here)
  • Mar 7, 2026 Security Advisory (36 in total, the first dated here)
  • Aug 25, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-22925
vulnetix vdb fixes CVE-2021-22925

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-22925/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›