CVE-2020-15271CWE-78

Shell Command Execution in lookatme

Critical · published October 26, 2020

CVSS v3.1
9.3
EPSS
2%
Percentile
83.2
In the wild
Unconfirmed
What it is

🚨 A rogue markdown could trigger malicious shell commands to run automatically! This vulnerability in lookatme versions before 2.3.0 is a critical concern for anyone rendering untrusted markdown. 🔥 Think of it like a restaurant serving a dish you didn’t order, but they secretly include a surprise ingredient that activates a firework show in your kitchen — unexpected and potentially disastrous! An unsuspecting user rendering untrusted markdown could have malicious commands executed on their system, leading to unauthorized access or data loss. This is absolutely devastating if sensitive information is at risk or if a system becomes compromised!

Put simply

Think of it like a restaurant serving a dish you didn’t order, but they secretly include a surprise ingredient that activates a firework show in your kitchen — unexpected and potentially disastrous! This vulnerability allows automatic loading of extensions in the lookatme Python package, specifically the 'terminal' and 'file_loader' extensions, which can execute commands without any user consent when untrusted markdown is rendered.

What to do

An unsuspecting user rendering untrusted markdown could have malicious commands executed on their system, leading to unauthorized access or data loss. This is absolutely devastating if sensitive information is at risk or if a system becomes compromised! Immediately upgrade lookatme to version 2.3.0 to eliminate this risk. If upgrading isn't possible, consider manually deleting the 'terminal.py' and 'file_loader.py' files to prevent automatic execution. Always review markdown content before rendering! You've got this! Follow these steps, and you'll keep your environment secure! 🛡️

The record
Technical detail
CVSS v3.1
9.3 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.02310 · 83.2th percentile
Weakness
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Published
2020-10-26T18:10Z
EPSS history
Timeline
  • 26 OCT 18:10Z
    Shell Command Execution in lookatme
    cvelistv5