Intel

AIKIDO-2026-293812

netty-handler-ssl-ocsp is vulnerable to Improper Certificate Validation

Improper Certificate ValidationGHSA-jj3c-mwvr-9g52 Published Yesterday

59

Medium Risk

This Affects:

JAVAnetty-handler-ssl-ocsp
0.0.1 - 4.1.137.Final
Fixed in 4.1.138.Final
4.2.0.Final - 4.2.17.Final
Fixed in 4.2.18.Final
Are you affected? Scan for Free

TL;DR

In OcspServerCertificateValidator, when an OCSP response omits nextUpdate the staleness check is skipped, so arbitrarily stale responses pass. A subsequent NullPointerException fires inside a promise listener rather than exceptionCaught, so the validator removes itself and fails silently without emitting a validation event. Because the TLS handshake complete event precedes async OCSP validation, applications cannot distinguish success from silent failure and may accept revoked certificates. The fix allows a missing nextUpdate as valid only inside a clock skew window around thisUpdate and sends listener failures through exceptionCaught.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you rely on Netty's OCSP validation to reject revoked certificates.

Background info

netty-handler-ssl-ocsp is vulnerable to Improper Certificate Validation in versions 0.0.1 - 4.1.137.Final and 4.2.0.Final - 4.2.17.Final.

How to fix this

Upgrade the io.netty:netty-handler-ssl-ocsp library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform