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.
Users should upgrade to lookatme versions 2.3.0 or above.
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.
If you have any questions or comments about this advisory:
github.com/d0c-s4vage/lookatme
github.com/d0c-s4vage/lookatme/commit/72fe36b784b234548d49dae60b840c37f0eb8d84
github.com/d0c-s4vage/lookatme/pull/110
github.com/d0c-s4vage/lookatme/releases/tag/v2.3.0
github.com/d0c-s4vage/lookatme/security/advisories/GHSA-c84h-w6cr-5v8q
nvd.nist.gov/vuln/detail/CVE-2020-15271
pypi.org/project/lookatme/#history