nday
CVE-2021-22557

Code execution in SLO Generator via YAML Payload

Google LLC / SLO Generator

A public PoC appeared 3 days after disclosure. nday has no fix record for it yet; that does not mean no patch exists. Listed by 1 of 4 PoC sources: exploitdb. Not in CISA KEV.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

command injection
CWE-78, stated by NVD's analysts
code injection
CWE-94, stated by the CNA Google and NVD, republishing [email protected]
local
AV:L in CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L (CVSS 3.1) from the CNA Google
no user interaction
UI:N in CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L (CVSS 3.1) from the CNA Google
Exploit-DB
Exploit-DB entries 50385
stage
POC
disclosed
disclosure → PoC
T+3d POC is date-only
cvss
5.3 MEDIUM v3.1

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
2021-10-04T10:10Z
PATpatch
no record yet
ANAanalysis
no record yet
POCPoC
2021-10-07, date only
ITWexploited
no record yet
KEVKEV
no record yet

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

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:L
Local: needs a local or SSH session, or a user tricked into acting on the machine
Attack complexity AC:L
Low: no special conditions; the attacker can expect repeatable success
Privileges required PR:L
Low: ordinary user privileges
User interaction UI:N
None: no action by anyone other than the attacker

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

CVSS 3.1 vector from the CVE record, scored by the CNA Google.

Event log

+DISdisclosed

CVE record published by Google. CVSS 5.3, medium.

src cvelist · nday , bulk import · raw
{
  "id": 62921,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2021-22557",
  "occurred_at": "2021-10-04T10:10:10Z",
  "observed_at": "2026-11-12T20:03:12.555163Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L",
      "version": "3.1",
      "base_score": 5.3,
      "base_severity": "MEDIUM"
    },
    "state": "PUBLISHED",
    "date_published": "2021-10-04T10:10:10.000Z",
    "assigner_short_name": "Google"
  }
}
2021-10-07date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “Google SLO-Generator 2.0.0 - Code Execution” (EDB-50385). Verified by Exploit-DB.

src exploitdb 50385 · nday , bulk import · raw
{
  "id": 23985,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/50385",
  "occurred_at": "2021-10-07T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "50385",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/50385",
    "file": "exploits/linux/local/50385.txt",
    "kind": "exploit",
    "tags": [],
    "type": "local",
    "title": "Google SLO-Generator 2.0.0 - Code Execution",
    "author": "Kiran Ghimire",
    "edb_id": 50385,
    "cve_ids": [
      "CVE-2021-22557"
    ],
    "platform": "linux",
    "verified": true,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2021-10-07",
    "date_updated": "2021-10-07",
    "date_published": "2021-10-07"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.