Skip to content

CVE-2021-21391 Regular expression Denial of Service in multiple packages

MediumCVSS 6.5 EPSS 1.7%
Published
Updated
Exploit status
No public exploit known
Technology
Ubuntu

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 <= 26.0.0. The problem has been recognized and patched. The fix will be available in version 27.0.0.

Upgrade path

21 packages: 16 fixed, 4 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/ckeditor3(Ubuntu 18.04) = 3.6.6.1+dfsg-1; All versions No fix listed No fix yet
ubuntu/ckeditor3(Ubuntu 20.04) = 3.6.6.1+dfsg-3; = 3.6.6.1+dfsg-4; All versions No fix listed No fix yet
ubuntu/ckeditor3(Ubuntu 22.04) = 3.6.6.1+dfsg-7; All versions No fix listed No fix yet
ubuntu/ckeditor3(Ubuntu 24.04) = 3.6.6.1+dfsg-7; All versions No fix listed No fix yet
ckeditor @ckeditor/ckeditor5-engine < 27.0.0 27.0.0 Fixed
ckeditor @ckeditor/ckeditor5-engine(npm) < 27.0.0; <= 26.0.0 27.0.0 Fixed
ckeditor @ckeditor/ckeditor5-font < 27.0.0 27.0.0 Fixed
ckeditor @ckeditor/ckeditor5-font(npm) < 27.0.0; <= 26.0.0 27.0.0 Fixed
ckeditor @ckeditor/ckeditor5-image < 27.0.0 27.0.0 Fixed
ckeditor @ckeditor/ckeditor5-image(npm) < 27.0.0; <= 26.0.0 27.0.0 Fixed
ckeditor @ckeditor/ckeditor5-list < 27.0.0 27.0.0 Fixed
ckeditor @ckeditor/ckeditor5-list(npm) < 27.0.0; <= 26.0.0 27.0.0 Fixed
ckeditor @ckeditor/ckeditor5-markdown-gfm < 27.0.0 27.0.0 Fixed
ckeditor @ckeditor/ckeditor5-markdown-gfm(npm) < 27.0.0; <= 26.0.0 27.0.0 Fixed
ckeditor @ckeditor/ckeditor5-media-embed < 27.0.0 27.0.0 Fixed
ckeditor @ckeditor/ckeditor5-media-embed(npm) < 27.0.0; <= 26.0.0 27.0.0 Fixed
ckeditor @ckeditor/ckeditor5-paste-from-office < 27.0.0 27.0.0 Fixed
ckeditor @ckeditor/ckeditor5-paste-from-office(npm) < 27.0.0; <= 26.0.0 27.0.0 Fixed
ckeditor @ckeditor/ckeditor5-widget < 27.0.0 27.0.0 Fixed
ckeditor @ckeditor/ckeditor5-widget(npm) < 27.0.0; <= 26.0.0 27.0.0 Fixed
ckeditor5 = < 27.0.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
ckeditor @ckeditor/ckeditor5-engine(npm) <= 26.0.0 No fix listed
ckeditor @ckeditor/ckeditor5-font(npm) <= 26.0.0 No fix listed
ckeditor @ckeditor/ckeditor5-image(npm) <= 26.0.0 No fix listed
ckeditor @ckeditor/ckeditor5-list(npm) <= 26.0.0 No fix listed
ckeditor @ckeditor/ckeditor5-markdown-gfm(npm) <= 26.0.0 No fix listed
ckeditor @ckeditor/ckeditor5-media-embed(npm) <= 26.0.0 No fix listed
ckeditor @ckeditor/ckeditor5-paste-from-office(npm) <= 26.0.0 No fix listed
ckeditor @ckeditor/ckeditor5-widget(npm) <= 26.0.0 No fix listed
ubuntu/ckeditor3(Ubuntu:22.04) All versions No fix listed
ckeditor @ckeditor/ckeditor5-engine < 27.0.0 27.0.0
ckeditor @ckeditor/ckeditor5-font < 27.0.0 27.0.0
ckeditor @ckeditor/ckeditor5-image < 27.0.0 27.0.0
ckeditor @ckeditor/ckeditor5-list < 27.0.0 27.0.0
ckeditor @ckeditor/ckeditor5-markdown-gfm < 27.0.0 27.0.0
ckeditor @ckeditor/ckeditor5-media-embed < 27.0.0 27.0.0
ckeditor @ckeditor/ckeditor5-paste-from-office < 27.0.0 27.0.0
ckeditor @ckeditor/ckeditor5-widget < 27.0.0 27.0.0
ubuntu/ckeditor3(Ubuntu:24.04) All versions No fix listed
ckeditor5 = < 27.0.0 No fix listed
ckeditor @ckeditor/ckeditor5-engine(npm) < 27.0.0 27.0.0
ckeditor @ckeditor/ckeditor5-font(npm) < 27.0.0 27.0.0
ckeditor @ckeditor/ckeditor5-image(npm) < 27.0.0 27.0.0
ckeditor @ckeditor/ckeditor5-list(npm) < 27.0.0 27.0.0
ckeditor @ckeditor/ckeditor5-markdown-gfm(npm) < 27.0.0 27.0.0
ckeditor @ckeditor/ckeditor5-media-embed(npm) < 27.0.0 27.0.0
Show 9 more
ProductAffected versionsFixed in
ckeditor @ckeditor/ckeditor5-paste-from-office(npm) < 27.0.0 27.0.0
ckeditor @ckeditor/ckeditor5-widget(npm) < 27.0.0 27.0.0
ubuntu/ckeditor3(Ubuntu:18.04) All versions No fix listed
ubuntu/ckeditor3(Ubuntu:18.04) = 3.6.6.1+dfsg-1 No fix listed
ubuntu/ckeditor3(Ubuntu:20.04) All versions No fix listed
ubuntu/ckeditor3(Ubuntu:20.04) = 3.6.6.1+dfsg-3 No fix listed
ubuntu/ckeditor3(Ubuntu:20.04) = 3.6.6.1+dfsg-4 No fix listed
ubuntu/ckeditor3(Ubuntu:22.04) = 3.6.6.1+dfsg-7 No fix listed
ubuntu/ckeditor3(Ubuntu:24.04) = 3.6.6.1+dfsg-7 No fix listed

References