CVE-2021-22557
Code execution in SLO Generator via YAML Payload
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
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
5.3
Code execution in SLO Generator via YAML Payload
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
- Record
CVE-2021-22557- 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 - Weakness
- CWE-94
- Updated
- 2026-11-02
EUVDEUVD-2021-0246
5.3
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
- Record
EUVD-2021-0246- 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 - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-j28r-j54m-gpc4
5.3
Code Injection in SLO Generator
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
- Record
GHSA-j28r-j54m-gpc4- 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 - Weakness
- CWE-78, CWE-94
- Updated
- 2026-11-02
NVD
5.3
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
- Record
CVE-2021-22557- 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 - 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 - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-94, CWE-78
- Updated
- 2026-11-02
OSV
7.8
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
- Record
CVE-2021-22557- 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 - Updated
- 2026-11-02
OSVGHSA-j28r-j54m-gpc4
5.3
Code Injection in SLO Generator
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
- Record
GHSA-j28r-j54m-gpc4- 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 - Weakness
- CWE-78, CWE-94
- Updated
- 2026-11-02
OSVPYSEC-2021-429 No score
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
- Record
PYSEC-2021-429- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
slo-generatorPyPI |
before 2.0.1 | 2.0.1 |
slo-generatorPyPI |
before 2.0.1, plus listed versions 0.1.00.1.10.1.20.1.30.1.4 Show 23 moreShow less0.1.50.1.60.1.70.2.00.2.11.0.01.0.11.1.01.1.11.1.21.2.01.3.01.3.11.3.21.4.01.4.11.5.01.5.12.0.02.0.0rc02.0.0rc22.0.0rc32.0.0rc4 |
2.0.1 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Exploit-DB | Google SLO-Generator 2.0.0 - Code Execution | 2021-10-07 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, Exploit-DB, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-22557 is a medium vulnerability (CVSS 5.3) in Google Slo Generator, published October 4, 2021. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 1.58%, the 75th percentile. Fixed in slo-generator 2.0.1.
References
github.com/google/slo-generator/pull/173
packetstormsecurity.com/files/164426/Google-SLO-Generator-2.0.0-Code-Execution.html
nvd.nist.gov/vuln/detail/CVE-2021-22557
github.com/google/slo-generator/releases/tag/v2.0.1
github.com/google/slo-generator/commit/36318beab1b85d14bb860e45bea186b184690d5d
github.com/pypa/advisory-database/tree/main/vulns/slo-generator/PYSEC-2021-429.yaml
github.com/advisories/GHSA-j28r-j54m-gpc4