Improper Preservation of Permissions Affecting libcurl-minimal package, versions <0:7.85.0-1.amzn2022.0.1


Severity

Recommended
medium

Based on Amazon 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 IDSNYK-AMZN2022-LIBCURLMINIMAL-3104557
  • published4 Nov 2022
  • disclosed7 Jul 2022

Introduced: 7 Jul 2022

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

How to fix?

Upgrade Amazon-Linux:2022 libcurl-minimal to version 0:7.85.0-1.amzn2022.0.1 or higher.
This issue was patched in ALAS2022-2022-206.

NVD Description

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