cve.bz

CVE-2021-22924 Improper Input Validation

3.7 lowExploit referenceEPSS 6.3%Fix available

Low (3.7). EPSS 6.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

3.7 low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS
6.3% (unchanged from 6.3% a week ago; 6.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 94th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2024-03-27. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-706 Use of Incorrectly-Resolved Name or Reference
CWE-20 Improper Input Validation
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-22924 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-22924?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-22924?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-22924 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2021-22924

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2021-22924](https://cve.bz/cve/badge/CVE-2021-22924.svg)](https://cve.bz/cve/CVE-2021-22924)

HTML:

<a href="https://cve.bz/cve/CVE-2021-22924"><img src="https://cve.bz/cve/badge/CVE-2021-22924.svg" alt="CVE-2021-22924"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
haxx:libcurlfrom 7.10.4 before 7.77.0
fedoraproject:fedora33
debian:debian_linux9.0
debian:debian_linux10.0
debian:debian_linux11.0
oracle:mysql_serverfrom 5.7.0 through 5.7.36
oracle:mysql_serverfrom 8.0.0 through 8.0.26
oracle:peoplesoft_enterprise_peopletools8.57
oracle:peoplesoft_enterprise_peopletools8.58
oracle:peoplesoft_enterprise_peopletools8.59
siemens:sinec_infrastructure_network_servicesbefore 1.0.1.1
siemens:sinema_remote_connect_serverbefore 3.1
siemens:ruggedcomrm_1224_lte_firmwarebefore 7.1
siemens:scalance_m804pb_firmwarebefore 7.1
siemens:scalance_m812-1_firmwarebefore 7.1
siemens:scalance_m816-1_firmwarebefore 7.1
siemens:scalance_m826-2_firmwarebefore 7.1
siemens:scalance_m874-2_firmwarebefore 7.1
siemens:scalance_m874-3_firmwarebefore 7.1
siemens:scalance_m876-3_firmwarebefore 7.1
siemens:scalance_m876-4_firmwarebefore 7.1
siemens:scalance_mum856-1_firmwarebefore 7.1
siemens:scalance_s615_firmwarebefore 7.1
siemens:simatic_cp_1543-1_firmwarebefore 3.0.22
siemens:simatic_cp_1545-1_firmwarebefore 1.1
siemens:simatic_rtu3010c_firmwarebefore 5.0.14
siemens:simatic_rtu3030c_firmwarebefore 5.0.14
siemens:simatic_rtu3031c_firmwarebefore 5.0.14
siemens:simatic_rtu_3041c_firmwarebefore 5.0.14
siemens:sinema_remote_connectbefore 3.1
siemens:siplus_net_cp_1543-1_firmwarebefore 3.0.22
splunk:universal_forwarderfrom 8.2.0 before 8.2.12
splunk:universal_forwarderfrom 9.0.0 before 9.0.6
splunk:universal_forwarder9.1.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9curl7.52.1-5+deb9u15DLA-2734-1
Debian10curl7.64.0-4+deb10u3DLA-3085-1
Debian11curl7.74.0-1.3+deb11u2DSA-5197-1
Debian12, 13, 14curl7.79.1-1DEBIAN-CVE-2021-22924
Ubuntu18.04:LTScurl7.58.0-2ubuntu3.14UBUNTU-CVE-2021-22924 USN-5021-1
Ubuntu20.04:LTScurl7.68.0-1ubuntu2.6UBUNTU-CVE-2021-22924 USN-5021-1
UbuntuPro:14.04:LTS, Pro:16.04:LTScurlno fix listedUBUNTU-CVE-2021-22924
Red Hatenterprise_linux:8::baseoscurl, libcurl, libcurl-devel and 6 more0:7.61.1-18.el8_4.1RHSA-2021:3582
Red Hatrhel_dotnet:3.1::el7rh-dotnet31-curl, rh-dotnet31-libcurl, rh-dotnet31-libcurl-devel and 1 more0:7.61.1-22.el7_9RHSA-2022:1354
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 10 morecurl7.60.0-3.47.1SUSE-SU-2021:2440-1
SUSELinux Enterprise Micro 5.0, Linux Enterprise Module for Basesystem 15 SP2, Linux Enterprise Module for Basesystem 15 SP3curl7.66.0-4.22.1SUSE-SU-2021:2439-1
SUSELinux Enterprise Server 11-SECURITYcurl-openssl17.37.0-70.71.1SUSE-SU-2021:14768-1
SUSELinux Enterprise Server 12 SP4-LTSS, Linux Enterprise Server for SAP Applications 12 SP4, OpenStack Cloud 9 and 1 morecurl7.60.0-4.25.1SUSE-SU-2021:2425-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5curl7.60.0-11.23.1SUSE-SU-2021:2462-1
openSUSELeap 15.2curl, curl-mini7.66.0-lp152.3.21.1openSUSE-SU-2021:1088-1
openSUSELeap 15.3curl7.66.0-4.22.1openSUSE-SU-2021:2439-1
openSUSETumbleweedcurl7.79.1-1.1openSUSE-SU-2024:10582-1
Rocky Linux8curl0:7.61.1-18.el8_4.1RLSA-2021:3582
Alpinev3.12, v3.13, v3.14 and 10 morecurl7.78.0-r0ALPINE-CVE-2021-22924
Azure Linux2curl7.76.0-5AZL-6367

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

This flaw can be mitigated by upgrading the affected curl utility to version 7.78.0

ProductPackageStateAdvisory
.NET Core on Red Hat Enterprise Linuxrh-dotnet31-curl-0:7.61.1-22.el7_9Fixed 2022-04-13RHSA-2022:1354
Red Hat Enterprise Linux 8curl-0:7.61.1-18.el8_4.1Fixed 2021-09-21RHSA-2021:3582
.NET Core 2.1 on Red Hat Enterprise Linuxrh-dotnet21-curlWill not fix
Red Hat Ceph Storage 2curlOut of support scope
Red Hat Enterprise Linux 6curlOut of support scope
Red Hat Enterprise Linux 7curlOut of support scope
Red Hat Enterprise Linux 9curlNot affected
Red Hat JBoss Core Servicesjbcs-httpd24-curlAffected
Red Hat Software Collectionshttpd24-curlWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-22924.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-23-348-10Siemens SIMATIC S7-15002023-12-12Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC 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) and 2 morenone listed
ICSA-22-167-17Siemens OpenSSL Affecting Industrial Products2022-06-14Critical Manufacturing, Commercial Facilities, Energy, Food and Agriculture, Healthcare and Public Health, Transportation Systems, Water and Wastewater SystemsSINEMA Remote Connect Servernone listed
ICSA-22-132-13Siemens Industrial Devices using libcurl2022-05-10MultipleLOGO! CMR family, RUGGEDCOM RM1224 LTE(4G) EU, RUGGEDCOM RM1224 LTE(4G) NAM and 31 morenone listed
ICSA-22-069-09Siemens SINEC INS2022-03-08MultipleSINEC INSnone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-48 Passing Local Filenames to Functions That Expect a URL Likelihood: High · Severity: High
  • CAPEC-159 Redirect Access to Libraries Likelihood: High · Severity: Very High
  • CAPEC-177 Create files with the same name as files protected with a higher classification Severity: Very High
  • CAPEC-641 DLL Side-Loading Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON