Improper Link Resolution Before File Access ('Link Following') Affecting python package, versions [3.8.0,3.8.19) [3.9.0,3.9.19) [3.10.0,3.10.14) [3.11.0,3.11.9) [3.12.0,3.12.3)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.05% (16th 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 ID SNYK-UNMANAGED-PYTHON-7924822
  • published 9 Sep 2024
  • disclosed 19 Mar 2024
  • credit Unknown

How to fix?

Upgrade python to version 3.8.19, 3.9.19, 3.10.14, 3.11.9, 3.12.3 or higher.

Overview

Affected versions of this package are vulnerable to Improper Link Resolution Before File Access ('Link Following') via the tempfile.TemporaryDirectory class. An attacker can modify the permissions of files referenced by symlinks in some circumstances when privileged programs are run. This is only exploitable if the attacker has the ability to run privileged programs.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
5.5 medium
  • Attack Vector (AV)
    Local
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    None
  • Integrity (I)
    High
  • Availability (A)
    None
Expand this section

Red Hat

7.8 high
Expand this section

SUSE

8.4 high