GitHub Advisoryadvisory · PyPI
GHSA-c84h-w6cr-5v8q Markdown-supplied Shell Command Execution
CRITICAL
Official page ↗
- Aliases
- CVE-2020-15271
- Ecosystem
- PyPI
- Packages
- lookatme
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
- Weaknesses
- CWE-78
- Reviewed
- 2020-10-26
Affected packages
• PyPI lookatme: < 2.3.0 → fixed in 2.3.0
Description
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:
• Open an issue in d0c-s4vage/lookatme
Related
Alias · CVE (1)
- CVE-2020-15271 In lookatme (python/pypi package) versions prior to 2.3.0, the package automatically loaded the built-in "terminal" and "file_loader"… vulnerability
Weakness · CWE (1)
- CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness
References
- https://github.com/d0c-s4vage/lookatme/security/advisories/GHSA-c84h-w6cr-5v8q web
- https://nvd.nist.gov/vuln/detail/CVE-2020-15271 advisory
- https://github.com/d0c-s4vage/lookatme/pull/110 web
- https://github.com/d0c-s4vage/lookatme/commit/72fe36b784b234548d49dae60b840c37f0eb8d84 web
- https://github.com/d0c-s4vage/lookatme package
- https://github.com/d0c-s4vage/lookatme/releases/tag/v2.3.0 web
- https://github.com/pypa/advisory-database/tree/main/vulns/lookatme/PYSEC-2020-61.yaml web
- https://pypi.org/project/lookatme/#history web