fix(deps): update dependency org.mozilla:rhino to v1.7.14.1 [security]#372
fix(deps): update dependency org.mozilla:rhino to v1.7.14.1 [security]#372renovate[bot] wants to merge 1 commit into
Conversation
Test Results18 tests - 636 18 ✅ - 636 7s ⏱️ - 2m 29s Results for commit 2f7f43c. ± Comparison against base commit e72e766. This pull request removes 636 tests. |
|
Build failed. Several code changes/improvements are required before a rhino upgrade is possible. I plan on opening some PRs to address upgrading rhino. I would like to get it to the point where the library can be upgraded without code changes, though there are probably some api breaking changes coming soon. |
Renovate Ignore NotificationBecause you closed this PR without merging, Renovate will ignore this update ( If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR. |
This PR contains the following updates:
1.7.13→1.7.14.1Rhino has high CPU usage and potential DoS when passing specific numbers to
toFixed()functionCVE-2025-66453 / GHSA-3w8q-xq97-5j7x
More information
Details
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.pow5multwhere
pow5multattempts to raise5to a ridiculous power.Example code:
(4.47118444E-314).toFixed(2)Severity
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:UReferences
This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).
Release Notes
mozilla/rhino (org.mozilla:rhino)
v1.7.14.1December 2, 2025
These releases fix a bug in the code that formats floating-point numbers into strings
that could result in very bad performance in some cases.
We recommend that all users of Rhino upgrade to release 1.8.1 if possible,
and upgrade to Java 17 or 21.
Users who need an older release, or who cannot yet leave Java 8, can also
use 1.7.15.1 or 1.7.14.1.
v1.7.14December 2, 2025
These releases fix a bug in the code that formats floating-point numbers into strings
that could result in very bad performance in some cases.
We recommend that all users of Rhino upgrade to release 1.8.1 if possible,
and upgrade to Java 17 or 21.
Users who need an older release, or who cannot yet leave Java 8, can also
use 1.7.15.1 or 1.7.14.1.
Configuration
📅 Schedule: (in timezone America/New_York)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.