Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWM4NGgtdzZjci01djhx

Markdown-supplied Shell Command Execution

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:

Permalink: https://github.com/advisories/GHSA-c84h-w6cr-5v8q
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWM4NGgtdzZjci01djhx
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: over 3 years ago
Updated: 8 months ago


CVSS Score: 9.3
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N

Identifiers: GHSA-c84h-w6cr-5v8q, CVE-2020-15271
References: Repository: https://github.com/d0c-s4vage/lookatme
Blast Radius: 8.9

Affected Packages

pypi:lookatme
Dependent packages: 0
Dependent repositories: 9
Downloads: 485 last month
Affected Version Ranges: < 2.3.0
Fixed in: 2.3.0
All affected versions: 0.0.2, 0.1.0, 0.1.1, 0.2.0, 0.3.0, 0.4.0, 0.5.0, 1.0.0, 1.0.1, 1.1.0, 1.1.1, 1.2.0, 1.2.1, 1.3.0, 2.0.0, 2.1.0, 2.2.0
All unaffected versions: 2.3.0, 2.3.1, 2.3.2, 2.4.0, 2.4.1, 2.5.0, 2.5.1, 2.5.2, 2.5.4, 2.5.5