CVE-2021-27213
9.8critical
config.py in pystemon before 2021-02-13 allows code execution via YAML deserialization because SafeLoader and safeload are not used.
- Severity
- 9.8critical CVSS:3.1 by NVD
- Exploit likelihood
- 2.65% (higher than 86% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
Description
config.py in pystemon before 2021-02-13 allows code execution via YAML deserialization because SafeLoader and safe_load are not used.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| pystemon_project pystemon | before 2021-02-13 | NVD |
All scores
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
What each source says
CVE List
config.py in pystemon before 2021-02-13 allows code execution via YAML deserialization because SafeLoader and safe_load are not used.
NVD (es)
El archivo config.py en pystemon antes del 13-02-2021, permite una ejecución de código por medio de la deserialización YAML porque las funciones SafeLoader y safe_load no son usadas
References
| https://github.com/cvandeplas/pystemon/commit/dbeb87afefdb63de2f4cff69b6f10c5965d14b54 | patch, third-party-advisory | |
| https://www.huntr.dev/bounties/1-other-pystemon/ | exploit, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-27213 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-27213 changed 2026-06-17 | Public domain |