bn.js: bn.js: Denial of Service via calling maskn(0)
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| n/a | bn.js | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Indutny | Bn.js |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-378v-28hj-76wf | bn.js affected by an infinite loop |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.531% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Title | bn.js: bn.js: Denial of Service via calling maskn(0) | |
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Indutny
Indutny bn.js |
|
| Vendors & Products |
Indutny
Indutny bn.js |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Weaknesses | CWE-835 | |
| References |
|
|
| Metrics |
cvssV3_1
|