CVE-2020-8022
User-writeable configuration file /usr/lib/tmpfiles.d/tomcat.conf allows for escalation of priviliges
Also known as GHSA-gc58-v8h3-x2gr
Mitigation
- Upgrade org.apache.tomcat:tomcat to one of 8.0.53, 9.0.35 (or later in the same release line).
Who should check
- Projects that depend on Maven package org.apache.tomcat:tomcat (< 8.0.53)
- Anyone running SUSE Enterprise Storage 5 >= tomcat, < 8.0.53-29.32.1
- Anyone running SUSE Linux Enterprise Server 12-SP2-BCL >= tomcat, < 8.0.53-29.32.1
- Anyone running SUSE Linux Enterprise Server 12-SP2-LTSS >= tomcat, < 8.0.53-29.32.1
- Anyone running SUSE Linux Enterprise Server 12-SP3-BCL >= tomcat, < 8.0.53-29.32.1
- Anyone running SUSE Linux Enterprise Server 12-SP3-LTSS >= tomcat, < 8.0.53-29.32.1
- Anyone running SUSE Linux Enterprise Server 12-SP4 >= tomcat, < 9.0.35-3.39.1
- Anyone running SUSE Linux Enterprise Server 12-SP5 >= tomcat, < 9.0.35-3.39.1
Vulnerability facts
- Affected
- org.apache.tomcat:tomcat < 8.0.53
- Fixed in
- 8.0.53, 9.0.35
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.7 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: None
- EPSS
- 0.86% chance of exploitation in 30 days (percentile 56, 2026-11-26)
- CWE
- CWE-276
- Modified
Description
A Incorrect Default Permissions vulnerability in the packaging of tomcat on SUSE Enterprise Storage 5, SUSE Linux Enterprise Server 12-SP2-BCL, SUSE Linux Enterprise Server 12-SP2-LTSS, SUSE Linux Enterprise Server 12-SP3-BCL, SUSE Linux Enterprise Server 12-SP3-LTSS, SUSE Linux Enterprise Server 12-SP4, SUSE Linux Enterprise Server 12-SP5, SUSE Linux Enterprise Server 15-LTSS, SUSE Linux Enterprise Server for SAP 12-SP2, SUSE Linux Enterprise Server for SAP 12-SP3, SUSE Linux Enterprise Server for SAP 15, SUSE OpenStack Cloud 7, SUSE OpenStack Cloud 8, SUSE OpenStack Cloud Crowbar 8 allows local attackers to escalate from group tomcat to root. This issue affects: SUSE Enterprise Storage 5 tomcat versions prior to 8.0.53-29.32.1. SUSE Linux Enterprise Server 12-SP2-BCL tomcat versions prior to 8.0.53-29.32.1. SUSE Linux Enterprise Server 12-SP2-LTSS tomcat versions prior to 8.0.53-29.32.1. SUSE Linux Enterprise Server 12-SP3-BCL tomcat versions prior to 8.0.53-29.32.1. SUSE Linux Enterprise Server 12-SP3-LTSS tomcat versions prior to 8.0.53-29.32.1. SUSE Linux Enterprise Server 12-SP4 tomcat versions prior to 9.0.35-3.39.1. SUSE Linux Enterprise Server 12-SP5 tomcat versions prior to 9.0.35-3.39.1. SUSE Linux Enterprise Server 15-LTSS tomcat versions prior to 9.0.35-3.57.3. SUSE Linux Enterprise Server for SAP 12-SP2 tomcat versions prior to 8.0.53-29.32.1. SUSE Linux Enterprise Server for SAP 12-SP3 tomcat versions prior to 8.0.53-29.32.1. SUSE Linux Enterprise Server for SAP 15 tomcat versions prior to 9.0.35-3.57.3. SUSE OpenStack Cloud 7 tomcat versions prior to 8.0.53-29.32.1. SUSE OpenStack Cloud 8 tomcat versions prior to 8.0.53-29.32.1. SUSE OpenStack Cloud Crowbar 8 tomcat versions prior to 8.0.53-29.32.1.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.apache.tomcat:tomcat | < 8.0.53 | 8.0.53, 9.0.35 | osv |
| SUSE Enterprise Storage 5 | >= tomcat, < 8.0.53-29.32.1 | — | cvelist |
| SUSE Linux Enterprise Server 12-SP2-BCL | >= tomcat, < 8.0.53-29.32.1 | — | cvelist |
| SUSE Linux Enterprise Server 12-SP2-LTSS | >= tomcat, < 8.0.53-29.32.1 | — | cvelist |
| SUSE Linux Enterprise Server 12-SP3-BCL | >= tomcat, < 8.0.53-29.32.1 | — | cvelist |
| SUSE Linux Enterprise Server 12-SP3-LTSS | >= tomcat, < 8.0.53-29.32.1 | — | cvelist |
| SUSE Linux Enterprise Server 12-SP4 | >= tomcat, < 9.0.35-3.39.1 | — | cvelist |
| SUSE Linux Enterprise Server 12-SP5 | >= tomcat, < 9.0.35-3.39.1 | — | cvelist |
| SUSE Linux Enterprise Server 15-LTSS | >= tomcat, < 9.0.35-3.57.3 | — | cvelist |
| SUSE Linux Enterprise Server for SAP 12-SP2 | >= tomcat, < 8.0.53-29.32.1 | — | cvelist |
| SUSE Linux Enterprise Server for SAP 12-SP3 | >= tomcat, < 8.0.53-29.32.1 | — | cvelist |
| SUSE Linux Enterprise Server for SAP 15 | >= tomcat, < 9.0.35-3.57.3 | — | cvelist |
| SUSE OpenStack Cloud 7 | >= tomcat, < 8.0.53-29.32.1 | — | cvelist |
| SUSE OpenStack Cloud 8 | >= tomcat, < 8.0.53-29.32.1 | — | cvelist |
| SUSE OpenStack Cloud Crowbar 8 | >= tomcat, < 8.0.53-29.32.1 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2020-8022. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2020-8022.md Affected: org.apache.tomcat:tomcat < 8.0.53 Fixed in: 8.0.53, 9.0.35 Steps: 1. Search this machine and project for org.apache.tomcat:tomcat (Maven), SUSE Enterprise Storage 5, SUSE Linux Enterprise Server 12-SP2-BCL, SUSE Linux Enterprise Server 12-SP2-LTSS, SUSE Linux Enterprise Server 12-SP3-BCL, SUSE Linux Enterprise Server 12-SP3-LTSS: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Exploits and PoCs
Other
- https://lists.apache.org/thread.html/rf50d02409e5732c4ee37f19a193af171251a25a652599ce3c2bc69e7%40%3Cusers.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/ra87ec20a0f4b226c81c7eed27e5d7433ccdc41e61a8da408a45f0fa1%40%3Cusers.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/r5be80ba868a11a1f64e4922399f171b8619bca4bc2039f79cf913928%40%3Cjava-dev.axis.apache.org%3E
- https://lists.apache.org/thread.html/r393d4f431683e99c839b4aed68f720b8583bca6c35cd84adccaa02be%40%3Cjava-dev.axis.apache.org%3E
- https://lists.apache.org/thread.html/r393d4f431683e99c839b4aed68f720b8583bca6c35cd84adccaa02be@%3Cjava-dev.axis.apache.org%3E
- https://lists.apache.org/thread.html/r5be80ba868a11a1f64e4922399f171b8619bca4bc2039f79cf913928@%3Cjava-dev.axis.apache.org%3E
- https://lists.apache.org/thread.html/ra87ec20a0f4b226c81c7eed27e5d7433ccdc41e61a8da408a45f0fa1@%3Cusers.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/rf50d02409e5732c4ee37f19a193af171251a25a652599ce3c2bc69e7@%3Cusers.tomcat.apache.org%3E
FAQ
Is CVE-2020-8022 being exploited?
There is no confirmed exploitation: CVE-2020-8022 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 0.86% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2020-8022?
High: CVSS 7.7 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2020-8022?
org.apache.tomcat:tomcat < 8.0.53.
Is there a fix for CVE-2020-8022?
Yes. Fixed in 8.0.53, 9.0.35. Upgrade org.apache.tomcat:tomcat to one of 8.0.53, 9.0.35 (or later in the same release line).
How do I check if I'm affected by CVE-2020-8022?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.