{"id":"CVE-2021-23424","aliases":["GHSA-whgm-jr23-g3j9"],"summary":"Regular Expression Denial of Service (ReDoS)","published_at":"2021-05-07T00:00:00Z","modified_at":"2024-09-16T17:38:46.238Z","products":[{"slug":"rhel","name":"Red Hat Enterprise Linux","category":"red-hat"}],"rating":{"severity":"high","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"Red Hat","rating":"Moderate"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.017680000513792038,"percentile":0.7859600186347961,"date":"2026-11-19T00:00:00Z"},"priority":9.5,"details":"This affects all versions of package ansi-html. If an attacker provides a malicious string, it will get stuck processing the input for an extremely long time.","affected_stack":[{"ecosystem":"Red Hat:service_mesh:1","package":"servicemesh-prometheus","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2021-23424","relation":"self"},{"ecosystem":"Red Hat:service_mesh:2.0","package":"servicemesh-prometheus","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2021-23424","relation":"self"}],"affected_other":[{"ecosystem":"NVD","package":"ansi-html_project:ansi-html","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0.8"}]}],"fixed":["0.0.8"],"provider":"nvd","source":"CVE-2021-23424","relation":"self"},{"ecosystem":"npm","package":"ansi-html","purl":"pkg:npm/ansi-html","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.0.8"}]}],"fixed":["0.0.8"],"provider":"osv","source":"GHSA-whgm-jr23-g3j9","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"OpenShift Service Mesh 1","cpe":"cpe:/a:redhat:service_mesh:1","status":"affected","packages":["servicemesh-prometheus"],"package_count":1,"fixed":[],"advisories":[],"note":"Out of support scope","provider":"redhat-vex","source":"CVE-2021-23424"},{"vendor":"Red Hat","product":"OpenShift Service Mesh 2.0","cpe":"cpe:/a:redhat:service_mesh:2.0","status":"affected","packages":["servicemesh-prometheus"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2021-23424"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Management for Kubernetes 2","cpe":"cpe:/a:redhat:acm:2","status":"affected","packages":["rhacm2/console-rhel8","rhacm2/search-ui-rhel8"],"package_count":2,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2021-23424"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Management for Kubernetes 2","cpe":"cpe:/a:redhat:acm:2","status":"not_affected","packages":["rhacm2/kui-web-terminal-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-23424"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2021-23424","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2021-23424","license":"CC-BY-4.0","published_at":"2021-08-18T16:15:17.036Z","modified_at":"2024-09-16T17:38:46.238Z","summary":"Regular Expression Denial of Service (ReDoS)","details":"This affects all versions of package ansi-html. If an attacker provides a malicious string, it will get stuck processing the input for an extremely long time.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P","source":"CVE-2021-23424"}],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/Tjatse/ansi-html/issues/19"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-ANSIHTML-1296849"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1567198"}]},{"provider":"nvd","source_id":"CVE-2021-23424","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23424","severity":[],"affected":[{"ecosystem":"NVD","package":"ansi-html_project:ansi-html","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0.8"}]}],"fixed":["0.0.8"],"provider":"nvd","source":"CVE-2021-23424","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"GHSA-whgm-jr23-g3j9","relation":"self","url":"https://osv.dev/vulnerability/GHSA-whgm-jr23-g3j9","license":"CC-BY-4.0","published_at":"2021-09-02T17:15:24Z","modified_at":"2023-11-08T04:05:08.868477Z","summary":"Uncontrolled Resource Consumption in ansi-html","details":"This affects all versions of package ansi-html. If an attacker provides a malicious string, it will get stuck processing the input for an extremely long time.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"GHSA-whgm-jr23-g3j9"}],"affected":[{"ecosystem":"npm","package":"ansi-html","purl":"pkg:npm/ansi-html","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.0.8"}]}],"fixed":["0.0.8"],"provider":"osv","source":"GHSA-whgm-jr23-g3j9","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/ioet/time-tracker-ui/security/advisories/GHSA-4fjc-8q3h-8r69"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23424"},{"type":"WEB","url":"https://github.com/Tjatse/ansi-html/issues/19"},{"type":"WEB","url":"https://github.com/Tjatse/ansi-html/commit/8142b25bca3133ea060bcc1889277dc482327a63"},{"type":"PACKAGE","url":"https://github.com/Tjatse/ansi-html"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1567198"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-ANSIHTML-1296849"}]},{"provider":"redhat-vex","source_id":"CVE-2021-23424","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2021-23424","license":"CC-BY-4.0","published_at":"2021-05-07T00:00:00Z","modified_at":"2023-10-25T17:21:56Z","summary":"nodejs-ansi-html: ReDoS via crafted string","details":"This affects all versions of package ansi-html. If an attacker provides a malicious string, it will get stuck processing the input for an extremely long time.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"CVE-2021-23424"},{"type":"Red Hat","score":"Moderate","source":"CVE-2021-23424"}],"affected":[{"ecosystem":"Red Hat:service_mesh:1","package":"servicemesh-prometheus","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2021-23424","relation":"self"},{"ecosystem":"Red Hat:service_mesh:2.0","package":"servicemesh-prometheus","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2021-23424","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"OpenShift Service Mesh 1","cpe":"cpe:/a:redhat:service_mesh:1","status":"affected","packages":["servicemesh-prometheus"],"package_count":1,"fixed":[],"advisories":[],"note":"Out of support scope","provider":"redhat-vex","source":"CVE-2021-23424"},{"vendor":"Red Hat","product":"OpenShift Service Mesh 2.0","cpe":"cpe:/a:redhat:service_mesh:2.0","status":"affected","packages":["servicemesh-prometheus"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2021-23424"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Management for Kubernetes 2","cpe":"cpe:/a:redhat:acm:2","status":"affected","packages":["rhacm2/console-rhel8","rhacm2/search-ui-rhel8"],"package_count":2,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2021-23424"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Management for Kubernetes 2","cpe":"cpe:/a:redhat:acm:2","status":"not_affected","packages":["rhacm2/kui-web-terminal-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-23424"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-23424.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2021-23424"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1995798"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2021-23424"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23424"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-ANSIHTML-1296849"}]}],"references":[{"type":"WEB","url":"https://github.com/Tjatse/ansi-html/issues/19"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-ANSIHTML-1296849"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1567198"},{"type":"WEB","url":"https://github.com/ioet/time-tracker-ui/security/advisories/GHSA-4fjc-8q3h-8r69"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23424"},{"type":"WEB","url":"https://github.com/Tjatse/ansi-html/commit/8142b25bca3133ea060bcc1889277dc482327a63"},{"type":"PACKAGE","url":"https://github.com/Tjatse/ansi-html"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-23424.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2021-23424"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1995798"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2021-23424"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2021-23424","url":"https://www.cve.org/CVERecord?id=CVE-2021-23424","license":"CC-BY-4.0","modified_at":"2024-09-16T17:38:46.238Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2021-23424","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23424","relation":"self"},{"provider":"osv","source_id":"GHSA-whgm-jr23-g3j9","url":"https://osv.dev/vulnerability/GHSA-whgm-jr23-g3j9","license":"CC-BY-4.0","modified_at":"2023-11-08T04:05:08.868477Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2021-23424","url":"https://access.redhat.com/security/cve/CVE-2021-23424","license":"CC-BY-4.0","modified_at":"2023-10-25T17:21:56Z","relation":"self"}]}
