CVE-2021-22901: 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 t
Noroxi assessment
Priority: Plan (action score 51/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 63.5% (FIRST EPSS); higher than 99.2% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. Special conditions such as timing or configuration are required.
- According to CISA the attack is automatable: targets can be found by mass scanning.
- Fixed version: curl (Alpine:v3.12) 7.77.0-r0; jbcs-httpd24 (Red Hat:jboss_core_services:1::el7) 0:1-18.jbcs.el7; jbcs-httpd24-apr (Red Hat:jboss_core_services:1::el7) 0:1.6.3-105.jbcs.el7.
- Mentioned 2 times in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Add it to your regular patch cycle. Upgrade to curl (Alpine:v3.12) 7.77.0-r0; jbcs-httpd24 (Red Hat:jboss_core_services:1::el7) 0:1-18.jbcs.el7; jbcs-httpd24-apr (Red Hat:jboss_core_services:1::el7) 0:1.6.3-105.jbcs.el7 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Jun 11, 2021
- Updated
- Oct 14, 2026
- EPSS
- 63.5% · 99th percentile
- CWE
- CWE-416
Report tools
Action score
51
Plan
Add it to your regular patch cycle.
- CVSS
- 32 / 40 · 8.1 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 19 / 30 · 63.5%
CISA SSVC decision
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| haxx | curl | cpe:2.3:a:haxx:curl |
| oracle | communications cloud native core binding support function | cpe:2.3:a:oracle:communications_cloud_native_core_binding_support_function |
| oracle | communications cloud native core network function cloud native environment | cpe:2.3:a:oracle:communications_cloud_native_core_network_function_cloud_native_environment |
| oracle | communications cloud native core network repository function | cpe:2.3:a:oracle:communications_cloud_native_core_network_repository_function |
| oracle | communications cloud native core network slice selection function | cpe:2.3:a:oracle:communications_cloud_native_core_network_slice_selection_function |
| oracle | communications cloud native core service communication proxy | cpe:2.3:a:oracle:communications_cloud_native_core_service_communication_proxy |
| oracle | essbase | cpe:2.3:a:oracle:essbase |
| oracle | mysql server | cpe:2.3:a:oracle:mysql_server |
| netapp | active iq unified manager | cpe:2.3:a:netapp:active_iq_unified_manager |
| netapp | cloud backup | cpe:2.3:a:netapp:cloud_backup |
| netapp | oncommand insight | cpe:2.3:a:netapp:oncommand_insight |
| netapp | oncommand workflow automation | cpe:2.3:a:netapp:oncommand_workflow_automation |
and 22 more
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- haxx curl7.75.0 and later · up to 7.76.1 inclusive
- netapp active iq unified managerall versions
- netapp cloud backupall versions
- netapp h300e firmwareall versions
- netapp h300s firmwareall versions
- netapp h410s firmwareall versions
- netapp h500e firmwareall versions
- netapp h500s firmwareall versions
- netapp h700e firmwareall versions
- netapp h700s firmwareall versions
- netapp hci compute node firmwareall versions
- netapp oncommand insightall versions
- netapp oncommand workflow automationall versions
- netapp snapcenterall versions
- netapp solidfire & hci management nodeall versions
- netapp solidfire baseboard management controller firmwareall versions
- netapp solidfire, enterprise sds & hci storage nodeall versions
- 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
Versions reported by the vendor
Affected version ranges reported by the assigning authority (hackerone). Independent of NVD's CPE analysis and usually ahead of it.
n/a https://github.com/curl/curl
- 7.75.0 through 7.76.1affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Alpine:v3.12 | curl | from 7.75.0 · before 7.77.0-r0 | 7.77.0-r0 |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24 | before 0:1-18.jbcs.el7 | 0:1-18.jbcs.el7 |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-apr | before 0:1.6.3-105.jbcs.el7 | 0:1.6.3-105.jbcs.el7 |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-apr-debuginfo | before 0:1.6.3-105.jbcs.el7 | 0:1.6.3-105.jbcs.el7 |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-apr-devel | before 0:1.6.3-105.jbcs.el7 | 0:1.6.3-105.jbcs.el7 |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-apr-util | before 0:1.6.1-82.jbcs.el7 | 0:1.6.1-82.jbcs.el7 |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-apr-util-debuginfo | before 0:1.6.1-82.jbcs.el7 | 0:1.6.1-82.jbcs.el7 |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-apr-util-devel | before 0:1.6.1-82.jbcs.el7 | 0:1.6.1-82.jbcs.el7 |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-apr-util-ldap | before 0:1.6.1-82.jbcs.el7 | 0:1.6.1-82.jbcs.el7 |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-apr-util-mysql | before 0:1.6.1-82.jbcs.el7 | 0:1.6.1-82.jbcs.el7 |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-apr-util-nss | before 0:1.6.1-82.jbcs.el7 | 0:1.6.1-82.jbcs.el7 |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-apr-util-odbc | before 0:1.6.1-82.jbcs.el7 | 0:1.6.1-82.jbcs.el7 |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-apr-util-openssl | before 0:1.6.1-82.jbcs.el7 | 0:1.6.1-82.jbcs.el7 |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-apr-util-pgsql | before 0:1.6.1-82.jbcs.el7 | 0:1.6.1-82.jbcs.el7 |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-apr-util-sqlite | before 0:1.6.1-82.jbcs.el7 | 0:1.6.1-82.jbcs.el7 |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-curl | before 0:7.77.0-2.jbcs.el7 | 0:7.77.0-2.jbcs.el7 |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-curl-debuginfo | before 0:7.77.0-2.jbcs.el7 | 0:7.77.0-2.jbcs.el7 |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-httpd | before 0:2.4.37-74.jbcs.el7 | 0:2.4.37-74.jbcs.el7 |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-httpd-debuginfo | before 0:2.4.37-74.jbcs.el7 | 0:2.4.37-74.jbcs.el7 |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-httpd-devel | before 0:2.4.37-74.jbcs.el7 | 0:2.4.37-74.jbcs.el7 |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-httpd-manual | before 0:2.4.37-74.jbcs.el7 | 0:2.4.37-74.jbcs.el7 |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-httpd-selinux | before 0:2.4.37-74.jbcs.el7 | 0:2.4.37-74.jbcs.el7 |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-httpd-tools | before 0:2.4.37-74.jbcs.el7 | 0:2.4.37-74.jbcs.el7 |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-jansson | before 0:2.11-55.jbcs.el7 | 0:2.11-55.jbcs.el7 |
+95
Same product
haxx: all recordsOther highest-scoring records for the same primary product.
- CVE-2023-38039When curl retrieves an HTTP response, it stores the incoming headers so that
they can be accessed later via the libcurl headers API.47Plan
- CVE-2024-2398HTTP/2 push headers memory-leak45Plan
- CVE-2019-5482Heap buffer overflow in the TFTP protocol handler in cURL 7.19.4 to 7.65.3.44Plan
Published before and after this one in the same product
- ← EarlierCVE-2021-22897Jun 11, 2021 · curl 7.61.0 through 7.76.1 suffers from exposure of data element to wrong session due to a mistake in the code for CURLOPT_SSL_CIPHER_LIST w22Monitor
- ← EarlierCVE-2021-22898Jun 11, 2021 · curl 7.7 through 7.76.1 suffers from an information disclosure when the `-t` command line option, known as `CURLOPT_TELNETOPTIONS` in libcur13Monitor
- Later →CVE-2021-22922Aug 5, 2021 · When curl is instructed to download content using the metalink feature, thecontents is verified against a hash provided in the metalink XML 27Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| alpine:curl | 7.77.0-r0 · Alpine:v3.12 | Package registry (OSV) |
| red hat:jbcs-httpd24 | 0:1-18.jbcs.el7 · Red Hat:jboss_core_services:1::el7 | Package registry (OSV) |
| red hat:jbcs-httpd24-apr | 0:1.6.3-105.jbcs.el7 · Red Hat:jboss_core_services:1::el7 | Package registry (OSV) |
| red hat:jbcs-httpd24-apr-debuginfo | 0:1.6.3-105.jbcs.el7 · Red Hat:jboss_core_services:1::el7 | Package registry (OSV) |
| red hat:jbcs-httpd24-apr-devel | 0:1.6.3-105.jbcs.el7 · Red Hat:jboss_core_services:1::el7 | Package registry (OSV) |
| red hat:jbcs-httpd24-apr-util | 0:1.6.1-82.jbcs.el7 · Red Hat:jboss_core_services:1::el7 | Package registry (OSV) |
| red hat:jbcs-httpd24-apr-util-debuginfo | 0:1.6.1-82.jbcs.el7 · Red Hat:jboss_core_services:1::el7 | Package registry (OSV) |
| red hat:jbcs-httpd24-apr-util-devel | 0:1.6.1-82.jbcs.el7 · Red Hat:jboss_core_services:1::el7 | Package registry (OSV) |
| red hat:jbcs-httpd24-apr-util-ldap | 0:1.6.1-82.jbcs.el7 · Red Hat:jboss_core_services:1::el7 | Package registry (OSV) |
| red hat:jbcs-httpd24-apr-util-mysql | 0:1.6.1-82.jbcs.el7 · Red Hat:jboss_core_services:1::el7 | Package registry (OSV) |
| red hat:jbcs-httpd24-apr-util-nss | 0:1.6.1-82.jbcs.el7 · Red Hat:jboss_core_services:1::el7 | Package registry (OSV) |
| red hat:jbcs-httpd24-apr-util-odbc | 0:1.6.1-82.jbcs.el7 · Red Hat:jboss_core_services:1::el7 | Package registry (OSV) |
| red hat:jbcs-httpd24-apr-util-openssl | 0:1.6.1-82.jbcs.el7 · Red Hat:jboss_core_services:1::el7 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-22-0351 · May 13, 2022(Siemens Güvenlik Bildirimi)
- TR-22-0215 · Mar 11, 2022(Siemens Güvenlik Bildirimi)
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- Special conditions such as timing or configuration are required.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-416 · Use After FreeCVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Root cause
After a memory region is freed, another reference pointing to it is still used. By then, the same region may have been allocated for different data.
The bug in code
The whole CWE-416 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
free(dev->buf);
/* ... another thread is still running ... */
process(dev->buf);Fixed
lock(&dev->lock);
free(dev->buf);
dev->buf = NULL;
unlock(&dev->lock);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log
- SSVC exploitation— → none
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (10 more)Show less
- cert-portal.siemens.com/productcert/pdf/ssa-732250.pdf
- github.com/curl/curl/commit/7f4a9a9b2a49547eae24d2e19bc5c346e9026479
- security.netapp.com/advisory/ntap-20210723-0001/
- security.netapp.com/advisory/ntap-20210727-0007/
- www.oracle.com//security-alerts/cpujul2021.html
- www.oracle.com/security-alerts/cpuapr2022.html
- www.oracle.com/security-alerts/cpujan2022.html
- cert-portal.siemens.com/productcert/html/ssa-389290.html
- cert-portal.siemens.com/productcert/html/ssa-398330.html
- cert-portal.siemens.com/productcert/html/ssa-732250.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.