CVE-2021-21391
Severity CVSS v4.0:
Pending analysis
Type:
CWE-400
Uncontrolled Resource Consumption ('Resource Exhaustion')
Publication date:
29/04/2021
Last modified:
07/11/2023
Description
CKEditor 5 provides a WYSIWYG editing solution. This CVE affects the following npm packages: ckeditor5-engine, ckeditor5-font, ckeditor5-image, ckeditor5-list, ckeditor5-markdown-gfm, ckeditor5-media-embed, ckeditor5-paste-from-office, and ckeditor5-widget. Following an internal audit, a regular expression denial of service (ReDoS) vulnerability has been discovered in multiple CKEditor 5 packages. The vulnerability allowed to abuse particular regular expressions, which could cause a significant performance drop resulting in a browser tab freeze. It affects all users using the CKEditor 5 packages listed above at version
Impact
Base Score 3.x
6.50
Severity 3.x
MEDIUM
Base Score 2.0
4.30
Severity 2.0
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:ckeditor:ckeditor5-engine:*:*:*:*:*:node.js:*:* | 27.0.0 (excluding) | |
| cpe:2.3:a:ckeditor:ckeditor5-font:*:*:*:*:*:node.js:*:* | 27.0.0 (excluding) | |
| cpe:2.3:a:ckeditor:ckeditor5-image:*:*:*:*:*:node.js:*:* | 27.0.0 (excluding) | |
| cpe:2.3:a:ckeditor:ckeditor5-list:*:*:*:*:*:node.js:*:* | 27.0.0 (excluding) | |
| cpe:2.3:a:ckeditor:ckeditor5-markdown-gfm:*:*:*:*:*:node.js:*:* | 27.0.0 (excluding) | |
| cpe:2.3:a:ckeditor:ckeditor5-media-embed:*:*:*:*:*:node.js:*:* | 27.0.0 (excluding) | |
| cpe:2.3:a:ckeditor:ckeditor5-paste-from-office:*:*:*:*:*:node.js:*:* | 27.0.0 (excluding) | |
| cpe:2.3:a:ckeditor:ckeditor5-widget:*:*:*:*:*:node.js:*:* | 27.0.0 (excluding) |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://github.com/ckeditor/ckeditor5/security/advisories/GHSA-3rh3-wfr4-76mj
- https://www.npmjs.com/package/%40ckeditor/ckeditor5-engine
- https://www.npmjs.com/package/%40ckeditor/ckeditor5-font
- https://www.npmjs.com/package/%40ckeditor/ckeditor5-image
- https://www.npmjs.com/package/%40ckeditor/ckeditor5-list
- https://www.npmjs.com/package/%40ckeditor/ckeditor5-markdown-gfm
- https://www.npmjs.com/package/%40ckeditor/ckeditor5-media-embed
- https://www.npmjs.com/package/%40ckeditor/ckeditor5-paste-from-office
- https://www.npmjs.com/package/%40ckeditor/ckeditor5-widget



