GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Hostname verification disabled on the OpenSSL client path when trust-manager wrapping is unavailable (Java 25+)

Hostname verification disabled on the OpenSSL client path when trust-manager wrapping is unavailable (Java 25+)

High
chrisvest published GHSA-p85m-gvr3-788c Aug 7, 2026

Package

io.netty:netty-handler (Maven)

Affected versions

>=4.2.0.Final, <=4.2.16.Final
<=4.1.136.Final

Patched versions

4.2.17.Final
4.1.137.Final

Description

Summary

The CVE-2026-50010 fix relies on JDK-internal wrapping to add hostname verification to a plain X509TrustManager. On the SslProvider.OPENSSL path that wrapping comes from an Unsafe-based reflection. By default Unsafe is not available on Java 25+, so an OpenSSL client with a plain trust manager does not have hostname verification.

Details

When Unsafe is not available (Java 25+), the wrapper is the default io.netty.handler.ssl.OpenSslX509TrustManagerWrapper

    private static final TrustManagerWrapper DEFAULT = new TrustManagerWrapper() {
        @Override
        public X509TrustManager wrapIfNeeded(X509TrustManager manager) {
            return manager;
        }
    };

Impact

TLS hostname-verification bypass, affects users on OpenSSL provider with a plain (non-extended) X509TrustManager on Java 25+.

Severity

High
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

CVE ID

No known CVE

Weaknesses

Weakness CWE-297

Improper Validation of Certificate with Host Mismatch

The product communicates with a host that provides a certificate, but the product does not properly ensure that the certificate is actually associated with that host. Learn more on MITRE.

Credits

  • @violetagg violetagg Reporter
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.