---
title: "CVE-2022-32207"
canonical_url: "https://pkgseek.com/security/CVE-2022-32207"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "critical"
---

# CVE-2022-32207

When curl &lt; 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.

CVE-2022-32207 is rated CRITICAL (9.8), with 26 indexed affected package builds across 3 distributions.

- **Severity / Score**: CRITICAL (9.8)
- **Affected builds**: 26
- **Affected distros**: 3
- **Distros with fixed_in**: Oracle Linux, Red Hat Enterprise Linux, Ubuntu

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Oracle Linux | 9 | curl | 7.76.1-14.el9_0.5 | 7.76.1-19.el9 |
| Oracle Linux | 9 | curl-minimal | 7.76.1-14.el9_0.5 | 7.76.1-19.el9 |
| Oracle Linux | 9 | libcurl | 7.76.1-14.el9_0.5 | 7.76.1-19.el9 |
| Oracle Linux | 9 | libcurl-devel | 7.76.1-14.el9_0.5 | 7.76.1-19.el9 |
| Oracle Linux | 9 | libcurl-minimal | 7.76.1-14.el9_0.5 | 7.76.1-19.el9 |
| Red Hat Enterprise Linux | 9.8 | curl | 7.76.1-14.el9_0.4 | 7.76.1-14.el9_0.5 |
| Red Hat Enterprise Linux | 9.8 | curl-minimal | 7.76.1-14.el9_0.4 | 7.76.1-14.el9_0.5 |
| Red Hat Enterprise Linux | 9.8 | libcurl | 7.76.1-14.el9_0.4 | 7.76.1-14.el9_0.5 |
| Red Hat Enterprise Linux | 9.8 | libcurl-devel | 7.76.1-14.el9_0.4 | 7.76.1-14.el9_0.5 |
| Red Hat Enterprise Linux | 9.8 | libcurl-minimal | 7.76.1-14.el9_0.4 | 7.76.1-14.el9_0.5 |
| Ubuntu | focal | curl | 7.68.0-1ubuntu2 | 7.68.0-1ubuntu2.12 |
| Ubuntu | focal | libcurl3-gnutls | 7.68.0-1ubuntu2 | 7.68.0-1ubuntu2.12 |
| Ubuntu | focal | libcurl3-nss | 7.68.0-1ubuntu2 | 7.68.0-1ubuntu2.12 |
| Ubuntu | focal | libcurl4 | 7.68.0-1ubuntu2 | 7.68.0-1ubuntu2.12 |
| Ubuntu | focal | libcurl4-doc | 7.68.0-1ubuntu2 | 7.68.0-1ubuntu2.12 |
| Ubuntu | focal | libcurl4-gnutls-dev | 7.68.0-1ubuntu2 | 7.68.0-1ubuntu2.12 |
| Ubuntu | focal | libcurl4-nss-dev | 7.68.0-1ubuntu2 | 7.68.0-1ubuntu2.12 |
| Ubuntu | focal | libcurl4-openssl-dev | 7.68.0-1ubuntu2 | 7.68.0-1ubuntu2.12 |
| Ubuntu | jammy | curl | 7.81.0-1 | 7.81.0-1ubuntu1.3 |
| Ubuntu | jammy | libcurl3-gnutls | 7.81.0-1 | 7.81.0-1ubuntu1.3 |
| Ubuntu | jammy | libcurl3-nss | 7.81.0-1 | 7.81.0-1ubuntu1.3 |
| Ubuntu | jammy | libcurl4 | 7.81.0-1 | 7.81.0-1ubuntu1.3 |
| Ubuntu | jammy | libcurl4-doc | 7.81.0-1 | 7.81.0-1ubuntu1.3 |
| Ubuntu | jammy | libcurl4-gnutls-dev | 7.81.0-1 | 7.81.0-1ubuntu1.3 |
| Ubuntu | jammy | libcurl4-nss-dev | 7.81.0-1 | 7.81.0-1ubuntu1.3 |
| Ubuntu | jammy | libcurl4-openssl-dev | 7.81.0-1 | 7.81.0-1ubuntu1.3 |
