CVE-2021-25283: SaltStack Salt - Server Side Template Injection
- Cve: CVE-2021-25283
- Name: SaltStack Salt - Server Side Template Injection
- Description: An issue was discovered in through SaltStack Salt before 3002.5. The jinja renderer does not protect against server side template injection attacks.
- Impact: Attackers can execute arbitrary code on the server, potentially leading to full system compromise.
- Remediation: Update to version 3002.5 or later.
- Vulnerability type: template_injection
- Vulnerability impact: remote_code_execution
- Requirement type: user_interaction
- Requirements: Attacker needs to control template input
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.10549
- Epss percentile: 0.95852
- Assignee: [email protected]
- Published at: 2021-02-27T05:15:13Z
- Age in days: 2096
- Modified at: 2026-06-17T03:41:45Z
- Patch available: yes
- References total: 9
- Products total: 3
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-25283
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-94 | Improper Control of Generation of Code |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://saltproject.io/security_announcements/active-saltstack-cve-release-2021-feb-25/ | Vendor Advisory |
| https://github.com/saltstack/salt/releases | Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2021/11/msg00009.html | Mailing List, Third Party Advisory |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7GRVZ5WAEI3XFN2BDTL6DDXFS5HYSDVB/ | Mailing List, Third Party Advisory |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FUGLOJ6NXLCIFRD2JTXBYQEMAEF2B6XH/ | Mailing List, Third Party Advisory |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YOGNT2XWPOYV7YT75DN7PS4GIYWFKOK5/ | Mailing List, Third Party Advisory |
| https://security.gentoo.org/glsa/202103-01 | Third Party Advisory |
| https://security.gentoo.org/glsa/202310-22 | Third Party Advisory |
| https://www.debian.org/security/2021/dsa-5011 | Third Party Advisory |
Products
Same in every row:
- Platform bound: no
- Sources: nvd
| Product | Affected | Url |
|---|---|---|
| saltstack:salt | >= 3002, < 3002.5; >= 3001, < 3001.4; >= 3000, < 3000.6; >= 2019.2.6, < 2019.2.8; >= 2019.2.0, < 2019.2.5; >= 2018.2.0, <= 2018.3.5; >= 2017.5.0, < 2017.7.8; >= 2016.11.7, < 2016.11.10; >= 2016.11.4, < 2016.11.5; >= 2016.3.9, < 2016.11.3; >= 2016.3.7, < 2016.3.8; >= 2016.3.5, < 2016.3.6; >= 2016.3.0, < 2016.3.4; >= 2015.8.11, < 2015.8.13; < 2015.8.10 | /v1/products/saltstack/salt |
| debian:debian_linux | = 11.0, = 10.0, = 9.0 | /v1/products/debian/debian_linux |
| fedoraproject:fedora | = 34, = 33, = 32 | /v1/products/fedoraproject/fedora |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| saltstack/salt | fix, package, releases | yes | /v1/repositories/saltstack/salt |
Index
- Repositories: 3
- Repositories high signal: 2
- Packages: 1
Exploitation
- Remote: yes
- Exposed hosts: 4739835
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports