CVE-2021-3148

salt: Command injection in salt.utils.thin.gen_thin()

Published Feb 27, 2021 CVSS 3.1 · 9.8 Critical EPSS 8.2% KEV · Not listed
Description
An issue was discovered in SaltStack Salt before 3002.5. Sending crafted web requests to the Salt API can result in salt.utils.thin.gen_thin() command injection because of different handling of single versus double quotes. This is related to salt/utils/thin.py.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-2815-1 salt security update
Debian DSA Debian DSA DSA-5011-1 salt security update
Github GHSA Github GHSA GHSA-ghc2-hx3w-jqmp SaltStack Salt command injection in the Salt-API when using the Salt-SSH client
Ubuntu USN Ubuntu USN USN-6948-1 Salt vulnerabilities
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 3, 2024, 4:45 PM
Reserved
Jan 14, 2021, 12:00 AM
Status
Modified
Published
Feb 27, 2021, 5:15 AM
Modified
Jun 17, 2026, 4:04 AM
Severity
Moderate
Public date
Feb 25, 2021, 12:00 AM