When curl < 7.84.0 saves cookies, alt-svc and hsts data to local files, it makes the operation atomic by finalizing the operation with a ren
When curl < 7.84.0 saves cookies, alt-svc and hsts data to local files, it makes the operation atomic by finalizing the operation with a rename from a temporary name to the final target file name.In that rename operation, it might accidentally *widen* the permissions for the target file, leaving the updated file accessible to more users than intended.
- Published
- Jul 7, 2022
- Updated
- Jun 17, 2026
- EPSS
- 7.7% · 94th percentile
- CWE
- CWE-840
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
41
Plan
Add it to your regular patch cycle.
- CVSS
- 39 / 40 · 9.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 2 / 30 · 7.7%
CISA SSVC decision
- Exploitation
- proof of concept
- Automatable
- yes
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpAffected systems
| Vendor | Product | CPE |
|---|---|---|
| haxx | curl | cpe:2.3:a:haxx:curl |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| netapp | clustered data ontap | cpe:2.3:a:netapp:clustered_data_ontap |
| netapp | element software | cpe:2.3:a:netapp:element_software |
| netapp | hci management node | cpe:2.3:a:netapp:hci_management_node |
| netapp | solidfire | cpe:2.3:a:netapp:solidfire |
| netapp | hci compute node | cpe:2.3:h:netapp:hci_compute_node |
| netapp | bootstrap os | cpe:2.3:o:netapp:bootstrap_os |
| netapp | h300s | cpe:2.3:h:netapp:h300s |
| netapp | h300s firmware | cpe:2.3:o:netapp:h300s_firmware |
| netapp | h500s | cpe:2.3:h:netapp:h500s |
and 7 more
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- apple macosbefore 13.0
- debian debian linux11.0
- fedoraproject fedora35
- haxx curl7.69.0 and later · before 7.84.0
- netapp bootstrap osall versions
- netapp clustered data ontapall versions
- netapp element softwareall versions
- netapp h300s firmwareall versions
- netapp h410s firmwareall versions
- netapp h500s firmwareall versions
- netapp h700s firmwareall versions
- netapp hci management nodeall versions
- netapp solidfireall versions
- splunk universal forwarder8.2.0 and later · before 8.2.12
- splunk universal forwarder9.0.0 and later · before 9.0.6
- splunk universal forwarder9.1.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
- Fixed in 7.84.0affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:9 | curl | before 7.76.1-14.el9_0.5 | 7.76.1-14.el9_0.5 |
| AlmaLinux:9 | curl-minimal | before 7.76.1-14.el9_0.5 | 7.76.1-14.el9_0.5 |
| AlmaLinux:9 | libcurl | before 7.76.1-14.el9_0.5 | 7.76.1-14.el9_0.5 |
| AlmaLinux:9 | libcurl-devel | before 7.76.1-14.el9_0.5 | 7.76.1-14.el9_0.5 |
| AlmaLinux:9 | libcurl-minimal | before 7.76.1-14.el9_0.5 | 7.76.1-14.el9_0.5 |
| Alpine:v3.13 | curl | from 7.69.0 · before 7.79.1-r2 | 7.79.1-r2 |
| Alpine:v3.15 | curl | from 7.69.0 · before 7.80.0-r2 | 7.80.0-r2 |
| Alpine:v3.16 | curl | from 7.69.0 · before 7.83.1-r2 | 7.83.1-r2 |
| Alpine:v3.17 | curl | from 7.69.0 · before 7.84.0-r0 | 7.84.0-r0 |
| Debian:11 | curl | before 7.74.0-1.3+deb11u2 | 7.74.0-1.3+deb11u2 |
| Debian:12 | curl | before 7.84.0-1 | 7.84.0-1 |
| openSUSE:Tumbleweed | curl | before 7.84.0-1.1 | 7.84.0-1.1 |
| Red Hat:enterprise_linux:9::appstream | curl-debuginfo | before 0:7.76.1-14.el9_0.5 | 0:7.76.1-14.el9_0.5 |
| Red Hat:enterprise_linux:9::appstream | curl-debugsource | before 0:7.76.1-14.el9_0.5 | 0:7.76.1-14.el9_0.5 |
| Red Hat:enterprise_linux:9::appstream | curl-minimal-debuginfo | before 0:7.76.1-14.el9_0.5 | 0:7.76.1-14.el9_0.5 |
| Red Hat:enterprise_linux:9::appstream | libcurl-debuginfo | before 0:7.76.1-14.el9_0.5 | 0:7.76.1-14.el9_0.5 |
| Red Hat:enterprise_linux:9::appstream | libcurl-devel | before 0:7.76.1-14.el9_0.5 | 0:7.76.1-14.el9_0.5 |
| Red Hat:enterprise_linux:9::appstream | libcurl-minimal-debuginfo | before 0:7.76.1-14.el9_0.5 | 0:7.76.1-14.el9_0.5 |
| Red Hat:enterprise_linux:9::baseos | curl | before 0:7.76.1-14.el9_0.5 | 0:7.76.1-14.el9_0.5 |
| Red Hat:enterprise_linux:9::baseos | curl-minimal | before 0:7.76.1-14.el9_0.5 | 0:7.76.1-14.el9_0.5 |
| Red Hat:enterprise_linux:9::baseos | libcurl | before 0:7.76.1-14.el9_0.5 | 0:7.76.1-14.el9_0.5 |
| Red Hat:enterprise_linux:9::baseos | libcurl-minimal | before 0:7.76.1-14.el9_0.5 | 0:7.76.1-14.el9_0.5 |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-curl | before 0:7.86.0-2.el7jbcs | 0:7.86.0-2.el7jbcs |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-curl-debuginfo | before 0:7.86.0-2.el7jbcs | 0:7.86.0-2.el7jbcs |
+52
Same product
haxx: all recordsOther highest-scoring records for the same primary product.
- CVE-2021-22901curl 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 t50Plan
- 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
- CVE-2017-8817The FTP wildcard function in curl and libcurl before 7.57.0 allows remote attackers to cause a denial of service (out-of-bounds read and app42Plan
- CVE-2017-8816The NTLM authentication feature in curl and libcurl before 7.57.0 on 32-bit platforms allows attackers to cause a denial of service (integer42Plan
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 |
|---|---|---|
| almalinux:curl | 7.76.1-14.el9_0.5 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:curl-minimal | 7.76.1-14.el9_0.5 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:libcurl | 7.76.1-14.el9_0.5 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:libcurl-devel | 7.76.1-14.el9_0.5 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:libcurl-minimal | 7.76.1-14.el9_0.5 · AlmaLinux:9 | Package registry (OSV) |
| alpine:curl | 7.79.1-r2 · Alpine:v3.13 | Package registry (OSV) |
| debian:curl | 7.84.0-1 · Debian:12 | Package registry (OSV) |
| opensuse:curl | 7.79.1-150400.5.3.1 · openSUSE:Leap 15.4 | Package registry (OSV) |
| red hat:curl | 0:7.76.1-14.el9_0.5 · Red Hat:enterprise_linux:9::baseos | Package registry (OSV) |
| red hat:curl-debuginfo | 0:7.76.1-14.el9_0.5 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:curl-debugsource | 0:7.76.1-14.el9_0.5 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:curl-minimal | 0:7.76.1-14.el9_0.5 · Red Hat:enterprise_linux:9::baseos | Package registry (OSV) |
| red hat:curl-minimal-debuginfo | 0:7.76.1-14.el9_0.5 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:jbcs-httpd24-openssl | 1:1.1.1k-13.el7jbcs · Red Hat:jboss_core_services:1::el7 | Package registry (OSV) |
| red hat:jbcs-httpd24-openssl-debuginfo | 1:1.1.1k-13.el7jbcs · Red Hat:jboss_core_services:1::el7 | Package registry (OSV) |
| red hat:libcurl | 0:7.76.1-14.el9_0.5 · Red Hat:enterprise_linux:9::baseos | Package registry (OSV) |
| red hat:libcurl-debuginfo | 0:7.76.1-14.el9_0.5 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:libcurl-devel | 0:7.76.1-14.el9_0.5 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:libcurl-minimal | 0:7.76.1-14.el9_0.5 · Red Hat:enterprise_linux:9::baseos | Package registry (OSV) |
| red hat:libcurl-minimal-debuginfo | 0:7.76.1-14.el9_0.5 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| rocky linux:curl | 0:7.76.1-14.el9_0.5 · Rocky Linux:9 | Package registry (OSV) |
| suse:curl | 7.79.1-150400.5.3.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP4 | 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.
No commit or PR link among the references.
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-0487 · Jul 8, 2022(cURL Güvenlik Güncellemesi)
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.
- No special conditions are required; it is repeatable.
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
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-840 · Business Logic ErrorsCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvd-primary
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
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- seclists.org/fulldisclosure/2022/Oct/28
- seclists.org/fulldisclosure/2022/Oct/41
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BEV6BR4MTI3CEWK2YU2HQZUW5FAS3FEY/
- security.gentoo.org/glsa/202212-01
- security.netapp.com/advisory/ntap-20220915-0003/
- support.apple.com/kb/HT213488
- www.debian.org/security/2022/dsa-5197
Vendor advisories and official records. Exploit/PoC links are deliberately left out.