Incorrect Default Permissions Affecting curl-minimal package, versions <0:7.76.1-14.el9_0.5


Severity

Recommended
medium

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
1.15% (85th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Incorrect Default Permissions vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ALMALINUX9-CURLMINIMAL-5645725
  • published28 May 2023
  • disclosed24 Aug 2022

Introduced: 24 Aug 2022

CVE-2022-32207  (opens in a new tab)
CWE-276  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:9 curl-minimal to version 0:7.76.1-14.el9_0.5 or higher.
This issue was patched in ALSA-2022:6157.

NVD Description

Note: Versions mentioned in the description apply only to the upstream curl-minimal package and not the curl-minimal package as distributed by AlmaLinux. See How to fix? for AlmaLinux:9 relevant fixed versions and status.

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.

CVSS Scores

version 3.1