Vulnerability Details : CVE-2021-21391
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 <= 26.0.0. The problem has been recognized and patched. The fix will be available in version 27.0.0.
Vulnerability category: Denial of service
Exploit prediction scoring system (EPSS) score for CVE-2021-21391
Probability of exploitation activity in the next 30 days: 0.48%
Percentile, the proportion of vulnerabilities that are scored at or less: ~ 73 % EPSS Score History EPSS FAQ
CVSS scores for CVE-2021-21391
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source |
---|---|---|---|---|---|
4.3
|
MEDIUM | AV:N/AC:M/Au:N/C:N/I:N/A:P |
8.6
|
2.9
|
NIST |
6.5
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
2.8
|
3.6
|
NIST |
6.5
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
2.8
|
3.6
|
GitHub, Inc. |
CWE ids for CVE-2021-21391
-
The product does not properly control the allocation and maintenance of a limited resource, thereby enabling an actor to influence the amount of resources consumed, eventually leading to the exhaustion of available resources.Assigned by: security-advisories@github.com (Primary)
References for CVE-2021-21391
-
https://www.npmjs.com/package/@ckeditor/ckeditor5-image
@ckeditor/ckeditor5-image - npmProduct;Third Party Advisory
-
https://github.com/ckeditor/ckeditor5/security/advisories/GHSA-3rh3-wfr4-76mj
Regular expression Denial of Service in multiple packages · Advisory · ckeditor/ckeditor5 · GitHubThird Party Advisory
-
https://www.npmjs.com/package/@ckeditor/ckeditor5-media-embed
@ckeditor/ckeditor5-media-embed - npmProduct;Third Party Advisory
-
https://www.npmjs.com/package/@ckeditor/ckeditor5-engine
@ckeditor/ckeditor5-engine - npmProduct;Third Party Advisory
-
https://www.npmjs.com/package/@ckeditor/ckeditor5-widget
@ckeditor/ckeditor5-widget - npmProduct;Third Party Advisory
-
https://www.npmjs.com/package/@ckeditor/ckeditor5-paste-from-office
@ckeditor/ckeditor5-paste-from-office - npmProduct;Third Party Advisory
-
https://www.npmjs.com/package/@ckeditor/ckeditor5-list
@ckeditor/ckeditor5-list - npmProduct;Third Party Advisory
-
https://www.npmjs.com/package/@ckeditor/ckeditor5-font
@ckeditor/ckeditor5-font - npmProduct;Third Party Advisory
-
https://www.npmjs.com/package/@ckeditor/ckeditor5-markdown-gfm
@ckeditor/ckeditor5-markdown-gfm - npmProduct;Third Party Advisory
Products affected by CVE-2021-21391
- cpe:2.3:a:ckeditor:ckeditor5-engine:*:*:*:*:*:node.js:*:*
- cpe:2.3:a:ckeditor:ckeditor5-font:*:*:*:*:*:node.js:*:*
- cpe:2.3:a:ckeditor:ckeditor5-image:*:*:*:*:*:node.js:*:*
- cpe:2.3:a:ckeditor:ckeditor5-list:*:*:*:*:*:node.js:*:*
- cpe:2.3:a:ckeditor:ckeditor5-markdown-gfm:*:*:*:*:*:node.js:*:*
- cpe:2.3:a:ckeditor:ckeditor5-media-embed:*:*:*:*:*:node.js:*:*
- cpe:2.3:a:ckeditor:ckeditor5-paste-from-office:*:*:*:*:*:node.js:*:*
- cpe:2.3:a:ckeditor:ckeditor5-widget:*:*:*:*:*:node.js:*:*