CVE-2021-23422
Python vulnerability analysis and mitigation

Overview

CVE-2021-23422 affects the package bikeshed before version 3.0.0. The vulnerability occurs when an untrusted source file containing Inline Tag Command metadata is processed, allowing arbitrary OS command execution with the command output being included in the HTML output (CVE Details).

Technical details

The vulnerability exists in the inline tag processing functionality of bikeshed. When processing source files containing Inline Tag Command metadata, the application executes the commands without proper validation, leading to arbitrary command execution. The output from these executed commands is then incorporated into the generated HTML output (GitHub Commit).

Impact

A successful exploitation of this vulnerability could allow an attacker to execute arbitrary OS commands through specially crafted source files, potentially leading to system compromise. The command output would be included in the resulting HTML output, which could lead to information disclosure (CVE Details).

Mitigation and workarounds

The vulnerability has been fixed in bikeshed version 3.0.0. Users should upgrade to this version or later. The fix includes adding validation checks and requiring explicit opt-in at the command-line for executing arbitrary code through the --allow-execute flag (GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66471HIGH8.9
  • PythonPython
  • py3-urllib3
NoYesDec 05, 2025
CVE-2025-66418HIGH8.9
  • PythonPython
  • python-urllib3
NoYesDec 05, 2025
CVE-2025-65958HIGH8.5
  • PythonPython
  • cpe:2.3:a:openwebui:open_webui
NoYesDec 04, 2025
CVE-2025-56427HIGH7.5
  • PythonPython
  • composio
NoNoDec 04, 2025
CVE-2025-63681MEDIUM4.3
  • PythonPython
  • open-webui
NoNoDec 04, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management