Skip to content

Update dependency org.jruby:jruby to v9.4.12.1 [SECURITY]#183

Open
renovate-bot wants to merge 1 commit intodevlauer:masterfrom
renovate-bot:renovate/jruby.version
Open

Update dependency org.jruby:jruby to v9.4.12.1 [SECURITY]#183
renovate-bot wants to merge 1 commit intodevlauer:masterfrom
renovate-bot:renovate/jruby.version

Conversation

@renovate-bot
Copy link
Copy Markdown
Contributor

@renovate-bot renovate-bot commented Jan 21, 2025

This PR contains the following updates:

Package Change Age Confidence
org.jruby:jruby 9.4.9.09.4.12.1 age confidence

JRuby-OpenSSL has hostname verification disabled by default

CVE-2025-46551 / GHSA-72qj-48g4-5xgx

More information

Details

Summary

When verifying SSL certificates, jruby-openssl is not verifying that the hostname presented in the certificate matches the one we are trying to connect to, meaning a MITM could just present any valid cert for a completely different domain they own, and JRuby wouldn't complain.

Details

n/a

PoC

An example domain bad.substitutealert.com was created to present the a certificate for the domain s8a.me. The following script run in IRB in CRuby 3.4.3 will fail with certificate verify failed (hostname mismatch), but will work just fine in JRuby 10.0.0.0 and JRuby 9.4.2.0, both of which use jruby-openssl version 0.15.3

require "net/http"
require "openssl"

uri   = URI("https://bad.substitutealert.com/")
https = Net::HTTP.new(uri.host, uri.port)
https.use_ssl      = true
https.verify_mode  = OpenSSL::SSL::VERIFY_PEER

body = https.start { https.get(uri.request_uri).body }
puts body
Impact

Anybody using JRuby to make requests of external APIs, or scraping the web, that depends on https to connect securely

Severity

  • CVSS Score: 5.7 / 10 (Medium)
  • Vector String: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P

References

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


Release Notes

jruby/jruby (org.jruby:jruby)

v9.4.12.1: JRuby 9.4.12.1 Released

Compare Source

The JRuby community is pleased to announce the release of JRuby 9.4.12.1.

JRuby 9.4.12.x targets Ruby 3.1 compatibility.

Security

v9.4.12.0: JRuby 9.4.12.0 Released

Compare Source

The JRuby community is pleased to announce the release of JRuby 9.4.12.0.

JRuby 9.4.12.x targets Ruby 3.1 compatibility.

Thank you to our contributors this release, you help keep JRuby moving forward!

Critical Fixes

  • Added additional locking to the new Class#subclasses implementation to fix a concurrent modification error. #​8602, #​8603

Standard Library

  • jar-dependencies upgraded to 0.5.4 to fix an issue parsing Maven output on Java versions 9 and higher. #​8606, [#​8515]
4 Issues and PRs resolved for 9.4.12.0

v9.4.11.0: JRuby 9.4.11.0 Released

Compare Source

The JRuby community is pleased to announce the release of JRuby 9.4.11.0.

JRuby 9.4.11.x targets Ruby 3.1 compatibility. This release fixes two critical bugs in JRuby 9.4.10.0 and we recommend users skip that version when upgrading.

Thank you to our contributors this release, you help keep JRuby moving forward!

Critical Fixes

  • Fixed an issue where Mutex lock acquisition may leave the Mutex locked if an asynchronous Thread interrupt happens at the same time. #​8585, #​8586
  • Fixed a memory leak where singleton classes would leave behind bookkeeping objects that accumulated over time. #​8591, #​8598

Standard Library

  • rubygems been updated to version 3.6.3 to fix an incompatibility with bundler 2.6. #​8590, #​8596
  • bundler has been updated to version 2.6.3. #​8596
  • jruby-openssl has been updated to 0.15.3. #​8458, Release 0.15.3
  • jar-dependencies has been updated to 0.5.3 to fix remaining issues loading Maven jars in containerized environments. #​8593, #​8595
9 Issues and PRs resolved for 9.4.11.0

v9.4.10.0: JRuby 9.4.10.0 Released

