Categories
CVE-2021-34428

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.

❓ What is the problem

A vulnerability (CWE-613) exists in org.eclipse.jetty:jetty-server. Attackers reach the vulnerable code path via sessionDestroyed without authentication.

📍 Affected scope

Check the vendor advisory for the affected versions of org.eclipse.jetty:jetty-server. Attack surface: sessionDestroyed / IllegalStateException.

🔥 Severity

Severity: ?. Risk of unauthorized operations or information disclosure.

🔧 How to fix

Update to 11.0.3.

🛡️ Workaround

Workaround: The application should catch all Throwables within their SessionListener#sessionDestroyed() implementations.

🔍 Detection

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

  1. 1
    Identify exposure identify
    Audit SBOM/dependencies for affected components.

    資産台帳・SBOM・依存マニフェストで org.eclipse.jetty:jetty-server を使っているサービスとバージョンを洗い出す。

  2. 2
    Apply 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. を実施。回避策の副作用 (機能低下) を確認した上で。

  3. 3
    Apply patch patch
    Upgrade org.eclipse.jetty:jetty-server to 11.0.3

    ステージング環境で 11.0.3 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。

  4. 4
    Post-deployment verification verify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

Affected packages

Maven org.eclipse.jetty:jetty-server
[{"type":"ECOSYSTEM","events":[{"introduced":"11.0.0"},{"fixed":"11.0.3"}]}]

Fix status by distribution

Fixed packages published by each distribution for this CVE

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details