cve.bz

CVE-2021-3509 redhat ceph storage: Cross-site Scripting

6.1 mediumExploit referenceEPSS 1.7%Fix available

Medium (6.1) in redhat ceph storage. EPSS 1.7% estimated probability of exploitation activity in the next 30 days.

On this page
A flaw was found in Red Hat Ceph Storage 4, in the Dashboard component. In response to CVE-2020-27839, the JWT token was moved from localStorage to an httpOnly cookie. However, token cookies are used in the body of the HTTP response for the documentation, which again makes it available to XSS.The greatest threat to the system is for confidentiality, integrity, and availability.

Severity

CVSS 3.1

6.1 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS
1.7% (unchanged from 1.7% a week ago; 1.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 78th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-3509 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-3509?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-3509?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-3509 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
redhat:ceph_storage4.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14ceph14.2.21-1DEBIAN-CVE-2021-3509
Ubuntu18.04:LTSceph12.2.13-0ubuntu0.18.04.10USN-5128-1
Ubuntu20.04:LTSceph15.2.12-0ubuntu0.20.04.1UBUNTU-CVE-2021-3509 USN-4998-1
Red Hatceph_storage:4::el7ceph, librbd1, librgw2 and 31 more2:14.2.11-181.el7cpRHSA-2021:2445
Red Hatceph_storage:4::el8ceph, librbd1, librgw2 and 53 more2:14.2.11-181.el8cpRHSA-2021:2445
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 6 moreceph14.2.21.403+g69ab6ea274d-3.63.1SUSE-SU-2021:1835-1
SUSEEnterprise Storage 7, Linux Enterprise Micro 5.0, Linux Enterprise Module for Basesystem 15 SP2 and 1 moreceph15.2.12.83+g528da226523-3.25.1SUSE-SU-2021:1834-1
openSUSELeap 15.2ceph, ceph-test15.2.12.83+g528da226523-lp152.2.18.1openSUSE-SU-2021:0833-1
openSUSELeap 15.3ceph, ceph-test15.2.12.83+g528da226523-3.25.1openSUSE-SU-2021:1834-1
Alpinev3.14, v3.15, v3.16ceph16.2.4-r0ALPINE-CVE-2021-3509
Alpinev3.17, v3.18ceph1616.2.4-r0ALPINE-CVE-2021-3509

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Red Hat OpenStack Platform deployments use the ceph package directly from the Ceph channel; the RHOSP package will not be updated at this time.

Red Hat OpenShift Container Storage (RHOCS) 4 shipped ceph package for the usage of RHOCS 4.2 only which has reached End of Life. The shipped version of ceph package is neither used nor supported with the release of RHOCS 4.3.

Red Hat Ceph Storage (RHCS) 4 ships a version of ceph which has not been patched for CVE-2020-27839, and therefore, although not vulnerable to this specific flaw, would be vulnerable if CVE-2020-27839 were to be patched without recognition of the flaw.

Red Hat Enterprise Linux 8 is not affected by this flaw as it does not include the ceph dashboard component.

ProductPackageStateAdvisory
Red Hat Ceph Storage 4.2ceph-2:14.2.11-181.el7cpFixed 2021-06-15RHSA-2021:2445
Red Hat Ceph Storage 2cephOut of support scope
Red Hat Ceph Storage 3cephOut of support scope
Red Hat Enterprise Linux 8cephNot affected
Red Hat Enterprise Linux 9cephNot affected
Red Hat Openshift Container Storage 4cephWill not fix
Red Hat OpenStack Platform 13 (Queens)cephWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-3509.

Attack patterns (CAPEC)

  • CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
  • CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
  • CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
  • CAPEC-592 Stored XSS Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON