CVE-2021-22557 json
Code execution in SLO Generator via YAML Payload
published 2021-10-04 5 y ago modified 2026-06-17 4 mo ago also GHSA-j28r-j54m-gpc4 , PYSEC-2021-429 , EUVD-2021-0246
- cvss
- 5.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.6%
- EPSS 1.6% chance of exploitation in 30 days, percentile 75%
- public exploits
- 1
- Exploit-DB
Summary
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
Patch / fix
- pypi slo-generator 2.0.1
- google slo_generator 2.0.1
Timeline
- Published
- First public exploit (EDB-50385)
Exploit prediction
1.58% chance of exploitation in the next 30 days, higher than 75% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- EDB-50385 Google SLO-Generator 2.0.0 - Code Execution local, 2021-10-07
- github.com https://github.com/google/slo-generator/pull/173 referenced PoC, tagged "exploit" by a source, unverified
- packetstormsecurity.com http://packetstormsecurity.com/files/164426/Google-SLO-Generator-2.0.0-Code-Execution.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 5.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | slo-generator | <2.0.1 |
2.0.1 |
Affected products
- Google LLC SLO Generator
Classification
References
-
github.com
/google/slo-generator/pull/173
web, exploit, patch, third-party-advisory
-
github.com
/google/slo-generator/commit/36318beab1b85d14bb860e45bea186b184690d5d
web
-
packetstormsecurity.com
/files/164426/Google-SLO-Generator-2.0.0-Code-Execution.html
web, exploit, third-party-advisory, vdb-entry
-
nvd.nist.gov
/vuln/detail/CVE-2021-22557
advisory
-
github.com
/google/slo-generator/releases/tag/v2.0.1
web
-
github.com
/pypa/advisory-database/tree/main/vulns/slo-generator/PYSEC-2021-429.yaml
web
-
github.com
/advisories/GHSA-j28r-j54m-gpc4
advisory
Sources
- CVE List CVE-2021-22557
- GitHub Advisory GHSA-j28r-j54m-gpc4
- NVD CVE-2021-22557
- OSV PYSEC-2021-429
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.