From 7797a79d0c431047246818f06ecb10b740832f0b Mon Sep 17 00:00:00 2001 From: Richard Simko <1245031+richardsimko@users.noreply.github.com> Date: Sun, 22 Feb 2026 10:36:43 +0100 Subject: [PATCH 1/6] Improve GHSA-378v-28hj-76wf --- .../GHSA-378v-28hj-76wf.json | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/advisories/github-reviewed/2026/02/GHSA-378v-28hj-76wf/GHSA-378v-28hj-76wf.json b/advisories/github-reviewed/2026/02/GHSA-378v-28hj-76wf/GHSA-378v-28hj-76wf.json index a03ceb51fe956..f574d6b56e01e 100644 --- a/advisories/github-reviewed/2026/02/GHSA-378v-28hj-76wf/GHSA-378v-28hj-76wf.json +++ b/advisories/github-reviewed/2026/02/GHSA-378v-28hj-76wf/GHSA-378v-28hj-76wf.json @@ -1,7 +1,7 @@ { "schema_version": "1.4.0", "id": "GHSA-378v-28hj-76wf", - "modified": "2026-02-20T21:18:31Z", + "modified": "2026-02-20T21:18:32Z", "published": "2026-02-20T06:30:39Z", "aliases": [ "CVE-2026-2739" @@ -9,13 +9,9 @@ "summary": "bn.js affected by an infinite loop", "details": "This affects versions of the package bn.js before 5.2.3. Calling maskn(0) on any BN instance corrupts the internal state, causing toString(), divmod(), and other methods to enter an infinite loop, hanging the process indefinitely.", "severity": [ - { - "type": "CVSS_V3", - "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L" - }, { "type": "CVSS_V4", - "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P" + "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:N/SA:N" } ], "affected": [ @@ -32,11 +28,14 @@ "introduced": "0" }, { - "fixed": "5.2.3" + "fixed": "5.2.3,4.12.3" } ] } - ] + ], + "database_specific": { + "last_known_affected_version_range": "< 5.2.3" + } } ], "references": [ @@ -81,7 +80,7 @@ "cwe_ids": [ "CWE-835" ], - "severity": "MODERATE", + "severity": "LOW", "github_reviewed": true, "github_reviewed_at": "2026-02-20T21:18:31Z", "nvd_published_at": "2026-02-20T05:17:53Z" From a13761bbf1c8e17f57c0a807e946349d5c1a4a01 Mon Sep 17 00:00:00 2001 From: Richard Simko <1245031+richardsimko@users.noreply.github.com> Date: Sun, 22 Feb 2026 10:42:32 +0100 Subject: [PATCH 2/6] Restore CVSS score and severity --- .../02/GHSA-378v-28hj-76wf/GHSA-378v-28hj-76wf.json | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/advisories/github-reviewed/2026/02/GHSA-378v-28hj-76wf/GHSA-378v-28hj-76wf.json b/advisories/github-reviewed/2026/02/GHSA-378v-28hj-76wf/GHSA-378v-28hj-76wf.json index f574d6b56e01e..718193939da7a 100644 --- a/advisories/github-reviewed/2026/02/GHSA-378v-28hj-76wf/GHSA-378v-28hj-76wf.json +++ b/advisories/github-reviewed/2026/02/GHSA-378v-28hj-76wf/GHSA-378v-28hj-76wf.json @@ -9,9 +9,13 @@ "summary": "bn.js affected by an infinite loop", "details": "This affects versions of the package bn.js before 5.2.3. Calling maskn(0) on any BN instance corrupts the internal state, causing toString(), divmod(), and other methods to enter an infinite loop, hanging the process indefinitely.", "severity": [ + { + "type": "CVSS_V3", + "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L" + }, { "type": "CVSS_V4", - "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:N/SA:N" + "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P" } ], "affected": [ @@ -28,7 +32,7 @@ "introduced": "0" }, { - "fixed": "5.2.3,4.12.3" + "fixed": ["5.2.3", "4.12.3"] } ] } @@ -80,9 +84,9 @@ "cwe_ids": [ "CWE-835" ], - "severity": "LOW", + "severity": "MODERATE", "github_reviewed": true, "github_reviewed_at": "2026-02-20T21:18:31Z", "nvd_published_at": "2026-02-20T05:17:53Z" } -} \ No newline at end of file +} From 89f099f487c6f58885635c7443da67fa8aab2c49 Mon Sep 17 00:00:00 2001 From: Richard Simko <1245031+richardsimko@users.noreply.github.com> Date: Sun, 22 Feb 2026 10:51:14 +0100 Subject: [PATCH 3/6] Fix version ranges to match with real schema instead of Copilot bullshit --- .../2026/02/GHSA-378v-28hj-76wf/GHSA-378v-28hj-76wf.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/advisories/github-reviewed/2026/02/GHSA-378v-28hj-76wf/GHSA-378v-28hj-76wf.json b/advisories/github-reviewed/2026/02/GHSA-378v-28hj-76wf/GHSA-378v-28hj-76wf.json index 718193939da7a..93890858bb876 100644 --- a/advisories/github-reviewed/2026/02/GHSA-378v-28hj-76wf/GHSA-378v-28hj-76wf.json +++ b/advisories/github-reviewed/2026/02/GHSA-378v-28hj-76wf/GHSA-378v-28hj-76wf.json @@ -32,7 +32,10 @@ "introduced": "0" }, { - "fixed": ["5.2.3", "4.12.3"] + "fixed": "5.2.3" + }, + { + "fixed": "4.12.3" } ] } From 920fbea240674282b32f99c96939ef50e2a8c2a1 Mon Sep 17 00:00:00 2001 From: Richard Simko <1245031+richardsimko@users.noreply.github.com> Date: Sun, 22 Feb 2026 10:58:46 +0100 Subject: [PATCH 4/6] Third time's the charm for correct syntax --- .../GHSA-378v-28hj-76wf.json | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/advisories/github-reviewed/2026/02/GHSA-378v-28hj-76wf/GHSA-378v-28hj-76wf.json b/advisories/github-reviewed/2026/02/GHSA-378v-28hj-76wf/GHSA-378v-28hj-76wf.json index 93890858bb876..32294ecd766e8 100644 --- a/advisories/github-reviewed/2026/02/GHSA-378v-28hj-76wf/GHSA-378v-28hj-76wf.json +++ b/advisories/github-reviewed/2026/02/GHSA-378v-28hj-76wf/GHSA-378v-28hj-76wf.json @@ -33,6 +33,25 @@ }, { "fixed": "5.2.3" + } + ] + } + ], + "database_specific": { + "last_known_affected_version_range": "< 5.2.3" + } + }, + { + "package": { + "ecosystem": "npm", + "name": "bn.js" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0" }, { "fixed": "4.12.3" @@ -66,6 +85,10 @@ "type": "WEB", "url": "https://github.com/indutny/bn.js/commit/33df26b5771e824f303a79ec6407409376baa64b" }, + { + "type": "WEB", + "url": "https://github.com/indutny/bn.js/commit/67ecb35dabaf252001b649c12d69c4b57deac6f6" + }, { "type": "WEB", "url": "https://gist.github.com/Kr0emer/02370d18328c28b5dd7f9ac880d22a91" @@ -78,6 +101,10 @@ "type": "WEB", "url": "https://github.com/indutny/bn.js/releases/tag/v5.2.3" }, + { + "type": "WEB", + "url": "https://github.com/indutny/bn.js/releases/tag/v4.12.3" + }, { "type": "WEB", "url": "https://security.snyk.io/vuln/SNYK-JS-BNJS-15274301" From 4c12d0ac10f42de9ac9465d8aa7c4baa2e4a2723 Mon Sep 17 00:00:00 2001 From: Richard Simko <1245031+richardsimko@users.noreply.github.com> Date: Sun, 22 Feb 2026 11:00:49 +0100 Subject: [PATCH 5/6] Update modified date --- .../2026/02/GHSA-378v-28hj-76wf/GHSA-378v-28hj-76wf.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/advisories/github-reviewed/2026/02/GHSA-378v-28hj-76wf/GHSA-378v-28hj-76wf.json b/advisories/github-reviewed/2026/02/GHSA-378v-28hj-76wf/GHSA-378v-28hj-76wf.json index 32294ecd766e8..b9b4eb8fefcc3 100644 --- a/advisories/github-reviewed/2026/02/GHSA-378v-28hj-76wf/GHSA-378v-28hj-76wf.json +++ b/advisories/github-reviewed/2026/02/GHSA-378v-28hj-76wf/GHSA-378v-28hj-76wf.json @@ -1,7 +1,7 @@ { "schema_version": "1.4.0", "id": "GHSA-378v-28hj-76wf", - "modified": "2026-02-20T21:18:32Z", + "modified": "2026-02-22T09:18:32Z", "published": "2026-02-20T06:30:39Z", "aliases": [ "CVE-2026-2739" From 8a68d117855fe01cbd6f7cc9c7387839313ef11a Mon Sep 17 00:00:00 2001 From: Richard Simko <1245031+richardsimko@users.noreply.github.com> Date: Tue, 24 Feb 2026 08:59:01 +0100 Subject: [PATCH 6/6] Fix last known affected version Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- .../2026/02/GHSA-378v-28hj-76wf/GHSA-378v-28hj-76wf.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/advisories/github-reviewed/2026/02/GHSA-378v-28hj-76wf/GHSA-378v-28hj-76wf.json b/advisories/github-reviewed/2026/02/GHSA-378v-28hj-76wf/GHSA-378v-28hj-76wf.json index b9b4eb8fefcc3..eee8677247bc7 100644 --- a/advisories/github-reviewed/2026/02/GHSA-378v-28hj-76wf/GHSA-378v-28hj-76wf.json +++ b/advisories/github-reviewed/2026/02/GHSA-378v-28hj-76wf/GHSA-378v-28hj-76wf.json @@ -60,7 +60,7 @@ } ], "database_specific": { - "last_known_affected_version_range": "< 5.2.3" + "last_known_affected_version_range": "< 4.12.3" } } ],