CVE-2021-3148

CRITICALCVSS 9.8/10EPSS 8.25%

Last modified

CVE-2021-3148 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 8.25% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
9.8/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS Probability
8.25%

94.2th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
SaltstackSalt< 2015.8.10
SaltstackSalt>= 2015.8.11, < 2015.8.13
SaltstackSalt>= 2016.3.0, < 2016.3.4
SaltstackSalt>= 2016.3.5, < 2016.3.6
SaltstackSalt>= 2016.3.7, < 2016.3.8
SaltstackSalt>= 2016.3.9, < 2016.11.3
SaltstackSalt>= 2016.11.4, < 2016.11.5
SaltstackSalt>= 2016.11.7, < 2016.11.10
SaltstackSalt>= 2017.5.0, < 2017.7.8
SaltstackSalt>= 2018.2.0, <= 2018.3.5
SaltstackSalt>= 2019.2.0, < 2019.2.5
SaltstackSalt>= 2019.2.6, < 2019.2.8
SaltstackSalt>= 3000, < 3000.6
SaltstackSalt>= 3001, < 3001.4
SaltstackSalt>= 3002, < 3002.5
FedoraprojectFedora32
FedoraprojectFedora33
FedoraprojectFedora34
DebianDebian Linux9.0
DebianDebian Linux10.0
DebianDebian Linux11.0

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2021-3148?
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.
How severe is CVE-2021-3148?
CVE-2021-3148 has a CVSS score of 9.8/10 (CRITICAL severity). The EPSS model estimates a 8.25% probability of exploitation in the next 30 days.
How do I fix CVE-2021-3148?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2021-3148?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST