CVE-2021-25283
CRITICAL 9.8CVSS 3.1SaltStack Salt Server Side Template Injection
An issue was discovered in through SaltStack Salt before 3002.5. The jinja renderer does not protect against server side template injection attacks.
- Published
- 27 Feb 2021
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-94
- Also known as
- GHSA-xgmh-gfxw-2hvvPYSEC-2021-52
- Sources
- NVDJSONOSV GHSA-xgmh-gfxw-2hvvJSONOSV PYSEC-2021-52JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | saltstack | saltcpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:* |
< 2015.8.10 | 2015.8.10 |
| NVD | saltstack | saltcpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:* |
>= 2015.8.11, < 2015.8.13 | 2015.8.13 |
| NVD | saltstack | saltcpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:* |
>= 2016.3.0, < 2016.3.4 | 2016.3.4 |
| NVD | saltstack | saltcpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:* |
>= 2016.3.5, < 2016.3.6 | 2016.3.6 |
| NVD | saltstack | saltcpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:* |
>= 2016.3.7, < 2016.3.8 | 2016.3.8 |
| NVD | saltstack | saltcpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:* |
>= 2016.3.9, < 2016.11.3 | 2016.11.3 |
| NVD | saltstack | saltcpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:* |
>= 2016.11.4, < 2016.11.5 | 2016.11.5 |
| NVD | saltstack | saltcpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:* |
>= 2016.11.7, < 2016.11.10 | 2016.11.10 |
| NVD | saltstack | saltcpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:* |
>= 2017.5.0, < 2017.7.8 | 2017.7.8 |
| NVD | saltstack | saltcpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:* |
>= 2018.2.0, <= 2018.3.5 | |
| NVD | saltstack | saltcpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:* |
>= 2019.2.0, < 2019.2.5 | 2019.2.5 |
| NVD | saltstack | saltcpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:* |
>= 2019.2.6, < 2019.2.8 | 2019.2.8 |
| NVD | saltstack | saltcpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:* |
>= 3000, < 3000.6 | 3000.6 |
| NVD | saltstack | saltcpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:* |
>= 3001, < 3001.4 | 3001.4 |
| NVD | saltstack | saltcpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:* |
>= 3002, < 3002.5 | 3002.5 |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* |
= 32 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* |
= 33 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* |
= 34 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* |
= 11.0 | |
| OSV | PyPI | salt | < 2015.8.13 | 2015.8.13 |
| OSV | PyPI | salt | >= 2016.3.0, < 2016.11.5 | 2016.11.5 |
| OSV | PyPI | salt | >= 2016.11.7, < 2016.11.10 | 2016.11.10 |
| OSV | PyPI | salt | >= 2017.5.0, < 2017.7.8 | 2017.7.8 |
| OSV | PyPI | salt | >= 2018.2.0, <= 2018.3.5 | |
| OSV | PyPI | salt | >= 2019.2.0, < 2019.2.8 | 2019.2.8 |
| OSV | PyPI | salt | >= 3000, < 3000.7 | 3000.7 |
| OSV | PyPI | salt | >= 3001, < 3001.5 | 3001.5 |
| OSV | PyPI | salt | >= 3002, < 3002.5 | 3002.5 |
| OSV | PyPI | salt | < 2015.8.10; >= 2015.8.11, < 2015.8.13; >= 2016.3.0, < 2016.3.4; >= 2016.3.5, < 2016.3.6; >= 2016.3.7, < 2016.3.8; >= 2016.11.0, < 2016.11.3; >= 2016.11.4, < 2016.11.5; >= 2016.11.7, < 2016.11.10; >= 2017.7.0, < 2017.7.8; >= 2018.3.0rc1, < 2019.2.0rc1; >= 2019.2.0, < 2019.2.5; >= 2019.2.6, < 2019.2.8; >= 3000, < 3000.6; >= 3001, < 3001.4; >= 3002, < 3002.5 | 2015.8.10, 2015.8.13, 2016.3.4, 2016.3.6, 2016.3.8, 2016.11.3, 2016.11.5, 2016.11.10, 2017.7.8, 2019.2.0rc1, 2019.2.5, 2019.2.8, 3000.6, 3001.4, 3002.5 |
References
- https://github.com/saltstack/salt/releases · Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2021/11/msg00009.html · Mailing List, Third Party Advisory, WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7GRVZ5WAEI3XFN2BDTL6DDXFS5HYSDVB/ · Mailing List, Third Party Advisory, WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FUGLOJ6NXLCIFRD2JTXBYQEMAEF2B6XH/ · Mailing List, Third Party Advisory, WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YOGNT2XWPOYV7YT75DN7PS4GIYWFKOK5/ · Mailing List, Third Party Advisory, WEB
- https://saltproject.io/security_announcements/active-saltstack-cve-release-2021-feb-25/ · Vendor Advisory, WEB
- https://security.gentoo.org/glsa/202103-01 · Third Party Advisory, WEB, ADVISORY
- https://security.gentoo.org/glsa/202310-22 · Third Party Advisory, WEB
- https://www.debian.org/security/2021/dsa-5011 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-25283 · ADVISORY
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YOGNT2XWPOYV7YT75DN7PS4GIYWFKOK5 · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FUGLOJ6NXLCIFRD2JTXBYQEMAEF2B6XH · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7GRVZ5WAEI3XFN2BDTL6DDXFS5HYSDVB · WEB
- https://github.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/3002.5.rst#L12 · WEB
- https://github.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/3001.5.rst#L34 · WEB
- https://github.com/saltstack/salt · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2021-52.yaml · WEB
- https://github.com/advisories/GHSA-xgmh-gfxw-2hvv · ADVISORY
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 27 Feb 2021)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 27 Feb 2021)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 24 May 2022)