Skip to content
Fencer Vulns
medium 5.3

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

  1. Published
  2. 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

Weakness
  • CWE-94 Improper Control of Generation of Code
  • CWE-78 Improper Neutralization of Special Elements used in an OS Command

References

Sources

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.