CVE-2021-25283

An issue was discovered in through SaltStack Salt before 3002.5

published February 27, 2021

CVSS
—
EPSS
10%
Percentile
95.7
In the wild
Unconfirmed
What it is

⚠️ A crafty server-side template injection vulnerability lurks in SaltStack Salt before version 3002.5, like a clever chef sneaking a surprise ingredient into the mix! Imagine a restaurant where the chef can add secret ingredients without the waitstaff checking the orders — that's what this vulnerability allows an attacker to do with templates, potentially leading to unexpected and undesirable outcomes. An attacker could manipulate templates and execute arbitrary code on the server, leading to unauthorized access and possible data breaches. This could be like allowing someone to change the menu items without your knowledge, dramatically affecting the quality and safety of the dishes served!

Put simply

Imagine a restaurant where the chef can add secret ingredients without the waitstaff checking the orders — that's what this vulnerability allows an attacker to do with templates, potentially leading to unexpected and undesirable outcomes. This vulnerability arises from the jinja renderer's failure to secure against server-side template injection, meaning that malicious templates can be executed on the server without proper checks in place.

What to do

An attacker could manipulate templates and execute arbitrary code on the server, leading to unauthorized access and possible data breaches. This could be like allowing someone to change the menu items without your knowledge, dramatically affecting the quality and safety of the dishes served! Upgrade your SaltStack Salt to at least version 3002.5 to close this security gap. Additionally, review your template rendering practices to ensure safety measures are in place to prevent such injection attacks in the future. You've got this! By taking these steps, you'll keep your server as safe as a well-guarded kitchen. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.10233 · 95.7th percentile
Published
2021-02-27T00:00Z
EPSS history
Timeline
  • 27 FEB 00:00Z
    An issue was discovered in through SaltStack Salt before 3002.5
    cvelistv5