CVE-2021-3509
Linux Debian vulnerability analysis and mitigation

Overview

A vulnerability (CVE-2021-3509) was discovered in Red Hat Ceph Storage 4's Dashboard component. The issue arose as a follow-up to a previous fix for CVE-2020-27839, where JWT tokens were moved from localStorage to httpOnly cookies. However, these token cookies were still exposed in the HTTP response body for documentation, making them vulnerable to Cross-Site Scripting (XSS) attacks. The vulnerability was discovered by Sergey Bobrov from Kaspersky and disclosed on May 14, 2021 (OSS Security).

Technical details

The vulnerability is classified as a Cross-Site Scripting (XSS) issue with a CVSS v3.1 Base Score of 6.1 (Medium). The attack vector is network-based (AV:N), requires low attack complexity (AC:L), needs no privileges (PR:N), requires user interaction (UI:R), and has a changed scope (S:C) with low impacts on confidentiality (C:L) and integrity (I:L), but no impact on availability (A:N) (NVD).

Impact

The vulnerability could allow attackers to expose sensitive information or gain unintended access through cross-site scripting attacks. The greatest threats are to the system's confidentiality and integrity, while availability is not impacted (Ubuntu Security).

Mitigation and workarounds

Patches were released for different versions of Ceph: Nautilus (commit adda853), Octopus (commit 7a1ca8d), and Pacific (commit af3fffa). The fix involved removing the token exposure in the documentation's HTTP response body. Various Linux distributions have also released fixed versions, including Ubuntu 20.04 LTS (15.2.12-0ubuntu0.20.04.1) and Ubuntu 21.04 (16.2.6-0ubuntu0.21.04.2) (OSS Security).

Additional resources


SourceThis report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-59030HIGH7.5
  • Linux DebianLinux Debian
  • pdns-recursor
NoYesDec 09, 2025
CVE-2025-59029MEDIUM5.3
  • Linux DebianLinux Debian
  • pdns-recursor
NoYesDec 09, 2025
CVE-2025-40344N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-modules-internal
NoYesDec 09, 2025
CVE-2025-40343N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel
NoYesDec 09, 2025
CVE-2025-40342N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel-matched
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management