Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. slo-generator
  4. ›
  5. CVE-2021-22557

CVE-2021-22557: Code Injection in SLO Generator

October 5, 2021 (updated October 22, 2024)

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

References

  • github.com/advisories/GHSA-j28r-j54m-gpc4
  • github.com/google/slo-generator/commit/36318beab1b85d14bb860e45bea186b184690d5d
  • github.com/google/slo-generator/pull/173
  • github.com/google/slo-generator/releases/tag/v2.0.1
  • github.com/pypa/advisory-database/tree/main/vulns/slo-generator/PYSEC-2021-429.yaml
  • nvd.nist.gov/vuln/detail/CVE-2021-22557

Code Behaviors & Features

Detect and mitigate CVE-2021-22557 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2.0.1

Fixed versions

  • 2.0.1

Solution

Upgrade to version 2.0.1 or above.

Impact 7.8 HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

pypi/slo-generator/CVE-2021-22557.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:05 +0000.