Medium
Security advisory
wolfSSL before 4.8.1 incorrectly skips OCSP verification in certain situations of irrelevant response data that contains the NoCheck extension.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-38597
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:45 UTC · Revision 1
Source evidence
wolfSSL before 4.8.1 incorrectly skips OCSP verification in certain situations of irrelevant response data that contains the NoCheck extension.
osv:CVE-2021-38597
Complete source record
{
"id": "ea89deff6749864c2f79cb179877b59e6256c4c4e49b3044d3949b9884b17d8d",
"url": "https://osv.dev/vulnerability/CVE-2021-38597",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-38597",
"summary": "wolfSSL before 4.8.1 incorrectly skips OCSP verification in certain situations of irrelevant response data that contains the NoCheck extension.",
"evidence": "osv:CVE-2021-38597",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2021-38597",
"aliases": [
"CVE-2021-38597"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/wolfssl/wolfssl",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "723ed009ae5dc68acc14cd7664f93503d64cd51d"
},
{
"fixed": "f93083be72a3b3d956b52a7ec13f307a27b6e093"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:wolfssl:wolfssl:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "4.8.1"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "f93083be72a3b3d956b52a7ec13f307a27b6e093"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v4.8.0-stable",
"v4.7.1r",
"v4.7.0-stable",
"v4.6.0-stable",
"v4.5.0-stable",
"v4.4.0-stable",
"v4.3.0-stable",
"v4.2.0c",
"v4.2.0-stable",
"v4.1.0-stable",
"v4.0.0-stable",
"list",
"v3.15.7-stable",
"v3.15.6",
"v3.15.5a",
"v3.15.5-stable",
"WCv4-rng-stable",
"v3.15.3-stable",
"l",
"v3.15.0-stable",
"v3.14.4",
"v3.14.2",
"v3.14.0b",
"v3.14.0a",
"v3.14.0-stable",
"v3.13.3",
"v3.13.2",
"v3.13.0-stable",
"v3.12.2-stable",
"v3.12.0-stable",
"v3.11.1-tls13-beta",
"v3.11.0-stable",
"v3.10.3",
"v3.10.2-stable",
"v3.10.0a",
"v3.10.0-stable",
"v3.9.10b",
"v3.9.10-stable",
"v3.9.8",
"v3.9.6w",
"v3.9.6",
"v3.9.1",
"v3.9.0",
"v3.8.0",
"v3.7.3",
"v3.7.1",
"v3.7.0",
"v3.6.9",
"v3.6.8",
"v3.4.6",
"v3.4.2",
"v3.4.0",
"v3.3.3",
"v3.3.0",
"v3.2.6",
"v3.2.4",
"v3.2.0",
"v2.9.4",
"v2.9.2",
"v2.9.1",
"v0.5",
"v2.9.0",
"v2.8.6",
"v2.8.5a",
"v2.8.5",
"v2.8.4",
"v2.8.3",
"v2.8.2",
"v2.8.0",
"v2.7.2",
"v2.7.0",
"v2.6.2",
"v2.6.0",
"v2.4.7",
"v2.4.6",
"v2.4.2",
"v2.0.8",
"v2.0.6",
"v2.0.3",
"v2.0.2",
"v2.0rc3",
"v2.0rc2b",
"v2.0rc2",
"v2.0rc1",
"v1.9.0",
"v1.8.8.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-38597.json",
"vanir_signatures": [
{
"id": "CVE-2021-38597-1072c300",
"digest": {
"threshold": 0.9,
"line_hashes": [
"129559050910902772593620305703892358584",
"46892446780360592572869157630891092452",
"208066940593629570183817566574157000651",
"11078029748587033735632828975921038305",
"81904379545604931314036370645668216769",
"661704961450447980007833454441287648"
]
},
"source": "https://github.com/wolfssl/wolfssl/commit/723ed009ae5dc68acc14cd7664f93503d64cd51d",
"target": {
"file": "wolfcrypt/src/port/caam/caam_qnx.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
},
{
"id": "CVE-2021-38597-5198d99d",
"digest": {
"threshold": 0.9,
"line_hashes": [
"166717417374588321458813928114453004118",
"100066283506131351387996469012373827165",
"261546692408925214412452524309330904915",
"340175888677556585777169330515393971171",
"334046187563482848033628567649019522681",
"204990480694242824373821406926180262354",
"58078628999482122902017988352386455451",
"15943859578411976128162647846380111970",
"33618659943274465574035882273229317353"
]
},
"source": "https://github.com/wolfssl/wolfssl/commit/f93083be72a3b3d956b52a7ec13f307a27b6e093",
"target": {
"file": "wolfcrypt/src/asn.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
},
{
"id": "CVE-2021-38597-617fcaf1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"153261655079507998243035182815092040257",
"94397097935125013550427540131195665170",
"320149238350935993266883141139327796044",
"44782353481244881549460795752955312635"
]
},
"source": "https://github.com/wolfssl/wolfssl/commit/f93083be72a3b3d956b52a7ec13f307a27b6e093",
"target": {
"file": "wolfssl/wolfcrypt/asn.h"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
},
{
"id": "CVE-2021-38597-70dc61c3",
"digest": {
"length": 9655,
"function_hash": "125232856949344471807192566925669934083"
},
"source": "https://github.com/wolfssl/wolfssl/commit/f93083be72a3b3d956b52a7ec13f307a27b6e093",
"target": {
"file": "wolfcrypt/src/asn.c",
"function": "ParseCertRelative"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
},
{
"id": "CVE-2021-38597-b66bd05f",
"digest": {
"length": 2542,
"function_hash": "255771284546534536757906501825746558559"
},
"source": "https://github.com/wolfssl/wolfssl/commit/f93083be72a3b3d956b52a7ec13f307a27b6e093",
"target": {
"file": "wolfcrypt/src/asn.c",
"function": "DecodeBasicOcspResponse"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-20T14:26:37Z"
}
}
],
"modified": "2026-10-20T14:26:37.551298103Z",
"provider": "osv",
"references": [
"https://www.wolfssl.com/docs/wolfssl-changelog/",
"https://github.com/wolfSSL/wolfssl/commit/f93083be72a3b3d956b52a7ec13f307a27b6e093"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-38597",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 388994,
"published_at": "2021-08-12T15:15:08.017+00:00"
}