Intel

AIKIDO-2026-746446

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

Improper Certificate ValidationGHSA-jhjp-5q4f-8wr2 Published Today

74

High Risk

This Affects:

JAVAnetty-handler-ssl-ocsp
4.1.0.Final - 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

Netty's OcspClient validates the OCSP responder's certificate chain but never checks that the responder certificate carries the id-kp-OCSPSigning Extended Key Usage required by RFC 6960, because validateSignature builds the path without that constraint. Any certificate validly issued by the CA can therefore sign OCSP responses. A holder of such a certificate can forge GOOD responses for revoked certificates, defeating revocation checking and enabling man-in-the-middle. The fix verifies the OCSP-signing Extended Key Usage on the responder certificate.

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 client to reject revoked certificates.

Background info

netty-handler-ssl-ocsp is vulnerable to Improper Certificate Validation in versions 4.1.0.Final - 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