CVE-2020-15271
JSON

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 packageVersionsReported by
d0c-s4vage lookatme< 2.3.0CVE List
lookatme (PyPI)before 2.3.0, before 72fe36b784b234548d49dae60b840c37f0eb8d84GitHub Advisory Database, PyPA Advisory Database
lookatme_project lookatmebefore 2.3.0NVD

All scores

GitHub_M9.3critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
GitHub9.3critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
GitHubcritical CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD9.3high CVSS:2.0AV: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
For more information

If you have any questions or comments about this advisory:

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".&#xa0;Los usuarios que usan lookatme para renderizar rebajas que no son de confianza pueden ejecutar comandos de shell maliciosos automáticamente en su sistema.&#xa0;Esto es corregido en la versión 2.3.0.&#xa0;Como solución alternativa, los archivos "lookatme/contrib/terminal.py" y "lookatme/contrib/file_loader.py" pueden ser eliminados manualmente.&#xa0;Además, es siempre recomendado estar al tanto de lo que se está renderizando con lookatme

References

Sources

SourceRecordLicence
CVE ListCVE-2020-15271 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-c84h-w6cr-5v8q changed 2026-09-10CC-BY-4.0
NVDCVE-2020-15271 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2020-61 changed 2023-11-08CC-BY-4.0