Paper/Archive/CVE-2020-15271

CVE-2020-15271

d0c-s4vage lookatme — Shell Command Execution in lookatme

Description · from the CVE record

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

ProductAffectedFixed inSource
lookatme< 2.3.0–CNA

Scores by source

GitHub_M (CNA)9.3CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N

References

refgithub.com/d0c-s4vage/lookatme/security/advisories/GHSA-c84h-w6cr-5v8qrefgithub.com/d0c-s4vage/lookatme/pull/110refgithub.com/d0c-s4vage/lookatme/commit/72fe36b784b234548d49dae60b840c37f0eb8d84refgithub.com/d0c-s4vage/lookatme/releases/tag/v2.3.0refpypi.org/project/lookatme/#history