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


Severity

Recommended
medium

Based on Oracle Linux 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-ORACLE9-CURL-2993010
  • published26 Aug 2022
  • disclosed7 Jul 2022

Introduced: 7 Jul 2022

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

How to fix?

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

NVD Description

Note: Versions mentioned in the description apply only to the upstream curl package and not the curl package as distributed by Oracle. See How to fix? for Oracle: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