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

- Severity: Medium 5.3 (CVSS:3.1, scored by Google) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- 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.58%, higher than 76% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2021-10-04T10:10:10.000Z
- Modified: 2026-06-17T03:37:25.840Z
- Also known as: GHSA-j28r-j54m-gpc4, PYSEC-2021-429
- Weaknesses: CWE-78, CWE-94
- Assigned by: Google

## 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

(As written by CVE List.)

## Affected

- Google LLC SLO Generator: from unspecified up to 2.0.0
- slo-generator (PyPI): before 2.0.1
- google slo_generator: before 2.0.1

## Every score

- Google: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

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

## Sources

- CVE List: [CVE-2021-22557](https://www.cve.org/CVERecord?id=CVE-2021-22557), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-j28r-j54m-gpc4](https://github.com/advisories/GHSA-j28r-j54m-gpc4), CC-BY-4.0, modified 2024-10-22
- NVD: [CVE-2021-22557](https://nvd.nist.gov/vuln/detail/CVE-2021-22557), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2021-429](https://osv.dev/vulnerability/PYSEC-2021-429), CC-BY-4.0, modified 2023-11-08

---

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