{"id":"CVE-2020-15271","state":"PUBLISHED","title":"Shell Command Execution in lookatme","description":"In lookatme (python/pypi package) versions prior to 2.3.0, the package 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. This is fixed in version 2.3.0. As a workaround, 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.","publishedAt":"2020-10-26T18:10:36.000Z","updatedAt":"2024-08-04T13:15:19.024Z","severity":{"score":9.3,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["d0c-s4vage lookatme"],"affected":[{"vendor":"d0c-s4vage","product":"lookatme","versions":[{"version":"< 2.3.0","status":"affected"}]}],"references":["https://github.com/d0c-s4vage/lookatme/security/advisories/GHSA-c84h-w6cr-5v8q","https://github.com/d0c-s4vage/lookatme/pull/110","https://github.com/d0c-s4vage/lookatme/commit/72fe36b784b234548d49dae60b840c37f0eb8d84","https://github.com/d0c-s4vage/lookatme/releases/tag/v2.3.0","https://pypi.org/project/lookatme/#history"],"weaknesses":["CWE-78"],"ingestedAt":"2026-10-29T19:46:36.523Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2020/15xxx/CVE-2020-15271.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2020-15271","state":"PUBLISHED","datePublished":"2020-10-26T18:10:36.000Z","dateUpdated":"2024-08-04T13:15:19.024Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2020-06-25T00:00:00.000Z"},"containers":{"cna":{"title":"Shell Command Execution in lookatme","descriptions":[{"lang":"en","value":"In lookatme (python/pypi package) versions prior to 2.3.0, the package 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. This is fixed in version 2.3.0. As a workaround, 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."}],"affected":[{"vendor":"d0c-s4vage","product":"lookatme","versions":[{"version":"< 2.3.0","status":"affected"}]}],"references":[{"url":"https://github.com/d0c-s4vage/lookatme/security/advisories/GHSA-c84h-w6cr-5v8q","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/d0c-s4vage/lookatme/pull/110","tags":["x_refsource_MISC"]},{"url":"https://github.com/d0c-s4vage/lookatme/commit/72fe36b784b234548d49dae60b840c37f0eb8d84","tags":["x_refsource_MISC"]},{"url":"https://github.com/d0c-s4vage/lookatme/releases/tag/v2.3.0","tags":["x_refsource_MISC"]},{"url":"https://pypi.org/project/lookatme/#history","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":9.3,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-78","description":"CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","dateUpdated":"2020-10-26T18:10:36.000Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa"},"source":{"advisory":"GHSA-c84h-w6cr-5v8q","discovery":"UNKNOWN"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2020-15271","STATE":"PUBLIC","TITLE":"Shell Command Execution in lookatme"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"lookatme","version":{"version_data":[{"version_value":"< 2.3.0"}]}}]},"vendor_name":"d0c-s4vage"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"In lookatme (python/pypi package) versions prior to 2.3.0, the package 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. This is fixed in version 2.3.0. As a workaround, 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."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":9.3,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')"}]}]},"references":{"reference_data":[{"name":"https://github.com/d0c-s4vage/lookatme/security/advisories/GHSA-c84h-w6cr-5v8q","refsource":"CONFIRM","url":"https://github.com/d0c-s4vage/lookatme/security/advisories/GHSA-c84h-w6cr-5v8q"},{"name":"https://github.com/d0c-s4vage/lookatme/pull/110","refsource":"MISC","url":"https://github.com/d0c-s4vage/lookatme/pull/110"},{"name":"https://github.com/d0c-s4vage/lookatme/commit/72fe36b784b234548d49dae60b840c37f0eb8d84","refsource":"MISC","url":"https://github.com/d0c-s4vage/lookatme/commit/72fe36b784b234548d49dae60b840c37f0eb8d84"},{"name":"https://github.com/d0c-s4vage/lookatme/releases/tag/v2.3.0","refsource":"MISC","url":"https://github.com/d0c-s4vage/lookatme/releases/tag/v2.3.0"},{"name":"https://pypi.org/project/lookatme/#history","refsource":"MISC","url":"https://pypi.org/project/lookatme/#history"}]},"source":{"advisory":"GHSA-c84h-w6cr-5v8q","discovery":"UNKNOWN"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/d0c-s4vage/lookatme/security/advisories/GHSA-c84h-w6cr-5v8q","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/d0c-s4vage/lookatme/pull/110","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/d0c-s4vage/lookatme/commit/72fe36b784b234548d49dae60b840c37f0eb8d84","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/d0c-s4vage/lookatme/releases/tag/v2.3.0","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://pypi.org/project/lookatme/#history","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T13:15:19.024Z"}}]}}}