{"id":"CVE-2021-23346","aliases":["GHSA-545q-3fg6-48m7"],"summary":"Regular Expression Denial of Service (ReDoS)","published_at":"2021-03-01T00:00:00Z","modified_at":"2025-01-14T08:56:53.391305Z","products":[],"rating":{"severity":"medium","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false,"red_hat":"Low","vendor_ratings":[{"source":"Red Hat","rating":"Low"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.021290000528097153,"percentile":0.8234500288963318,"date":"2026-11-19T00:00:00Z"},"priority":7.3,"details":"This affects the package html-parse-stringify before 2.0.1; all versions of package html-parse-stringify2. Sending certain input could cause one of the regular expressions that is used for parsing to backtrack, freezing the process.","affected_stack":[],"affected_other":[{"ecosystem":"NVD","package":"html-parse-stringify_project:html-parse-stringify","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.1"}]}],"fixed":["2.0.1"],"provider":"nvd","source":"CVE-2021-23346","relation":"self"},{"ecosystem":"npm","package":"html-parse-stringify","purl":"pkg:npm/html-parse-stringify","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.0.1"}]}],"fixed":["2.0.1"],"provider":"osv","source":"GHSA-545q-3fg6-48m7","relation":"self"},{"ecosystem":"npm","package":"html-parse-stringify2","purl":"pkg:npm/html-parse-stringify2","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"2.0.1"}]}],"provider":"osv","source":"GHSA-545q-3fg6-48m7","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Management for Kubernetes 2","cpe":"cpe:/a:redhat:acm:2","status":"affected","packages":["rhacm2/search-ui-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2021-23346"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Management for Kubernetes 2","cpe":"cpe:/a:redhat:acm:2","status":"not_affected","packages":["rhacm2/console-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-23346"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2021-23346","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2021-23346","license":"CC-BY-4.0","published_at":"2021-03-04T16:55:21.677Z","modified_at":"2024-09-16T17:24:19.05Z","summary":"Regular Expression Denial of Service (ReDoS)","details":"This affects the package html-parse-stringify before 2.0.1; all versions of package html-parse-stringify2. Sending certain input could cause one of the regular expressions that is used for parsing to backtrack, freezing the process.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N/E:P/RL:O/RC:R","source":"CVE-2021-23346"}],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-HTMLPARSESTRINGIFY-1079306"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-HTMLPARSESTRINGIFY2-1079307"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1080633"},{"type":"WEB","url":"https://github.com/rayd/html-parse-stringify2/blob/master/lib/parse.js%23L2"},{"type":"WEB","url":"https://github.com/HenrikJoreteg/html-parse-stringify/blob/master/lib/parse.js%23L2"},{"type":"WEB","url":"https://github.com/HenrikJoreteg/html-parse-stringify/commit/c7274a48e59c92b2b7e906fedf9065159e73fe12"}]},{"provider":"nvd","source_id":"CVE-2021-23346","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23346","severity":[],"affected":[{"ecosystem":"NVD","package":"html-parse-stringify_project:html-parse-stringify","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.1"}]}],"fixed":["2.0.1"],"provider":"nvd","source":"CVE-2021-23346","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"GHSA-545q-3fg6-48m7","relation":"self","url":"https://osv.dev/vulnerability/GHSA-545q-3fg6-48m7","license":"CC-BY-4.0","published_at":"2021-03-18T19:39:31Z","modified_at":"2025-01-14T08:56:53.391305Z","summary":"html-parse-stringify and html-parse-stringify2 vulnerable to Regular expression denial of service (ReDoS)","details":"This affects the package html-parse-stringify before 2.0.1; all versions of package html-parse-stringify2. Sending certain input could cause one of the regular expressions that is used for parsing to backtrack, freezing the process.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","source":"GHSA-545q-3fg6-48m7"}],"affected":[{"ecosystem":"npm","package":"html-parse-stringify","purl":"pkg:npm/html-parse-stringify","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.0.1"}]}],"fixed":["2.0.1"],"provider":"osv","source":"GHSA-545q-3fg6-48m7","relation":"self"},{"ecosystem":"npm","package":"html-parse-stringify2","purl":"pkg:npm/html-parse-stringify2","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"2.0.1"}]}],"provider":"osv","source":"GHSA-545q-3fg6-48m7","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23346"},{"type":"WEB","url":"https://github.com/HenrikJoreteg/html-parse-stringify/commit/c7274a48e59c92b2b7e906fedf9065159e73fe12"},{"type":"WEB","url":"https://github.com/HenrikJoreteg/html-parse-stringify/blob/master/lib/parse.js%23L2"},{"type":"WEB","url":"https://github.com/HenrikJoreteg/html-parse-stringify/releases/tag/v2.0.1"},{"type":"WEB","url":"https://github.com/rayd/html-parse-stringify2/blob/master/lib/parse.js%23L2"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1080633"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-HTMLPARSESTRINGIFY-1079306"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-HTMLPARSESTRINGIFY2-1079307"}]},{"provider":"redhat-vex","source_id":"CVE-2021-23346","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2021-23346","license":"CC-BY-4.0","published_at":"2021-03-01T00:00:00Z","modified_at":"2021-09-29T18:12:04Z","summary":"html-parse-stringify: Regular Expression DoS","details":"The html-parse-stringify library, as well as its fork html-parse-stringify2, are vulnerable to a Regular Expression Denial of Service attack (ReDos). A certain inputs could cause one of the regular expressions that is used for parsing to backtrack, freezing the process.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","source":"CVE-2021-23346"},{"type":"Red Hat","score":"Low","source":"CVE-2021-23346"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Management for Kubernetes 2","cpe":"cpe:/a:redhat:acm:2","status":"affected","packages":["rhacm2/search-ui-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2021-23346"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Management for Kubernetes 2","cpe":"cpe:/a:redhat:acm:2","status":"not_affected","packages":["rhacm2/console-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-23346"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-23346.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2021-23346"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1941675"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2021-23346"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23346"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1080633"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-HTMLPARSESTRINGIFY-1079306"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-HTMLPARSESTRINGIFY2-1079307"}]}],"references":[{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-HTMLPARSESTRINGIFY-1079306"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-HTMLPARSESTRINGIFY2-1079307"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1080633"},{"type":"WEB","url":"https://github.com/rayd/html-parse-stringify2/blob/master/lib/parse.js%23L2"},{"type":"WEB","url":"https://github.com/HenrikJoreteg/html-parse-stringify/blob/master/lib/parse.js%23L2"},{"type":"WEB","url":"https://github.com/HenrikJoreteg/html-parse-stringify/commit/c7274a48e59c92b2b7e906fedf9065159e73fe12"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23346"},{"type":"WEB","url":"https://github.com/HenrikJoreteg/html-parse-stringify/releases/tag/v2.0.1"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-23346.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2021-23346"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1941675"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2021-23346"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2021-23346","url":"https://www.cve.org/CVERecord?id=CVE-2021-23346","license":"CC-BY-4.0","modified_at":"2024-09-16T17:24:19.05Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2021-23346","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23346","relation":"self"},{"provider":"osv","source_id":"GHSA-545q-3fg6-48m7","url":"https://osv.dev/vulnerability/GHSA-545q-3fg6-48m7","license":"CC-BY-4.0","modified_at":"2025-01-14T08:56:53.391305Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2021-23346","url":"https://access.redhat.com/security/cve/CVE-2021-23346","license":"CC-BY-4.0","modified_at":"2021-09-29T18:12:04Z","relation":"self"}]}
