cve.bz

CVE-2021-22901 Use After Free

8.1 highExploit referenceEPSS 64%Fix available

High (8.1). EPSS 64% estimated probability of exploitation activity in the next 30 days.

On this page
curl 7.75.0 through 7.76.1 suffers from a use-after-free vulnerability resulting in already freed memory being used when a TLS 1.3 session ticket arrives over a connection. A malicious server can use this in rare unfortunate circumstances to potentially reach remote code execution in the client. When libcurl at run-time sets up support for TLS 1.3 session tickets on a connection using OpenSSL, it stores pointers to the transfer in-memory object for later retrieval when a session ticket arrives. If the connection is used by multiple transfers (like with a reused HTTP/1.1 connection or multiplexed HTTP/2 connection) that first transfer object might be freed before the new session is established on that connection and then the function will access a memory buffer that might be freed. When using that memory, libcurl might even call a function pointer in the object, making it possible for a remote code execution if the server could somehow manage to get crafted memory content into the correct place in memory.

Severity

CVSS 3.1

8.1 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
64% (unchanged from 64% a week ago; 64% 30 days ago) estimated probability of exploitation activity in the next 30 days; 99th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: total, assessed 2026-10-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-416 Use After Free
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-22901 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-22901?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-22901?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-22901 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-22901

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-22901](https://cve.bz/cve/badge/CVE-2021-22901.svg)](https://cve.bz/cve/CVE-2021-22901)

HTML:

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

Affected

Versions

From the NVD's CPE matches.

ProductAffected
haxx:curlfrom 7.75.0 through 7.76.1
oracle:communications_cloud_native_core_binding_support_function1.11.0
oracle:communications_cloud_native_core_network_function_cloud_native_environment1.10.0
oracle:communications_cloud_native_core_network_repository_function1.15.0
oracle:communications_cloud_native_core_network_repository_function1.15.1
oracle:communications_cloud_native_core_network_slice_selection_function1.8.0
oracle:communications_cloud_native_core_service_communication_proxy1.15.0
oracle:essbasebefore 11.1.2.4.047
oracle:essbasefrom 21.0 before 21.3
oracle:mysql_serverthrough 5.7.34
oracle:mysql_serverfrom 8.0.0 through 8.0.25
siemens:sinec_infrastructure_network_servicesbefore 1.0.1.1
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
Red Hatjboss_core_services:1::el7jbcs-httpd24, jbcs-httpd24-runtime0:1-18.jbcs.el7RHSA-2021:2472
Red Hatjboss_core_services:1::el7jbcs-httpd24-apr, jbcs-httpd24-apr-devel, jbcs-httpd24-apr-debuginfo0:1.6.3-105.jbcs.el7RHSA-2021:2472
Red Hatjboss_core_services:1::el7jbcs-httpd24-apr-util, jbcs-httpd24-apr-util-nss, jbcs-httpd24-apr-util-ldap and 7 more0:1.6.1-82.jbcs.el7RHSA-2021:2472
Red Hatjboss_core_services:1::el7jbcs-httpd24-curl, jbcs-httpd24-libcurl, jbcs-httpd24-libcurl-devel and 1 more0:7.77.0-2.jbcs.el7RHSA-2021:2472
Red Hatjboss_core_services:1::el7jbcs-httpd24-httpd, jbcs-httpd24-mod_ldap, jbcs-httpd24-httpd-devel and 5 more0:2.4.37-74.jbcs.el7RHSA-2021:2472
Red Hatjboss_core_services:1::el7jbcs-httpd24-jansson, jbcs-httpd24-jansson-devel, jbcs-httpd24-jansson-debuginfo0:2.11-55.jbcs.el7RHSA-2021:2472
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_cluster-native, jbcs-httpd24-mod_cluster-native-debuginfo0:1.3.16-5.Final_redhat_2.jbcs.el7RHSA-2021:2472
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_http2, jbcs-httpd24-mod_http2-debuginfo0:1.15.7-17.jbcs.el7RHSA-2021:2472
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_jk, jbcs-httpd24-mod_jk-ap24, jbcs-httpd24-mod_jk-manual and 1 more0:1.2.48-16.redhat_1.jbcs.el7RHSA-2021:2472
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_md, jbcs-httpd24-mod_md-debuginfo1:2.0.8-36.jbcs.el7RHSA-2021:2472
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_security, jbcs-httpd24-mod_security-debuginfo0:2.9.2-63.GA.jbcs.el7RHSA-2021:2472
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_ssl, jbcs-httpd24-mod_proxy_html1:2.4.37-74.jbcs.el7RHSA-2021:2472
17 more for Red Hat in the JSON and on Red Hat's page.
openSUSETumbleweedcurl7.79.1-1.1openSUSE-SU-2024:10582-1
Alpinev3.12, v3.13, v3.14 and 10 morecurl7.77.0-r0ALPINE-CVE-2021-22901
Azure Linux2curl7.76.0-5AZL-6360

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; 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: Red Hat · openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
JBoss Core Services Apache HTTP Server 2.4.37 SP8jbcs-httpd24-curlFixed 2021-06-17RHSA-2021:2471
JBoss Core Services for RHEL 8jbcs-httpd24-0:1-18.el8jbcsFixed 2021-06-17RHSA-2021:2472
JBoss Core Services for RHEL 8jbcs-httpd24-apr-0:1.6.3-105.el8jbcsFixed 2021-06-17RHSA-2021:2472
JBoss Core Services for RHEL 8jbcs-httpd24-apr-util-0:1.6.1-82.el8jbcsFixed 2021-06-17RHSA-2021:2472
JBoss Core Services for RHEL 8jbcs-httpd24-brotli-0:1.0.6-40.el8jbcsFixed 2021-06-17RHSA-2021:2472
JBoss Core Services for RHEL 8jbcs-httpd24-curl-0:7.77.0-2.el8jbcsFixed 2021-06-17RHSA-2021:2472
JBoss Core Services for RHEL 8jbcs-httpd24-httpd-0:2.4.37-74.el8jbcsFixed 2021-06-17RHSA-2021:2472
JBoss Core Services for RHEL 8jbcs-httpd24-jansson-0:2.11-55.el8jbcsFixed 2021-06-17RHSA-2021:2472
JBoss Core Services for RHEL 8jbcs-httpd24-mod_cluster-native-0:1.3.16-5.Final_redhat_2.el8jbcsFixed 2021-06-17RHSA-2021:2472
JBoss Core Services for RHEL 8jbcs-httpd24-mod_http2-0:1.15.7-17.el8jbcsFixed 2021-06-17RHSA-2021:2472
JBoss Core Services for RHEL 8jbcs-httpd24-mod_jk-0:1.2.48-16.redhat_1.el8jbcsFixed 2021-06-17RHSA-2021:2472
JBoss Core Services for RHEL 8jbcs-httpd24-mod_md-1:2.0.8-36.el8jbcsFixed 2021-06-17RHSA-2021:2472
.NET Core 2.1 on Red Hat Enterprise Linuxrh-dotnet21-curlNot affected
.NET Core 3.1 on Red Hat Enterprise Linuxrh-dotnet31-curlNot affected
Red Hat Ceph Storage 2curlNot affected
Red Hat Enterprise Linux 6curlNot affected
Red Hat Enterprise Linux 7curlNot affected
Red Hat Enterprise Linux 8curlNot affected
Red Hat Enterprise Linux 9curlNot affected
Red Hat Software Collectionshttpd24-curlNot affected
16 more in the JSON and on Red Hat's page.

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-22901.

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-132-13Siemens Industrial Devices using libcurl2022-05-10MultipleSIMATIC CP 1242-7 V2, SIMATIC CP 1243-1, SIMATIC CP 1243-7 LTE EU and 8 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.

References

Check your stackJSON