Rebex libraries: Vulnerability in OCSP response validation

  |   Rebex Security

We have found and fixed several issues in the OCSP response validation of the Rebex certificate validator. Some of them might allow an attacker to bypass the certificate revocation check.

Rebex.Common.Validator

Affected library:
Rebex.Common.Validator
(Rebex.Common.Validator is an optional extension for Rebex libraries. It implements X.509 certificate validation.)

Affected versions:
6.0.8232–7.0.9649
8.0.0–8.0.9709

Fixed in:
8.0.9797
7.0.9796

Legacy Edition

Affected libraries (Legacy Edition only):
Rebex.Common, Rebex.Ews, Rebex.FileTransfer, Rebex.Ftp, Rebex.Graph, Rebex.Http, Rebex.Imap, Rebex.Mail, Rebex.Networking, Rebex.Smtp, Rebex.Syslog, Rebex.Telnet, Rebex.Tls, Rebex.WebSocket

Affected versions:
5.0.8020–5.0.9272
8.0.0–8.0.9709

Fixed in:
8.0.9797

Background

Legacy Edition of Rebex libraries targets .NET Compact Framework 3.5/3.9 and .NET Framework 2.0 on Windows XP. These legacy operating systems lack some features of X.509 certificate validation, such as SHA-2 support. Because of this, Legacy Edition comes with a built-in certificate validator that implements them.

The same certificate validator is available for contemporary .NET platforms as a stand-alone extension package, Rebex.Common.Validator.

One of the validator's tasks is a revocation check. It can use OCSP (Online Certificate Status Protocol, RFC 6960) to ask a certification authority (CA) whether a certificate has been revoked. The CA sends back a signed OCSP response, and the validator has to make sure this response is genuine and current before it trusts it.

The vulnerability

A thorough code review of the certificate validator logic identified several issues in the OCSP response validator, which did not fully conform to RFC 6960. Some of these deficiencies might be exploited by attackers:

  • Wrong OCSP responder accepted. A trusted CA could issue OCSP responses for certificates issued by another, unrelated trusted CA. Such a response should have been rejected, but the validator accepted it.
  • Improper time validity checking. The validator did not check the time validity of OCSP responses properly.

In both cases, the result might be that a revoked certificate is accepted as valid.

Who is affected

Your application is affected if it uses one of the affected libraries for certificate validation that involves revocation checking:

  • Rebex.Common.Validator 6.0.8232–8.0.9709 on any platform.
  • Legacy Edition of Rebex libraries 5.0.8020–5.0.9272 or 8.0.0–8.0.9709 (.NET Compact Framework 3.5/3.9 or .NET Framework 2.0).

What to do

Upgrade Rebex.Common.Validator to version 7.0.9796, 8.0.9797, or later.

Upgrade Legacy Edition of Rebex libraries to version 8.0.9797 or later.

To upgrade, please log in to your account at Rebex.NET and download the update, or obtain a NuGet key there to access the libraries from NuGet.org: https://www.nuget.org/profiles/rebex.

 

This is an official Rebex security advisory. See the Security center for more information about Rebex product security.

Last updated: November 24, 2026.