<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://vulnerability.circl.lu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Mon, 05 Oct 2026 03:58:54 +0000</lastBuildDate>
    <item>
      <title>GHSA-72qj-48g4-5xgx — JRuby-OpenSSL has hostname verification disabled by default</title>
      <link>https://vulnerability.circl.lu/vuln/ghsa-72qj-48g4-5xgx</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Maven: rubygems:jruby-openssl, Maven: org.jruby:jruby, RubyGems: jruby-openssl&lt;/p&gt;
&lt;p&gt;### 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&amp;#39;t complain.&lt;/p&gt;
&lt;p&gt;### Details
n/a&lt;/p&gt;
&lt;p&gt;### 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&lt;/p&gt;
&lt;p&gt;```ruby
require &amp;#34;net/http&amp;#34;
require &amp;#34;openssl&amp;#34;&lt;/p&gt;
&lt;p&gt;uri   = URI(&amp;#34;https://bad.substitutealert.com/&amp;#34;)
https = Net::HTTP.new(uri.host, uri.port)
https.use_ssl      = true
https.verify_mode  = OpenSSL::SSL::VERIFY_PEER&lt;/p&gt;
&lt;p&gt;body = https.start { https.get(uri.request_uri).body }
puts body
```&lt;/p&gt;
&lt;p&gt;### Impact
Anybody using JRuby to make requests of external APIs, or scraping the web, that depends on https to connect securely&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Maven: rubygems:jruby-openssl, Maven: org.jruby:jruby, RubyGems: jruby-openssl&lt;/p&gt;
&lt;p&gt;### 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&amp;#39;t complain.&lt;/p&gt;
&lt;p&gt;### Details
n/a&lt;/p&gt;
&lt;p&gt;### 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&lt;/p&gt;
&lt;p&gt;```ruby
require &amp;#34;net/http&amp;#34;
require &amp;#34;openssl&amp;#34;&lt;/p&gt;
&lt;p&gt;uri   = URI(&amp;#34;https://bad.substitutealert.com/&amp;#34;)
https = Net::HTTP.new(uri.host, uri.port)
https.use_ssl      = true
https.verify_mode  = OpenSSL::SSL::VERIFY_PEER&lt;/p&gt;
&lt;p&gt;body = https.start { https.get(uri.request_uri).body }
puts body
```&lt;/p&gt;
&lt;p&gt;### Impact
Anybody using JRuby to make requests of external APIs, or scraping the web, that depends on https to connect securely&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/ghsa-72qj-48g4-5xgx</guid>
    </item>
  </channel>
</rss>
