VDB

CVE-2021-22924

CVE-2021-22924 PUBLISHED CVSS 3.700000047683716 LOW

Reported by hackerone · Published August 5, 2021

libcurl keeps previously used connections in a connection pool for subsequenttransfers to reuse, if one of them matches the setup.Due to errors in the logic, the config matching function did not take 'issuercert' into account and it compared the involved paths *case insensitively*,which could lead to libcurl reusing wrong connections.File paths are, or can be, case sensitive on many systems but not all, and caneven vary depending on used file systems.The comparison also didn't include the 'issuer cert' which a transfer can setto qualify how to verify the server certificate.

Fixed versions

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

PackageEcosystemFixed in
libcurlconan.io7.77.0
libcurl-compatArch Linux7.78.0-1
libcurl-gnutlsArch Linux7.78.0-1
curlAlpine7.78.0-r0
lib32-libcurl-compatArch Linux7.78.0-1
lib32-libcurl-gnutlsArch Linux7.78.0-1
SIPLUS S7-1500 CPU 1518-4 PN/DP MFPSiemens3.1.5
simatic_rtu3010c_firmwaresiemens5.0.14
sinec_infrastructure_network_servicessiemens1.0.1.1
siplus_net_cp_1543-1_firmwaresiemens3.0.22
simatic_cp_1545-1_firmwaresiemens1.1
simatic_rtu_3041c_firmwaresiemens5.0.14

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

Risk scores

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

Affected products

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

Timeline

  • Jul 21, 2021 PoC Published (3 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 (25 in total, the first dated here)
  • Mar 7, 2026 Security Advisory (32 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-22924
vulnetix vdb fixes CVE-2021-22924

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-22924/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 ›