Advisory

GHSA-c84h-w6cr-5v8q

Also known as: CVE-2020-15271, PYSEC-2020-61

Summary

Markdown-supplied Shell Command Execution

Details

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:

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2020-10-27 17:59 UTC
Modified
2026-09-10 03:48 UTC

Affected packages and fixes

lookatme

PyPI · All systems

Affected

  • introduced 0, fixed 2.3.0 (ecosystem)

Fixed versions

2.3.0

Fix

  • Fixed version 2.3.0
    pip install --upgrade lookatme==2.3.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences