Rhino vulnerable high CPU usage and potential DoS when passing specific numbers to toFixed() function
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| mozilla | rhino | affected |
|
Configuration 1 [-]
|
No data.
| Vendor | Product | Versions |
|---|---|---|
| Mozilla | Rhino | — |
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-3w8q-xq97-5j7x | Rhino has high CPU usage and potential DoS when passing specific numbers to `toFixed()` function |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.291% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:2.3:a:mozilla:rhino:*:*:*:*:*:*:*:* cpe:2.3:a:mozilla:rhino:1.7.15:*:*:*:*:*:*:* cpe:2.3:a:mozilla:rhino:1.8.0:*:*:*:*:*:*:* |
|
| Metrics |
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Mozilla
Mozilla rhino |
|
| Vendors & Products |
Mozilla
Mozilla rhino |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Rhino is an open-source implementation of JavaScript written entirely in Java. Prior to 1.8.1, 1.7.15.1, and 1.7.14.1, when an application passed an attacker controlled float poing number into the toFixed() function, it might lead to high CPU consumption and a potential Denial of Service. Small numbers go through this call stack: NativeNumber.numTo > DToA.JS_dtostr > DToA.JS_dtoa > DToA.pow5mult where pow5mult attempts to raise 5 to a ridiculous power. This vulnerability is fixed in 1.8.1, 1.7.15.1, and 1.7.14.1. | |
| Title | Rhino vulnerable high CPU usage and potential DoS when passing specific numbers to toFixed() function | |
| Weaknesses | CWE-400 | |
| References |
| |
| Metrics |
cvssV4_0
|