Debian LinuxOperating system · Debian

CVE-2018-8020

HIGH · 7.4 CVSS v3.0 Published 2018-07-31
Fix available
A fix is available. Upgrade to after 1.2.16 or later.
See remediation →
83/100
Remediation priority · High
Remotely reachable No privileges Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
Apache Tomcat Native 1.2.0 to 1.2.16 and 1.1.23 to 1.1.34 has a flaw that does not properly check OCSP pre-produced responses, which are lists (multiple entries) of certificate statuses. Subsequently, revoked client certificates may not be properly identified, allowing for users to authenticate with revoked certificates to connections that require mutual TLS. Users not using OCSP checks are not affected by this vulnerability.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

Apache Tomcat Native library contains a flaw in OCSP response validation where it does not properly check pre-produced OCSP responses (lists of multiple certificate statuses). This causes the library to fail identifying revoked client certificates, allowing authentication with revoked certificates in mutual TLS (mTLS) connections.

MitigationUpgrade Apache Tomcat Native to version 1.2.17 or 1.1.35 or later to patch the OCSP validation logic. If OCSP checking is not used, this vulnerability does not apply.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
Debian LinuxOperating system
Affected:= 8.0
Tomcat NativeWeb server / proxy
Affected:>= 1.1.23, <= 1.1.34>= 1.2.0, <= 1.2.16

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
High
Privileges
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify if Apache Tomcat Native is installed
    Locate the native library file. On Linux/Unix systems, check for 'libtcnative' files (libtcnative-1.so, libtcnative-1.a, or similar) in the Tomcat library path or search the filesystem: find / -name 'libtcnative*' 2>/dev/null. On Windows, look for 'tcnative-1.dll' in the Tomcat bin or lib directories.
    Affected if Apache Tomcat Native library is not found on the system - not affected.
  2. Determine the installed version of Apache Tomcat Native
    Run the library with a version flag if available, or inspect the library filename which typically encodes the version (e.g., libtcnative-1.so.1.2.16). Check Tomcat logs for 'Apache Tomcat Native library' initialization messages which often display the version. Alternatively, use 'ldd' or file inspection commands to identify the exact version.
    Affected if The version falls outside the affected ranges: less than 1.1.23, between 1.1.35 and 1.1.x (next major), greater than 1.1.34 AND greater than 1.2.16 - not affected.
  3. Verify if OCSP checking is enabled for client certificate validation
    Examine the Tomcat server.xml configuration file for the SSL/TLS connector configuration. Look for attributes related to OCSP: 'ocspEnabled=true' or 'ocspResponderUrl' configuration, or check for the use of a security provider with OCSP support in the JVM or native library configuration.
    Affected if OCSP checking is NOT enabled in the TLS connector configuration - not affected. The vulnerability only applies when OCSP validation of client certificates is actively used.
  4. Confirm mutual TLS (mTLS) with client certificate authentication is in use
    Review the server.xml connector configuration for 'clientAuth=true' or 'clientAuth=want/require', which enables client certificate authentication. Check if the application relies on client certificate-based authentication.
    Affected if Client certificate authentication is not configured (clientAuth=false or not set) - not affected.

A user is affected only if Apache Tomcat Native version is 1.1.23-1.1.34 or 1.2.0-1.2.16, OCSP checking is enabled, AND client certificate authentication (mTLS) is configured in the connector.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

From vendor data
Upgrade available Upgrade to a release after 1.2.16
Interim mitigation

Upgrade Apache Tomcat Native to version 1.2.17 or 1.1.35 or later to patch the OCSP validation logic. If OCSP checking is not used, this vulnerability does not apply.

Fix this in Debian Linux Scoped from the published advisory
  • Consultation2.0 h
  • Implementation4.0 h
  • Testing4.0 h
  • Review / QA2.0 h
12.0 hours of engineering $2,080
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,328.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2018-8020 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2018-8020 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data