{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-22557","id":"CVE-2021-22557","title":"Code execution in SLO Generator via YAML Payload","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","descriptionLong":"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","published":"2021-10-04T10:10:10.000Z","updated":"2026-10-20T10:54:31.270777272Z","reserved":"2021-01-05T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"Google","metric":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"Google"},"metrics":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"Google"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"google.com"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"GitHub"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"medium","products":["Google LLC SLO Generator"],"affectedProducts":[{"vendor":"Google LLC","product":"SLO Generator","defaultStatus":null,"versions":[{"lessThanOrEqual":"2.0.0","status":"affected","version":"unspecified","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"slo-generator","purl":"pkg:pypi/slo-generator","ranges":["<2.0.1"],"fixed":["2.0.1"],"advisory":"GHSA-j28r-j54m-gpc4"}],"cwes":["CWE-94","CWE-78"],"aliases":["GHSA-j28r-j54m-gpc4","PYSEC-2021-429"],"references":[{"url":"https://github.com/google/slo-generator/pull/173","tags":["x_refsource_MISC","x_transferred","Exploit","Patch","Third Party Advisory","fix","web"]},{"url":"http://packetstormsecurity.com/files/164426/Google-SLO-Generator-2.0.0-Code-Execution.html","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","VDB Entry","evidence","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-22557","tags":["advisory"]},{"url":"https://github.com/google/slo-generator/commit/36318beab1b85d14bb860e45bea186b184690d5d","tags":["web"]},{"url":"https://github.com/google/slo-generator/releases/tag/v2.0.1","tags":["web"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/slo-generator/PYSEC-2021-429.yaml","tags":["web"]},{"url":"://github.com/google/slo-generator","tags":["package"]},{"url":"https://github.com/advisories/GHSA-j28r-j54m-gpc4","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.0158,"epssPercentile":0.76032,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-22557","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-22557","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-22557","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-j28r-j54m-gpc4","ok":true,"note":"GHSA-j28r-j54m-gpc4"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-22557","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}