---
id: CVE-2022-32207
title: >-
  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 accide…
summary: >-
  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 accide…
severity: critical
cvss: 9.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-840
  - CWE-276
vendor: haxx
product: curl
affected:
  - 'curl >= 7.69.0, < 7.84.0'
  - fedora = 35
  - debian_linux = 11.0
  - clustered_data_ontap
  - element_software
  - hci_management_node
  - solidfire
  - bootstrap_os
  - h300s_firmware
  - h500s_firmware
  - h700s_firmware
  - h410s_firmware
  - macos < 13.0
  - 'universal_forwarder >= 8.2.0, < 8.2.12'
  - 'universal_forwarder >= 9.0.0, < 9.0.6'
  - universal_forwarder = 9.1.0
patched:
  - curl 7.84.0
  - macos 13.0
  - universal_forwarder 9.0.6
published: '2022-07-07'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T17:17:39.447'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2022-32207'
references:
  - url: 'http://seclists.org/fulldisclosure/2022/Oct/28'
    label: support@hackerone.com
  - url: 'http://seclists.org/fulldisclosure/2022/Oct/41'
    label: support@hackerone.com
  - url: 'https://hackerone.com/reports/1573634'
    label: support@hackerone.com
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BEV6BR4MTI3CEWK2YU2HQZUW5FAS3FEY/
    label: support@hackerone.com
  - url: 'https://security.gentoo.org/glsa/202212-01'
    label: support@hackerone.com
  - url: 'https://security.netapp.com/advisory/ntap-20220915-0003/'
    label: support@hackerone.com
  - url: 'https://support.apple.com/kb/HT213488'
    label: support@hackerone.com
  - url: 'https://www.debian.org/security/2022/dsa-5197'
    label: support@hackerone.com
  - url: 'http://seclists.org/fulldisclosure/2022/Oct/28'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://seclists.org/fulldisclosure/2022/Oct/41'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://hackerone.com/reports/1573634'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BEV6BR4MTI3CEWK2YU2HQZUW5FAS3FEY/
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://security.gentoo.org/glsa/202212-01'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://security.netapp.com/advisory/ntap-20220915-0003/'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://support.apple.com/kb/HT213488'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://www.debian.org/security/2022/dsa-5197'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-146325.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-398330.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-419740.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-558014.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-942865.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
epss: 0.07738
epssPercentile: 0.94545
ingestedAt: '2026-10-14T17:44:53.600Z'
---

## Overview

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.

## Affected

- `curl >= 7.69.0, < 7.84.0`
- `fedora = 35`
- `debian_linux = 11.0`
- `clustered_data_ontap`
- `element_software`
- `hci_management_node`
- `solidfire`
- `bootstrap_os`
- `h300s_firmware`
- `h500s_firmware`
- `h700s_firmware`
- `h410s_firmware`
- `macos < 13.0`
- `universal_forwarder >= 8.2.0, < 8.2.12`
- `universal_forwarder >= 9.0.0, < 9.0.6`
- `universal_forwarder = 9.1.0`

## Remediation

Upgrade past the affected range:

- `curl 7.84.0`
- `macos 13.0`
- `universal_forwarder 9.0.6`
