-
Notifications
You must be signed in to change notification settings - Fork 531
[GHSA-378v-28hj-76wf] bn.js affected by an infinite loop #6999
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,21 +1,17 @@ | ||||||
| { | ||||||
| "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" | ||||||
| ], | ||||||
| "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" | ||||||
|
||||||
| "fixed": "5.2.3,4.12.3" | |
| "fixed": ["5.2.3", "4.12.3"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The CVSS v4 score has all impact metrics set to 'N' (None), including VA:N (Vulnerability Availability). This is inconsistent with the vulnerability description which states methods 'enter an infinite loop, hanging the process indefinitely', which should result in availability impact. The original score had VA:L which appears more accurate for a DoS vulnerability.