9.3critical
Shell Command Execution in lookatme
- Severity
- 9.3critical CVSS:3.1 by GitHub_M
- Exploit likelihood
- 2.31% (higher than 83% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-c84h-w6cr-5v8qPYSEC-2020-61
Description
In lookatme (python/pypi package) versions prior to 2.3.0, the package automatically loaded the built-in "terminal" and "file_loader" extensions. Users that use lookatme to render untrusted markdown may have malicious shell commands automatically run on their system. This is fixed in version 2.3.0. As a workaround, the `lookatme/contrib/terminal.py` and `lookatme/contrib/file_loader.py` files may be manually deleted. Additionally, it is always recommended to be aware of what is being rendered with lookatme.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| d0c-s4vage lookatme | < 2.3.0 | CVE List |
| lookatme (PyPI) | before 2.3.0, before 72fe36b784b234548d49dae60b840c37f0eb8d84 | GitHub Advisory Database, PyPA Advisory Database |
| lookatme_project lookatme | before 2.3.0 | NVD |
All scores
| GitHub_M | 9.3critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N |
| GitHub | 9.3critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N |
| GitHub | critical CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 9.3high CVSS:2.0 | AV:N/AC:M/Au:N/C:C/I:C/A:C |
Classification
What each source says
CVE List
In lookatme (python/pypi package) versions prior to 2.3.0, the package automatically loaded the built-in "terminal" and "file_loader" extensions. Users that use lookatme to render untrusted markdown may have malicious shell commands automatically run on their system. This is fixed in version 2.3.0. As a workaround, the `lookatme/contrib/terminal.py` and `lookatme/contrib/file_loader.py` files may be manually deleted. Additionally, it is always recommended to be aware of what is being rendered with lookatme.
GitHub Advisory Database
Impact
lookatme versions prior to 2.3.0 automatically loaded the built-in "terminal" and "file_loader" extensions. Users that use lookatme to render untrusted markdown may have malicious shell commands automatically run on their system.
Patches
Users should upgrade to lookatme versions 2.3.0 or above.
Workarounds
The lookatme/contrib/terminal.py and lookatme/contrib/file_loader.py files may be manually deleted. Additionally, it is always recommended to be aware of what is being rendered with lookatme.
References
- https://github.com/d0c-s4vage/lookatme/pull/110
- https://github.com/d0c-s4vage/lookatme/releases/tag/v2.3.0
For more information
If you have any questions or comments about this advisory:
- Open an issue in d0c-s4vage/lookatme
NVD (es)
En lookatme (paquete python/pypi) versiones anteriores a 2.3.0, el paquete cargaba automáticamente las extensiones integradas "terminal" y "file_loader". Los usuarios que usan lookatme para renderizar rebajas que no son de confianza pueden ejecutar comandos de shell maliciosos automáticamente en su sistema. Esto es corregido en la versión 2.3.0. Como solución alternativa, los archivos "lookatme/contrib/terminal.py" y "lookatme/contrib/file_loader.py" pueden ser eliminados manualmente. Además, es siempre recomendado estar al tanto de lo que se está renderizando con lookatme
References
| https://github.com/d0c-s4vage/lookatme/security/advisories/GHSA-c84h-w6cr-5v8q | advisory, third-party-advisory, web | |
| https://github.com/d0c-s4vage/lookatme/pull/110 | exploit, third-party-advisory, web | |
| https://github.com/d0c-s4vage/lookatme/commit/72fe36b784b234548d49dae60b840c37f0eb8d84 | fix, patch, third-party-advisory, web | |
| https://github.com/d0c-s4vage/lookatme/releases/tag/v2.3.0 | release-notes, third-party-advisory, web | |
| https://pypi.org/project/lookatme/#history | package, release-notes, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2020-15271 | advisory | |
| https://github.com/d0c-s4vage/lookatme | package | |
| https://github.com/pypa/advisory-database/tree/main/vulns/lookatme/PYSEC-2020-61.yaml | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-15271 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-c84h-w6cr-5v8q changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2020-15271 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2020-61 changed 2023-11-08 | CC-BY-4.0 |