Markdown-supplied Shell Command Execution
Critical severity
GitHub Reviewed
Published
Oct 23, 2020
in
d0c-s4vage/lookatme
•
Updated Sep 30, 2024
Description
Reviewed
Oct 26, 2020
Published to the GitHub Advisory Database
Oct 27, 2020
Last updated
Sep 30, 2024
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
andlookatme/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:
References