<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://db.gcve.eu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-01T17:57:04.981538+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@gcve.eu</email>
  </author>
  <link href="https://db.gcve.eu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://db.gcve.eu/vuln/ghsa-g7hg-vrcf-mvmr</id>
    <title>GHSA-g7hg-vrcf-mvmr — Netty: Out-of-date OCSP Responses Accepted by OcspServerCertificateValidator</title>
    <updated>2026-10-01T17:57:05.012541+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Maven: io.netty:netty-handler-ssl-ocsp</p>
<p>### Summary
`OcspServerCertificateValidator` flags an out-of-date OCSP response but does not stop processing it, so an expired GOOD response is still reported as `VALID`, letting an on-path attacker replay a stale GOOD response to bypass revocation of a since-revoked certificate.</p>
<p>### Details
In `io.netty.handler.ssl.ocsp.OcspServerCertificateValidator#userEventTriggered` the freshness check has no `return`, so execution falls through and a `VALID` `OcspValidationEvent` is still fired:</p>
<p>```java
                        if (!(current.after(response.getThisUpdate()) &amp;&amp;
                                current.before(response.getNextUpdate()))) {
                            ctx.fireExceptionCaught(new IllegalStateException("OCSP Response is out-of-date"));
                        }
```</p>
<p>Nonce validation is optional and off by default, so freshness is the only replay defense — and it is not enforced. Additionally `getNextUpdate()` may be `null`, making `current.before(null)` throw `NullPointerException`.</p>
<p>https://datatracker.ietf.org/doc/html/rfc6960#section-3.2</p>
<p>```
   5. The time at which the status being indicated is known to be
      correct (thisUpdate) is sufficiently recent;</p>
<p>6. When available, the time at or before which newer information will
      be available about the status of the certificate (nextUpdate) is
      greater than the current time.
```</p>
<p>### PoC</p>
<p>Add the test below to `io.netty.handler.ssl.ocsp.OcspServerCertificateValidatorTest`</p>
<p>```java
    @Test…</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/ghsa-g7hg-vrcf-mvmr"/>
  </entry>
</feed>
