CVE-2021-37155

wolfSSL 4.6.x through 4.7.x before 4.8.0 does not produce a failure outcome when the serial number in an OCSP request differs from the serial number in the…

published July 21, 2021

CVSS
—
EPSS
1%
Percentile
73.9
In the wild
Unconfirmed
What it is

⚠️ WolfSSL has a sneaky oversight! The library fails to raise a red flag when OCSP request serial numbers don’t match the responses — it’s like a bouncer letting in anyone with a fake ID! Picture a restaurant where diners can order food without confirming their identity. If the chef sends out meals without checking the orders, chaos ensues when someone gets someone else's dish! While this vulnerability may seem subtle, it could allow for some very confusing and potentially dangerous situations in certificate validation. An attacker could exploit this to trick systems into thinking a certificate is still valid when it’s not, leading to a false sense of security. That’s a recipe for disaster!

Put simply

Picture a restaurant where diners can order food without confirming their identity. If the chef sends out meals without checking the orders, chaos ensues when someone gets someone else's dish! This issue in wolfSSL versions 4.6.x through 4.7.x fails to validate that the serial number in an OCSP request matches the one in the response, potentially allowing for compromised certificate validation.

What to do

While this vulnerability may seem subtle, it could allow for some very confusing and potentially dangerous situations in certificate validation. An attacker could exploit this to trick systems into thinking a certificate is still valid when it’s not, leading to a false sense of security. That’s a recipe for disaster! Upgrade wolfSSL to version 4.8.0 or later to close this gap. It’s also a good idea to review your OCSP configurations to ensure they're correctly implemented. 🔒 You've got this! Update your library and keep your security game strong! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01493 · 73.9th percentile
Published
2021-07-21T13:43Z
EPSS history
Timeline
  • 21 JUL 13:43Z
    wolfSSL 4.6.x through 4.7.x before 4.8.0 does not produce a failure outcome when the serial number in an OCSP request differs from the serial number in the…
    cvelistv5