Skip to content

Conversation

@specmatic-builder
Copy link
Contributor

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
org.mozilla:rhino (source) 1.8.0 -> 1.8.1 age adoption passing confidence

Rhino has high CPU usage and potential DoS when passing specific numbers to toFixed() function

CVE-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.pow5mult
where pow5mult attempts to raise 5 to a ridiculous power.

Example code: (4.47118444E-314).toFixed(2)

Severity

  • CVSS Score: 2.7 / 10 (Low)
  • Vector String: 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:U

References

This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).


Release Notes

mozilla/rhino (org.mozilla:rhino)

v1.8.1

December 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: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot. Specmatic specific configuration is managed here.

@github-actions
Copy link

github-actions bot commented Dec 7, 2025

Summary

Line coverage Branch coverage

Assembly Line coverage Branch coverage
application 55.9% 42.7%
application/backwardCompatibility 77.2% 54.5%
application/mcp 5.2% 0%
io/specmatic/conversions 91.2% 79.4%
io/specmatic/core 77% 59.5%
io/specmatic/core/azure 0% 0%
io/specmatic/core/config 95.4% 84.2%
io/specmatic/core/config/v1 97.8% 25%
io/specmatic/core/config/v2 97.7% 74.1%
io/specmatic/core/config/v3 97.6% 83.6%
io/specmatic/core/discriminator 53.2% 43.1%
io/specmatic/core/examples/module 21.6% 14.4%
io/specmatic/core/examples/server 11.3% 0%
io/specmatic/core/filters 81.2% 74.4%
io/specmatic/core/git 5% 3.4%
io/specmatic/core/jsonoperator 76.4% 70.8%
io/specmatic/core/jsonoperator/value 85.1% 75.5%
io/specmatic/core/lifecycle 0% ****
io/specmatic/core/log 80.7% 61.2%
io/specmatic/core/matchers 77.5% 54.5%
io/specmatic/core/overlay 85.7% 58.3%
io/specmatic/core/pattern 86.5% 74.9%
io/specmatic/core/pattern/config 100% ****
io/specmatic/core/pattern/regex 94% 86.5%
io/specmatic/core/report 0% 0%
io/specmatic/core/route/modules 92.8% 75%
io/specmatic/core/utilities 61% 54.6%
io/specmatic/core/value 85.5% 73.2%
io/specmatic/core/wsdl/parser 80.9% 41.4%
io/specmatic/core/wsdl/parser/message 89% 67.8%
io/specmatic/core/wsdl/parser/operation 100% 100%
io/specmatic/core/wsdl/payload 71.7% 33.3%
io/specmatic/junit5/support 0% ****
io/specmatic/mcp/constants 0% ****
io/specmatic/mcp/report 0% 0%
io/specmatic/mcp/test 0% 0%
io/specmatic/mcp/test/client 0% 0%
io/specmatic/mcp/test/client/model 0% 0%
io/specmatic/mock 55.3% 56%
io/specmatic/proxy 64.6% 47.1%
io/specmatic/specmatic/core 0% ****
io/specmatic/specmatic/executable 100% ****
io/specmatic/specmatic/mcp 0% ****
io/specmatic/stub 76.5% 70.3%
io/specmatic/stub/listener 100% 50%
io/specmatic/stub/report 98% 77.2%
io/specmatic/test 66.9% 54%
io/specmatic/test/asserts 97.1% 85.8%
io/specmatic/test/handlers 90.9% 63.5%
io/specmatic/test/listeners 47% 23.6%
io/specmatic/test/reports 65.1% 28.9%
io/specmatic/test/reports/coverage 97.2% 51.2%
io/specmatic/test/reports/coverage/console 85.5% 80%
io/specmatic/test/reports/coverage/html 0% 0%
io/specmatic/test/reports/renderers 11.8% 12.1%
io/specmatic/test/utils 92.1% 82%

@ketan ketan merged commit 3454682 into main Dec 7, 2025
3 checks passed
@ketan ketan deleted the renovate/maven-org.mozilla-rhino-vulnerability branch December 7, 2025 03:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants