Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
🐍
🐍 PyPI
Not in CISA KEV
HIGH severity

CVE-2021-22557 — slo-generator

HIGHFix: google/slo-generator#173

CVE-2021-22557 is a high-severity (CVSS 7.8) Code Injection vulnerability in slo-generator. 3 public exploit references exist, so weaponization risk is real. A fix is available for slo-generator — see the affected versions and patch details below.

Code Injection in SLO Generator

Also known asGHSA-j28r-j54m-gpc4PYSEC-2021-429
Published
Updated
Affected
1 pkg
Patched
1 / 1
Exploits
3 known
Exploitation data as of Oct 6, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
1.6%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs75th percentile — riskier than 75% of all scored CVEsHighest risk
1.08%1.41%1.75%2.08%1.6%1.6%Oct 26Oct 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

CVE-2021-22557 by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.

Where this sits among everything scored

Of 385,386 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Counts from FIRST.org, log-scaled.

Real-World Exposure

1 pkg affected
🐍slo-generator

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects PyPI packages — download data is not available via public APIs for these ecosystems.

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

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
🐍PyPIslo-generatorall versions2.0.1pip install --upgrade 'slo-generator==2.0.1'

Affected Products

1 product · 1 configurations
Application
slo generatorgoogle
< 2.0.1
range
Exploits & PoCs
3

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

EDB-50385locallinux✓ Verified

Google SLO-Generator 2.0.0 - Code Execution

by Kiran Ghimire · Oct 7, 2021

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for slo-generator, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update slo-generator to 2.0.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2021-22557 is resolved across your whole dependency graph.

  3. Workarounds

    Stop passing untrusted input into the interpreter or shell: call the affected binary with an argument array rather than a composed command string, reject anything outside a strict allowlist of expected values, and run the component under an account that cannot reach beyond the work it legitimately does.

Frequently Asked Questions

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
O3 Security · Impact-Aware SCA

Is CVE-2021-22557 in your dependencies?

Find it across PyPI, including transitive dependencies.

CVE-2021-22557: slo-generator — Fixed in 2.0.1