{"id":"UBUNTU-CVE-2021-3801","details":"prism is vulnerable to Inefficient Regular Expression Complexity","modified":"2026-05-20T16:05:06.991491983Z","published":"2021-09-15T13:15:00Z","upstream":["CVE-2021-3801"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-3801"},{"type":"REPORT","url":"https://huntr.dev/bounties/8c16ab31-6eb6-46d1-b9a4-387222fe1b8a"},{"type":"REPORT","url":"https://github.com/prismjs/prism/commit/0ff371bb4775a131634f47d0fe85794c547232f9"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-3801"}],"affected":[{"package":{"name":"node-prismjs","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/node-prismjs?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.11.0+dfsg-2","1.11.0+dfsg-3"],"ecosystem_specific":{"binaries":[{"binary_name":"node-prismjs","binary_version":"1.11.0+dfsg-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3801.json"}},{"package":{"name":"node-prismjs","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/node-prismjs?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.23.0+dfsg-1","1.25.0+dfsg-1","1.27.0+dfsg+~1.26.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"node-prismjs","binary_version":"1.27.0+dfsg+~1.26.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3801.json"}},{"package":{"name":"node-prismjs","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/node-prismjs?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.29.0+dfsg+~1.26.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"node-prismjs","binary_version":"1.29.0+dfsg+~1.26.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3801.json"}},{"package":{"name":"node-prismjs","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/node-prismjs?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.29.0+dfsg+~1.26.0-1","1.30.0+dfsg+~1.26.5-1"],"ecosystem_specific":{"binaries":[{"binary_name":"node-prismjs","binary_version":"1.30.0+dfsg+~1.26.5-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3801.json"}},{"package":{"name":"node-prismjs","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/node-prismjs?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.30.0+dfsg+~1.26.5-1","1.30.0+dfsg+~1.26.5-2","1.30.0+dfsg+~1.26.6-1"],"ecosystem_specific":{"binaries":[{"binary_name":"node-prismjs","binary_version":"1.30.0+dfsg+~1.26.6-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3801.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}