← Back
CVE-2023-42795
Vulnerability in org.apache.tomcat:tomcat (CVE-2023-42795)
Summary
vulnerability in org.apache.tomcat:tomcat (CVE-2023-42795). Risk of unauthorized operations or information disclosure. Mitigation: upgrade to `8.5.94` or later.
AI summary snake-internal / snake-material-v2
A vulnerability tracked as **CVE-2023-42795** has been found in org.apache.tomcat:tomcat.
Risk of unauthorized operations or information disclosure. CVSS score: ?/10.
What to do: upgrade org.apache.tomcat:tomcat to **8.5.94** or later.
If unsure, ask your IT team or search "org.apache.tomcat:tomcat CVE-2023-42795" on the vendor's site.
CVE-2023-42795 (org.apache.tomcat:tomcat) — CWE-459 /
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Patched: `8.5.94` — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
❓ What is the problem
**A vulnerability** (CWE-459) exists in org.apache.tomcat:tomcat.
📍 Affected scope
org.apache.tomcat:tomcat — .
🔥 Severity
Severity: ?. Risk of unauthorized operations or information disclosure
🔧 How to fix
Update to **8.5.94**.
🛡️ Workaround
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
🔍 Detection
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run `grep -r 'org.apache.tomcat:tomcat' .` against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response Actions (7 steps)
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1Identify exposure identify
grep -r 'org.apache.tomcat:tomcat' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で `org.apache.tomcat:tomcat` を grep し、稼働しているサービス・バージョンを把握する。
-
6Apply patch patch
Upgrade org.apache.tomcat:tomcat to 8.5.94ステージング環境で 8.5.94 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスと、Step 3 で見つけた異常検知の続報チェックを含めること。
-
7Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 3 と同じログクエリでアラート再発が無いか継続監視。
Affected packages
maven
org.apache.tomcat:tomcat
[{"type":"ECOSYSTEM","events":[{"introduced":"8.5.0"},{"fixed":"8.5.94"}]}]
maven
org.apache.tomcat.embed:tomcat-embed-core
[{"type":"ECOSYSTEM","events":[{"introduced":"11.0.0-M1"},{"fixed":"11.0.0-M12"}]}]
maven
org.apache.tomcat:tomcat-catalina
[{"type":"ECOSYSTEM","events":[{"introduced":"8.5.0"},{"fixed":"8.5.94"}]}]
maven
org.apache.tomcat:tomcat-util
[{"type":"ECOSYSTEM","events":[{"introduced":"8.5.0"},{"fixed":"8.5.94"}]}]
References
- advisory https://nvd.nist.gov/vuln/detail/CVE-2023-42795
- package https://github.com/apache/tomcat
- web https://lists.apache.org/thread/065jfyo583490r9j2v73nhpyxdob56lw
- web http://www.openwall.com/lists/oss-security/2023/10/10/9
- web https://lists.debian.org/debian-lts-announce/2023/10/msg00020.html
- web https://www.debian.org/security/2023/dsa-5521
- web https://www.debian.org/security/2023/dsa-5522
- web https://github.com/apache/tomcat/commit/30f8063d7a9b4c43ae4722f5e382a76af1d7a6bf
- web https://github.com/apache/tomcat/commit/44d05d75d696ca10ce251e4e370511e38f20ae75
- web https://github.com/apache/tomcat/commit/9375d67106f8df9eb9d7b360b2bef052fe67d3d4
- web https://github.com/apache/tomcat/commit/d6db22e411307c97ddf78315c15d5889356eca38
- web https://security.netapp.com/advisory/ntap-20231103-0007
- web https://github.com/advisories/GHSA-g8pj-r55q-5c2v