# CVE-2021-33226: Buffer Overflow vulnerability in Saltstack v.3003 and before allows attacker to execute arbitrary code via the func variable in salt/salt/m…

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.71%, higher than 78% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-02-17T00:00:00.000Z
- Modified: 2026-06-17T03:54:23.190Z
- Also known as: PYSEC-2023-47
- Weaknesses: CWE-120
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: mitre

## Description

Buffer Overflow vulnerability in Saltstack v.3003 and before allows attacker to execute arbitrary code via the func variable in salt/salt/modules/status.py file. NOTE: this is disputed by third parties because an attacker cannot influence the eval input

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- saltstack salt: up to 3003
- salt (PyPI): before 3003.1

## Every score

- CISA-ADP: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/saltstack/salt/blob/master/salt/modules/status.py> (exploit, advisory, vendor-advisory)
- <https://bugzilla.suse.com/show_bug.cgi?id=1208473>

## Sources

- CVE List: [CVE-2021-33226](https://www.cve.org/CVERecord?id=CVE-2021-33226), CVE Terms of Use, modified 2025-03-18
- NVD: [CVE-2021-33226](https://nvd.nist.gov/vuln/detail/CVE-2021-33226), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2023-47](https://osv.dev/vulnerability/PYSEC-2023-47), CC-BY-4.0, modified 2023-11-08

---

Page: https://cve.day/CVE-2021-33226 · Whole record: https://cve.day/CVE-2021-33226.json · Rebuilt by cve.day 2026-11-25T22:58:08.215Z
