CVE-2021-22924
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| libcurl | conan.io | 7.77.0 |
| libcurl-compat | Arch Linux | 7.78.0-1 |
| libcurl-gnutls | Arch Linux | 7.78.0-1 |
| curl | Alpine | 7.78.0-r0 |
| lib32-libcurl-compat | Arch Linux | 7.78.0-1 |
| lib32-libcurl-gnutls | Arch Linux | 7.78.0-1 |
| SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | Siemens | 3.1.5 |
| simatic_rtu3010c_firmware | siemens | 5.0.14 |
| sinec_infrastructure_network_services | siemens | 1.0.1.1 |
| siplus_net_cp_1543-1_firmware | siemens | 3.0.22 |
| simatic_cp_1545-1_firmware | siemens | 1.1 |
| simatic_rtu_3041c_firmware | siemens | 5.0.14 |
17 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | https://github.com/curl/curl | curl 7.10.4 to and include curl 7.77.0 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| arch | libcurl-compat | 0 |
| arch | libcurl-gnutls | 0 |
| alpine | curl | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | 3.1.0 |
| arch | lib32-libcurl-compat | 0 |
| ConanCenter | libcurl | 7.10.4 |
| arch | lib32-libcurl-gnutls | 0 |
| n/a | https://github.com/curl/curl | 7.10.4 |
| amazon:2 | libcurl | 0 |
| arch | curl | 0 |
| arch | lib32-curl | 0 |
| amazon:2 | curl | 0 |
| amazon:2 | libcurl-devel | 0 |
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
References
- x_refsource_MISC
- FEDORA-2021-5d21b90a30 vendor-advisoryx_refsource_FEDORA
- [debian-lts-announce] 20210813 [SECURITY] [DLA 2734-1] curl security update mailing-listx_refsource_MLIST
- [kafka-dev] 20210831 Security vulnerabilities in kafka:2.13-2.6.0/2.7.0 docker image mailing-listx_refsource_MLIST
- [kafka-users] 20210831 Security vulnerabilities in kafka:2.13-2.6.0/2.7.0 docker image mailing-listx_refsource_MLIST
- [kafka-users] 20210901 Re: [EXTERNAL] Re: Security vulnerabilities in kafka:2.13-2.6.0/2.7.0 docker image mailing-listx_refsource_MLIST
- [kafka-dev] 20210901 Re: [EXTERNAL] Re: Security vulnerabilities in kafka:2.13-2.6.0/2.7.0 docker image mailing-listx_refsource_MLIST
- x_refsource_MISC
- x_refsource_CONFIRM
- x_refsource_MISC
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- DSA-5197 vendor-advisoryx_refsource_DEBIAN
- [debian-lts-announce] 20220828 [SECURITY] [DLA 3085-1] curl security update mailing-listx_refsource_MLIST
- https://nvd.nist.gov/vuln/detail/CVE-2021-22924 advisory
- https://cert-portal.siemens.com/productcert/html/ssa-389290.html url
- https://cert-portal.siemens.com/productcert/html/ssa-732250.html url
- https://cert-portal.siemens.com/productcert/html/ssa-484086.html url
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html url