{"id":"CVE-2021-23368","published":"2021-04-12T13:50:14Z","modified":"2024-09-16T17:27:47Z","title":"Regular Expression Denial of Service (ReDoS)","vendor":null,"product":null,"tier":"tail","description":{"text":"The package postcss from 7.0.0 and before 8.2.10 are vulnerable to Regular Expression Denial of Service (ReDoS) during source map parsing.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.03511,"percentile":0.89479,"provenance":"source"},"cwes":[],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-POSTCSS-1090595","tags":["x_refsource_MISC"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1244795","tags":["x_refsource_MISC"]},{"url":"https://github.com/postcss/postcss/commit/b6f3e4d5a8d7504d553267f80384373af3a3dec5","tags":["x_refsource_MISC"]},{"url":"https://github.com/postcss/postcss/commit/8682b1e4e328432ba692bed52326e84439cec9e4","tags":["x_refsource_MISC"]},{"url":"https://lists.apache.org/thread.html/r16e295b4f02d81b79981237d602cb0b9e59709bafaa73ac98be7cef1%40%3Cdev.myfaces.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r8def971a66cf3e375178fbee752e1b04a812a047cc478ad292007e33%40%3Cdev.myfaces.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r00158f5d770d75d0655c5eef1bdbc6150531606c8f8bcb778f0627be%40%3Cdev.myfaces.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r5acd89f3827ad9a9cad6d24ed93e377f7114867cd98cfba616c6e013%40%3Ccommits.myfaces.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/rad5af2044afb51668b1008b389ac815a28ecea9eb75ae2cab5a00ebb%40%3Ccommits.myfaces.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r49afb49b38748897211b1f89c3a64dc27f9049474322b05715695aab%40%3Cdev.myfaces.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]}],"priority":{"score":21.6,"factors":[{"name":"EPSS percentile","points":17.9},{"name":"CVSS severity","points":3.71}]},"affectedVersions":[{"vendor":"n/a","product":"postcss","versions":[">= 7.0.0, < unspecified",">= unspecified, < 8.2.10"]}],"affected":[{"ecosystem":"npm","package":"postcss","vulnerableRanges":[">=7.0.0, <7.0.36",">=8.0.0, <8.2.10"],"patched":["7.0.36","8.2.10"],"from":["GHSA-hwj9-h5mp-3pm3"],"provenance":"source"}],"summary":{"text":"The postcss package, versions from 7.0.0 up to but not including 8.2.10, contains a Regular Expression Denial of Service (ReDoS) flaw in its source map parsing logic. An attacker can trigger it remotely over the network with no authentication or user interaction, causing availability degradation on the affected process.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:12:37Z"},"euvd":{"id":"EUVD-2021-1108","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-postcss-cve-2021-23368","children":[{"from":"CVE-2021-23368","to":"CVE-2021-23382","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"npm:postcss","fromFixed":"8.2.10","toFixed":"8.2.13","daysApart":14},{"kind":"same-code","provenance":"machine","files":["lib/previous-map.js"],"commits":["https://github.com/postcss/postcss/commit/b6f3e4d5a8d7504d553267f80384373af3a3dec5","https://github.com/postcss/postcss/commit/8682b1e4e328432ba692bed52326e84439cec9e4","https://github.com/postcss/postcss/commit/2b1d04c867995e55124e0a165b7c6622c1735956"],"basis":"shared function","functions":["PreviousMap"]},{"kind":"similar","provenance":"machine","score":0.4,"basis":"same package + description similarity"}]},{"from":"CVE-2021-23368","to":"CVE-2026-45623","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/previous-map.js"],"commits":["https://github.com/postcss/postcss/commit/b6f3e4d5a8d7504d553267f80384373af3a3dec5","https://github.com/postcss/postcss/commit/8682b1e4e328432ba692bed52326e84439cec9e4","https://github.com/postcss/postcss/commit/aaec7b78b3ce2792585b4b300ef1bd5dd5b3e8ad","https://github.com/postcss/postcss/commit/c64b7488d2731dfa16213739b42c34faf5a9eba3"],"basis":"shared function","functions":["PreviousMap"]}]},{"from":"CVE-2021-23368","to":"CVE-2026-73646","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/previous-map.js"],"commits":["https://github.com/postcss/postcss/commit/b6f3e4d5a8d7504d553267f80384373af3a3dec5","https://github.com/postcss/postcss/commit/8682b1e4e328432ba692bed52326e84439cec9e4","https://github.com/postcss/postcss/commit/95663d3eb7ba26f4854dd19d3b4f4425760cf56c"],"basis":"shared function","functions":["PreviousMap"]}]}],"packageHistory":[{"cve":"CVE-2021-23368","published":"2021-04-12","fixed":"8.2.10","kev":false},{"cve":"CVE-2021-23382","published":"2021-04-26","fixed":"8.2.13","kev":false},{"cve":"CVE-2023-44270","published":"2023-09-29","fixed":"8.4.31","kev":false},{"cve":"CVE-2026-41305","published":"2026-04-24","fixed":"8.5.10","kev":false}],"package":"npm:postcss"}}