Register for the AI for Security Summit: Join Figma, Perplexity & Wiz

CVE-2021-25282
Python vulnerability analysis and mitigation

Overview

CVE-2021-25282 is a directory traversal vulnerability discovered in SaltStack Salt before version 3002.5. The vulnerability specifically affects the salt.wheel.pillar_roots.write method, which was found to be susceptible to directory traversal attacks (NVD).

Technical details

The vulnerability has been assigned a CVSS v3.1 base score of 9.1 (CRITICAL) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H. It is classified as CWE-22, which refers to 'Improper Limitation of a Pathname to a Restricted Directory (Path Traversal)' (NVD).

Impact

The vulnerability could allow an attacker to overwrite, delete, or corrupt critical files such as programs, libraries, or important data through directory traversal attacks (Red Hat).

Exploitability

The vulnerability has been documented with a proof-of-concept exploit demonstrating unauthenticated remote command execution capabilities (Packet Storm).

Mitigation and workarounds

Users are advised to upgrade to SaltStack Salt version 3002.5 or later. Multiple Linux distributions have released security updates to address this vulnerability, including Debian, Fedora, and Gentoo (Debian Security, Gentoo Security).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66455CRITICAL9.8
  • Python logoPython
  • lmdeploy
NoYesSep 18, 2026
CVE-2026-63374CRITICAL9.3
  • Python logoPython
  • airflow-core-2
NoYesSep 18, 2026
CVE-2026-59163CRITICAL9.1
  • Python logoPython
  • mnemosyne-memory
NoYesSep 18, 2026
CVE-2026-33625HIGH8.8
  • Python logoPython
  • lmdeploy
NoYesSep 18, 2026
CVE-2026-64847MEDIUM6.8
  • Python logoPython
  • airflow-3
NoYesSep 18, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management