Your message dated Sat, 09 Oct 2021 12:09:40 +0100 with message-id <81741a2f4e370c14a3bec08b7fe6e2b10c32267b.camel@adam-barratt.org.uk> and subject line Closing p-u bugs for updates in 11.1 has caused the Debian Bug report #994828, regarding bullseye-pu: package node-prismjs/1.23.0+dfsg-1+deb11u1 to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 994828: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=994828 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: bullseye-pu: package node-prismjs/1.23.0+dfsg-1+deb11u1
- From: Yadd <yadd@debian.org>
- Date: Tue, 21 Sep 2021 14:49:46 +0200
- Message-id: <163222858621.689189.11515923024734546075.reportbug@deb007.xnr.fr>
Package: release.debian.org Severity: normal Tags: bullseye User: release.debian.org@packages.debian.org Usertags: pu [ Reason ] node-prismjs is vulnerable to a Regex Denial of Service (ReDoS) (CVE-2021-40438) [ Impact ] Little vulnerability [ Tests ] No test change, passed. [ Risks ] No risk, patch is trvial [ Checklist ] [X] *all* changes are documented in the d/changelog [X] I reviewed all changes and I approve them [X] attach debdiff against the package in (old)stable [X] the issue is verified as fixed in unstable [ Changes ] Regex improvement Cheers, Yadddiff --git a/debian/changelog b/debian/changelog index f70003b..3ac8ca9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +node-prismjs (1.23.0+dfsg-1+deb11u1) bullseye; urgency=medium + + * Team upload + * Fix ReDoS (Closes: CVE-2021-40438) + + -- Yadd <yadd@debian.org> Tue, 21 Sep 2021 14:45:33 +0200 + node-prismjs (1.23.0+dfsg-1) unstable; urgency=medium * Team upload diff --git a/debian/patches/CVE-2021-40438.patch b/debian/patches/CVE-2021-40438.patch new file mode 100644 index 0000000..a0830ac --- /dev/null +++ b/debian/patches/CVE-2021-40438.patch @@ -0,0 +1,17 @@ +Description: Markup: fixed ReDoS +Author: ready-research +Origin: upstream, https://github.com/prismjs/prism/commit/0ff371bb +Bug: https://security-tracker.debian.org/tracker/CVE-2021-40438 +Forwarded: not-needed +Reviewed-By: Yadd <yadd@debian.org> +Last-Update: 2021-09-21 + +--- a/components/prism-markup.js ++++ b/components/prism-markup.js +@@ -1,5 +1,5 @@ + Prism.languages.markup = { +- 'comment': /<!--[\s\S]*?-->/, ++ 'comment': /<!--(?:(?!<!--)[\s\S])*?-->/, + 'prolog': /<\?[\s\S]+?\?>/, + 'doctype': { + // https://www.w3.org/TR/xml/#NT-doctypedecl diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..7c70d57 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +CVE-2021-40438.patch diff --git a/debian/salsa-ci.yml b/debian/salsa-ci.yml index 33c3a64..6fd902a 100644 --- a/debian/salsa-ci.yml +++ b/debian/salsa-ci.yml @@ -1,4 +1,7 @@ --- +variables: + RELEASE: 'bullseye' + include: - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml
--- End Message ---
--- Begin Message ---
- To: 992063-done@bugs.debian.org, 992078-done@bugs.debian.org, 992114-done@bugs.debian.org, 992153-done@bugs.debian.org, 992206-done@bugs.debian.org, 992299-done@bugs.debian.org, 992435-done@bugs.debian.org, 992547-done@bugs.debian.org, 992693-done@bugs.debian.org, 992836-done@bugs.debian.org, 992843-done@bugs.debian.org, 992956-done@bugs.debian.org, 992978-done@bugs.debian.org, 993035-done@bugs.debian.org, 993049-done@bugs.debian.org, 993133-done@bugs.debian.org, 993225-done@bugs.debian.org, 993276-done@bugs.debian.org, 993281-done@bugs.debian.org, 993282-done@bugs.debian.org, 993283-done@bugs.debian.org, 993396-done@bugs.debian.org, 993489-done@bugs.debian.org, 993523-done@bugs.debian.org, 993564-done@bugs.debian.org, 993604-done@bugs.debian.org, 993639-done@bugs.debian.org, 993655-done@bugs.debian.org, 993656-done@bugs.debian.org, 993708-done@bugs.debian.org, 993720-done@bugs.debian.org, 993792-done@bugs.debian.org, 993793-done@bugs.debian.org, 993822-done@bugs.debian.org, 993825-done@bugs.debian.org, 993899-done@bugs.debian.org, 993968-done@bugs.debian.org, 994022-done@bugs.debian.org, 994107-done@bugs.debian.org, 994111-done@bugs.debian.org, 994112-done@bugs.debian.org, 994147-done@bugs.debian.org, 994490-done@bugs.debian.org, 994555-done@bugs.debian.org, 994574-done@bugs.debian.org, 994627-done@bugs.debian.org, 994709-done@bugs.debian.org, 994710-done@bugs.debian.org, 994828-done@bugs.debian.org, 994861-done@bugs.debian.org, 994880-done@bugs.debian.org, 994881-done@bugs.debian.org, 994885-done@bugs.debian.org, 994907-done@bugs.debian.org, 994946-done@bugs.debian.org, 995025-done@bugs.debian.org, 995062-done@bugs.debian.org, 995075-done@bugs.debian.org, 995144-done@bugs.debian.org, 995237-done@bugs.debian.org, 995304-done@bugs.debian.org, 995306-done@bugs.debian.org, 995331-done@bugs.debian.org, 995469-done@bugs.debian.org, 995481-done@bugs.debian.org, 994097-done@bugs.debian.org
- Subject: Closing p-u bugs for updates in 11.1
- From: "Adam D. Barratt" <adam@adam-barratt.org.uk>
- Date: Sat, 09 Oct 2021 12:09:40 +0100
- Message-id: <81741a2f4e370c14a3bec08b7fe6e2b10c32267b.camel@adam-barratt.org.uk>
Package: release.debian.org Version: 11.1 Hi, The updates relating to these bugs were included in this morning's 11.1 point release for bullseye. Regards, Adam
--- End Message ---