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

- Priority: **Prioritise**
- Reason: Weaponized exploit (exploit-database, 07-10-2021)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2021-10-04 · Modified: 2024-08-03
- Aliases: GHSA-j28r-j54m-gpc4, PYSEC-2021-429
- Record: https://cvemate.com/vulnerability/CVE-2021-22557 · JSON: https://cvemate.com/vulnerability/CVE-2021-22557/json

## Description

```text
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
```

## Signals

- CVSS: 7.8 high (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 1.58%, percentile 76.358%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 3 (github, reference, exploit-database)

## Affected

- google llc slo generator: ≥ unspecified, ≤ 2.0.0
- google slo\_generator: \< 2.0.1
- PyPI slo-generator (PyPI): \< 2.0.1

## References

- <https://github.com/google/slo-generator/pull/173>
- <http://packetstormsecurity.com/files/164426/Google-SLO-Generator-2.0.0-Code-Execution.html>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-22557>
- <https://github.com/google/slo-generator/commit/36318beab1b85d14bb860e45bea186b184690d5d>
- <https://github.com/google/slo-generator/releases/tag/v2.0.1>
- <https://github.com/pypa/advisory-database/tree/main/vulns/slo-generator/PYSEC-2021-429.yaml>
- <https://github.com/advisories/GHSA-j28r-j54m-gpc4>

---

Data as of 2026-12-05T07:00:40.546Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
