Incorrect Default Permissions Affecting curl package, versions <7.81.0-1ubuntu1.3


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.3% (71st 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-UBUNTU2204-CURL-2936023
  • published27 Jun 2022
  • disclosed7 Jul 2022

Introduced: 27 Jun 2022

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

How to fix?

Upgrade Ubuntu:22.04 curl to version 7.81.0-1ubuntu1.3 or higher.

NVD Description

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