Compare Source

The JRuby community is pleased to announce the release of JRuby 9.4.10.0.

JRuby 9.4.x targets Ruby 3.1 compatibility.

Thank you to our contributors this release, you help keep JRuby moving forward!

Ruby Compatibility

  • Fixed a NegativeArraySizeException crash parsing heredocs. #​8355, #​8557
  • Users can now opt into Ruby 3.3 behavior for NoMethodError and NameError that no longer inspects the target object. This inspect frequently led to memory issues. Specify JRuby flag -XnameError.inspect.object=false or JVM property jruby.nameError.inspect.object=false to disable the inspect call. #​216, #​8384, #​8538
  • Implemented the missing Process.argv0 method, used by recent Bundler releases. #​8568, #​8570

Standard Library

  • The jar-dependencies gem, responsible for fetching jar file dependencies of Ruby gems, can now be updated independently of JRuby. #​7262, #​8488, #​8502
  • An upcoming release of jar-dependencies, will fix issues sourcing jar dependencies in container deployments (partially fixed previously by an updated ruby-maven-libs gem). #​7059, #​8366
  • The psych gem is updated to version 5.2.3, including a fix for YAML aliases from SnakeYAML-Engine version 2.9. #​8352, #​8575
  • The reline gem is updated to 0.5.12. #​8481

Java Integration

  • Only JVM classes imported from the same classloader hierarchy as JRuby will be bound to constants in JRuby's package hierarchy. #​8156
  • Implementing a Java interface no longer leads to constant redefinition warnings. #​8349, #​8503
  • Precompiled Ruby scripts now properly prepare optimized homogeneous case/when statements. Previously they would deserialize incorrectly and garble the branches. #​8421, #​8424

Performance and Usability

  • Additional runtime data structures are eagerly cleared when tearing down a JRuby runtime, aiding GC. #​8343, #​8566
  • The JRuby shell-based launcher script now properly handles JRuby installed in a path with spaces. #​8441, #​8442
  • The Class#subclasses method has been optimized to eliminate it as a bottleneck in complex ActiveRecord STI queries. #​8457, #​8462
  • Integer multiplication operations that overflow outside of int64 range have been optimized to eliminate heavy exception raises. #​8516, #​8523

Issues and PRs resolved for 9.4.10.0


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • ""
  • 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 was generated by Mend Renovate. View the repository job log.

@renovate-bot renovate-bot force-pushed the renovate/jruby.version branch from 0cb046f to cf3f2fc Compare January 29, 2025 21:45
@renovate-bot renovate-bot changed the title Update dependency org.jruby:jruby to v9.4.10.0 Update dependency org.jruby:jruby to v9.4.11.0 Jan 29, 2025
@renovate-bot renovate-bot force-pushed the renovate/jruby.version branch from cf3f2fc to 60e3169 Compare February 11, 2025 18:50
@renovate-bot renovate-bot changed the title Update dependency org.jruby:jruby to v9.4.11.0 Update dependency org.jruby:jruby to v9.4.12.0 Feb 11, 2025
@renovate-bot renovate-bot changed the title Update dependency org.jruby:jruby to v9.4.12.0 Update dependency org.jruby:jruby to v9.4.12.1 [SECURITY] May 7, 2025
@renovate-bot renovate-bot force-pushed the renovate/jruby.version branch from 60e3169 to 7f18491 Compare May 7, 2025 17:34
@renovate-bot renovate-bot force-pushed the renovate/jruby.version branch 20 times, most recently from be4f06c to f92cab3 Compare June 4, 2025 01:31
@renovate-bot renovate-bot force-pushed the renovate/jruby.version branch 4 times, most recently from 37ec0f8 to 10d2cf9 Compare June 5, 2025 11:29
@renovate-bot renovate-bot force-pushed the renovate/jruby.version branch 18 times, most recently from 33661f9 to f39951f Compare June 17, 2025 20:55
@renovate-bot renovate-bot force-pushed the renovate/jruby.version branch 11 times, most recently from 9070fb9 to 7e47bb1 Compare June 22, 2025 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant