Arbitrary Command Injection Affecting salt package, versions <3002.5-r0


Severity

Recommended
0.0
critical
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
8.25% (95th 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 IDSNYK-ALPINE313-SALT-1253209
  • published22 Apr 2021
  • disclosed27 Feb 2021

Introduced: 27 Feb 2021

CVE-2021-3148  (opens in a new tab)
CWE-77  (opens in a new tab)

How to fix?

Upgrade Alpine:3.13 salt to version 3002.5-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream salt package and not the salt package as distributed by Alpine. See How to fix? for Alpine:3.13 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1