{"id":"CVE-2021-23422","aliases":["EUVD-2021-0033","GHSA-87cj-px37-rc3x","PYSEC-2021-116","SNYK-PYTHON-BIKESHED-1537646","UBUNTU-CVE-2021-23422"],"status":"published","title":"Arbitrary Code Injection","description":"This affects the package bikeshed before 3.0.0. This can occur when an untrusted source file containing Inline Tag Command metadata is processed. When an arbitrary OS command is executed, the command output would be included in the HTML output.","severity":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.00789,"percentile":0.56746,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-78"],"published":"2021-08-16T08:00:11Z","modified":"2026-10-20T10:54:32Z","fixes":[{"ecosystem":"PyPI","package":"bikeshed","fixed_in":["3.0.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"bikeshed","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.0"}]}]},{"source":"osv","ecosystem":"PyPI","package":"bikeshed","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.0"}]}],"versions":["1.0.0","1.0.1","1.0.10","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.0.8","1.0.9","1.1.0","1.2.0","1.2.1","1.2.2","1.3.0","1.4.0","1.4.1","1.4.2","1.4.3","1.4.4","1.5.0","1.5.1","1.5.2","1.5.3","1.6.0","1.6.1","1.6.2","1.6.3","1.7.0","2.0.0","2.1.0","2.2.0","2.2.1","2.2.2","2.2.3","2.3.0","2.3.1","2.4.0","2.4.1","2.4.2","2.4.3","2.4.4","2.4.5","2.4.6","2.4.7"]},{"source":"osv","ecosystem":"PyPI","package":"bikeshed","ranges":[{"type":"GIT","events":[{"introduced":"0"},{"fixed":"b2f668fca204260b1cad28d5078e93471cb6b2dd"}]},{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.0"}]}],"versions":["1.0.0","1.0.1","1.0.10","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.0.8","1.0.9","1.1.0","1.2.0","1.2.1","1.2.2","1.3.0","1.4.0","1.4.1","1.4.2","1.4.3","1.4.4","1.5.0","1.5.1","1.5.2","1.5.3","1.6.0","1.6.1","1.6.2","1.6.3","1.7.0","2.0.0","2.1.0","2.2.0","2.2.1","2.2.2","2.2.3","2.3.0","2.3.1","2.4.0","2.4.1","2.4.2","2.4.3","2.4.4","2.4.5","2.4.6","2.4.7"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"bikeshed","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.53-0ubuntu1","1.60-0ubuntu1","1.61-0ubuntu1","1.62-0ubuntu1","1.65-0ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"bikeshed","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.71-0ubuntu1","1.72-0ubuntu1","1.73-0ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"bikeshed","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.78-0ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"bikeshed","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.78-0ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"bikeshed","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.78-0ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"bikeshed","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.78-0ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"bikeshed","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.78-0ubuntu2"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"bikeshed","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.78-0ubuntu1","1.78-0ubuntu2"]}],"products":[{"vendor":"bikeshed_project","product":"bikeshed"}],"references":[{"url":"https://github.com/tabatkins/bikeshed/commit/b2f668fca204260b1cad28d5078e93471cb6b2dd","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web","report"]},{"url":"https://snyk.io/vuln/SNYK-PYTHON-BIKESHED-1537646","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web","advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23422","tags":["advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/bikeshed/PYSEC-2021-116.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-87cj-px37-rc3x","tags":["advisory"]},{"url":"https://github.com/tabatkins/bikeshed","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2021-23422","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-23422","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2021-23422","title":"Arbitrary Code Injection","description":"This affects the package bikeshed before 3.0.0. This can occur when an untrusted source file containing Inline Tag Command metadata is processed. When an arbitrary OS command is executed, the command output would be included in the HTML output.","status":"published","published":"2021-08-16T08:00:11.661Z","modified":"2024-09-16T17:43:18.647Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"cna"}],"updated_at":"2026-11-02T14:33:00.488332Z"}],"euvd":[{"id":"EUVD-2021-0033","description":"This affects the package bikeshed before 3.0.0. This can occur when an untrusted source file containing Inline Tag Command metadata is processed. When an arbitrary OS command is executed, the command output would be included in the HTML output.","status":"published","published":"2021-08-16T08:00:11Z","modified":"2024-09-16T17:43:18Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-03T00:55:39.660997Z"}],"ghsa":[{"id":"GHSA-87cj-px37-rc3x","title":"OS Command Injection in bikeshed","description":"This affects the package bikeshed before 3.0.0. This can occur when an untrusted source file containing Inline Tag Command metadata is processed. When an arbitrary OS command is executed, the command output would be included in the HTML output.","status":"published","published":"2021-08-30T16:25:35Z","modified":"2024-09-04T21:12:37Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:38:01.080229Z"}],"nvd":[{"id":"CVE-2021-23422","description":"This affects the package bikeshed before 3.0.0. This can occur when an untrusted source file containing Inline Tag Command metadata is processed. When an arbitrary OS command is executed, the command output would be included in the HTML output.","status":"published","published":"2021-08-16T08:15:11.287Z","modified":"2026-06-17T03:38:44.067Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:06:56.943671Z"}],"osv":[{"id":"CVE-2021-23422","description":"This affects the package bikeshed before 3.0.0. This can occur when an untrusted source file containing Inline Tag Command metadata is processed. When an arbitrary OS command is executed, the command output would be included in the HTML output.","status":"published","published":"2021-08-16T08:15:11.287Z","modified":"2026-10-20T10:54:32.165729403Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:18.367807Z"},{"id":"GHSA-87cj-px37-rc3x","title":"OS Command Injection in bikeshed","description":"This affects the package bikeshed before 3.0.0. This can occur when an untrusted source file containing Inline Tag Command metadata is processed. When an arbitrary OS command is executed, the command output would be included in the HTML output.","status":"published","published":"2021-08-30T16:25:35Z","modified":"2024-09-04T21:24:00.598721Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T15:46:42.077781Z"},{"id":"UBUNTU-CVE-2021-23422","description":"This affects the package bikeshed before 3.0.0. This can occur when an untrusted source file containing Inline Tag Command metadata is processed. When an arbitrary OS command is executed, the command output would be included in the HTML output.","status":"published","published":"2021-08-16T08:15:00Z","modified":"2026-10-17T12:56:19.790296534Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:26.779273Z"},{"id":"PYSEC-2021-116","description":"This affects the package bikeshed before 3.0.0. This can occur when an untrusted source file containing Inline Tag Command metadata is processed. When an arbitrary OS command is executed, the command output would be included in the HTML output.","status":"published","published":"2021-08-16T08:15:00Z","modified":"2023-11-08T04:05:08.743769Z","updated_at":"2026-11-02T15:52:52.682031Z"}]}}
