{"id":"CVE-2021-3807","details":"ansi-regex is vulnerable to Inefficient Regular Expression Complexity","aliases":["GHSA-93q8-gq69-wqmw"],"modified":"2026-02-16T05:09:39.867404Z","published":"2021-09-17T07:15:09.273Z","related":["ALSA-2021:5171","ALSA-2022:0350","ALSA-2022:6595","CGA-7v44-hxgv-54c8","SUSE-RU-2024:0511-1","SUSE-SU-2022:0531-1","SUSE-SU-2022:0563-1","SUSE-SU-2022:0569-1","SUSE-SU-2022:0570-1","SUSE-SU-2022:0657-1","SUSE-SU-2022:0704-1","SUSE-SU-2022:0715-1","SUSE-SU-2022:1717-1","SUSE-SU-2023:2575-1","SUSE-SU-2023:2578-1","SUSE-SU-2023:2579-1","SUSE-SU-2024:0191-1","SUSE-SU-2024:0196-1","SUSE-SU-2024:0486-1","SUSE-SU-2024:0487-1","openSUSE-SU-2022:0657-1","openSUSE-SU-2022:0704-1","openSUSE-SU-2022:0715-1","openSUSE-SU-2024:12723-1"],"references":[{"type":"ADVISORY","url":"https://github.com/chalk/ansi-regex/commit/8d1d7cdb586269882c4bdc1b7325d0c58c8f76f9"},{"type":"ADVISORY","url":"https://huntr.dev/bounties/5b3cf33b-ede0-4398-9974-800876dfd994"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20221014-0002/"},{"type":"ADVISORY","url":"https://www.oracle.com/security-alerts/cpuapr2022.html"},{"type":"REPORT","url":"https://huntr.dev/bounties/5b3cf33b-ede0-4398-9974-800876dfd994"},{"type":"FIX","url":"https://github.com/chalk/ansi-regex/commit/8d1d7cdb586269882c4bdc1b7325d0c58c8f76f9"},{"type":"FIX","url":"https://huntr.dev/bounties/5b3cf33b-ede0-4398-9974-800876dfd994"},{"type":"FIX","url":"https://www.oracle.com/security-alerts/cpuapr2022.html"},{"type":"EVIDENCE","url":"https://huntr.dev/bounties/5b3cf33b-ede0-4398-9974-800876dfd994"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/chalk/ansi-regex","events":[{"introduced":"0"},{"fixed":"8d1d7cdb586269882c4bdc1b7325d0c58c8f76f9"},{"introduced":"a1d92466388fc8766b63bfab27ddc1e1df897dda"},{"fixed":"8d1d7cdb586269882c4bdc1b7325d0c58c8f76f9"}]}],"versions":["v4.0.0","v4.1.0","v5.0.0","v6.0.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-3807.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}