Vulnerability in org.eclipse.jetty:jetty-server (CVE-2021-34428)
Summary
Vulnerability in org.eclipse.jetty:jetty-server (CVE-2021-34428). Risk of unauthorized operations or information disclosure. Exploitable via sessionDestroyed. Mitigation: upgrade to 11.0.3 or later.
Original description
The description as published by the source.
Impact
If an exception is thrown from the SessionListener#sessionDestroyed() method, then the session ID is not invalidated in the session ID manager. On deployments with clustered sessions and multiple contexts this can result in a session not being invalidated. This can result in an application used on a shared computer being left logged in.
There is no known path for an attacker to induce such an exception to be thrown, thus they must rely on an application to throw such an exception. The OP has also identified that during the call to sessionDestroyed, the getLastAccessedTime() throws an IllegalStateException, which potentially contrary to the servlet spec, so applications calling this method may always throw and fail to log out. If such an application was only tested on a non clustered test environment, then it may be deployed on a clustered environment with multiple contexts and fail to log out.
Workarounds
The application should catch all Throwables within their SessionListener#sessionDestroyed() implementations.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as CVE-2021-34428 has been found in org.eclipse.jetty:jetty-server.
Attackers can target a specific entry point like sessionDestroyed over the network to misuse the product.
Risk of unauthorized operations or information disclosure.
What to do: upgrade org.eclipse.jetty:jetty-server to 11.0.3 or later.
If unsure, ask your IT team or search "org.eclipse.jetty:jetty-server CVE-2021-34428" on the vendor's site.
CVE-2021-34428 (org.eclipse.jetty:jetty-server) — CWE-613
Attack vector: physical / unauthenticated / no user interaction
Attack surface: sessionDestroyed / IllegalStateException
Patched: 11.0.3 — apply immediately
Workaround: The application should catch all Throwables within their SessionListener#sessionDestroyed() implementations.
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.
A vulnerability (CWE-613) exists in org.eclipse.jetty:jetty-server. Attackers reach the vulnerable code path via sessionDestroyed without authentication.
Check the vendor advisory for the affected versions of org.eclipse.jetty:jetty-server. Attack surface: sessionDestroyed / IllegalStateException.
Severity: ?. Risk of unauthorized operations or information disclosure.
Update to 11.0.3.
Workaround: The application should catch all Throwables within their SessionListener#sessionDestroyed() implementations.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Audit SBOM/dependencies to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1Identify exposure identify
Audit SBOM/dependencies for affected components.資産台帳・SBOM・依存マニフェストで org.eclipse.jetty:jetty-server を使っているサービスとバージョンを洗い出す。
-
2Apply temporary workaround mitigate
The application should catch all Throwables within their `SessionListener#sessionDestroyed()` implementations.パッチが適用されるまでの応急処置として、The application should catch all Throwables within their
SessionListener#sessionDestroyed()implementations. を実施。回避策の副作用 (機能低下) を確認した上で。 -
3Apply patch patch
Upgrade org.eclipse.jetty:jetty-server to 11.0.3ステージング環境で 11.0.3 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
4Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Debian DEBIAN-CVE-2021-34428 jetty9 Fixed in: 9.4.39-2
References
- advisory security.netapp.com
- advisory nvd.nist.gov
- web lists.apache.org
- web lists.apache.org
- web lists.apache.org
- web lists.apache.org
- web lists.apache.org
- web lists.apache.org
- web github.com
- web debian.org
- web oracle.com
- web oracle.com
- web oracle.com
- web github.com
- web lists.apache.org
- web lists.apache.org
- web lists.apache.org
- web lists.apache.org
- web lists.apache.org
- web lists.apache.org
- web security.netapp.com