CVE-2025-66453 replace servicemix rhino bundle with org.mozilla:rhino:1.7.15.1#1037
Merged
Merged
Conversation
Copilot
AI
changed the title
[WIP] Update org.apache.servicemix.bundles.rhino to mitigate CVE-2025-66453
fix(security): replace servicemix rhino bundle with org.mozilla:rhino:1.7.15.1 (CVE-2025-66453)
Jun 6, 2026
Contributor
|
This upgrade leads to dependency duplication, see #980, so there will be duplicated transitive CVE-2025-66453 has low severity (2.7/10) |
Contributor
|
Doing a research to replace the |
maximthomas
reviewed
Jun 9, 2026
Contributor
There was a problem hiding this comment.
Rhino dependency declaration can be removed from the file. It is already declared in the commons project.
Removed dependency for Mozilla Rhino Javascript engine.
maximthomas
approved these changes
Jun 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
org.apache.servicemix.bundles:org.apache.servicemix.bundles.rhino:1.7.15_1inlinesorg.mozilla:rhino:1.7.15, which is vulnerable to CVE-2025-66453 (CVSS 7.5) — a DoS viaNumber.prototype.toFixed()that drivesDToA.pow5multinto unbounded CPU consumption. No newer ServiceMix bundle exists on Maven Central; the fixedorg.mozilla:rhino:1.7.15.1is a safe drop-in since OpenAM deploys as a WAR (no OSGi runtime) and uses only the standardorg.mozilla.javascript.*API.Changes
pom.xml— updatedrhino.versionto1.7.15.1and replaced the<dependencyManagement>entry:openam-scripting/pom.xml— same groupId/artifactId substitution for the consuming module dependency.No source changes required;
org.mozilla:rhinoexposes the identicalorg.mozilla.javascript.*API surface.