CVE-2021-3509 json
A flaw was found in Red Hat Ceph Storage 4, in the Dashboard component.
published 2021-05-26 5 y ago modified 2026-06-17 4 mo ago also EUVD-2021-26828
- cvss
- 6.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.7%
- EPSS 1.7% chance of exploitation in 30 days, percentile 77%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- ceph Debian 14, Debian 13, Debian 12 14.2.21-1
debian advisories DEBIAN-CVE-2021-3509
- ceph Ubuntu 20.04 LTS 15.2.12-0ubuntu0.20.04.1
ubuntu advisories UBUNTU-CVE-2021-3509
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- ceph ceph storage 4 2:14.2.11-181.el7cp
- ceph ceph storage 4 2:14.2.11-181.el8cp
- librbd1 ceph storage 4 2:14.2.11-181.el7cp
- librbd1 ceph storage 4 2:14.2.11-181.el8cp
- librgw2 ceph storage 4 2:14.2.11-181.el7cp
- librgw2 ceph storage 4 2:14.2.11-181.el8cp
- rbd-nbd ceph storage 4 2:14.2.11-181.el7cp
- rbd-nbd ceph storage 4 2:14.2.11-181.el8cp
red hat advisories RHSA-2021:2445
- ceph SLES for SAP 15 SP1, SLES 15 SP1-LTSS, SLES 15 SP1-BCL +6 more 14.2.21.403+g69ab6ea274d-3.63.1
- ceph SLE Module for Basesystem 15 SP3, SLE Module for Basesystem 15 SP2, SLE Micro 5.0 +1 more 15.2.12.83+g528da226523-3.25.1
suse advisories SUSE-SU-2021:1835-1SUSE-SU-2021:1834-1
- ceph openSUSE Leap 15.3 15.2.12.83+g528da226523-3.25.1
- ceph-test openSUSE Leap 15.3 15.2.12.83+g528da226523-3.25.1
- ceph openSUSE Leap 15.2 15.2.12.83+g528da226523-lp152.2.18.1
- ceph-test openSUSE Leap 15.2 15.2.12.83+g528da226523-lp152.2.18.1
opensuse advisories openSUSE-SU-2021:1834-1openSUSE-SU-2021:0833-1
- ceph Alpine 3.16, Alpine 3.15, Alpine 3.14 16.2.4-r0
- ceph16 Alpine 3.18, Alpine 3.17 16.2.4-r0
alpine advisories ALPINE-CVE-2021-3509
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- github.com/ceph/ceph@adda853 commit
- github.com/ceph/ceph@7a1ca8d commit
- github.com/ceph/ceph@af3fffa commit
- bugzilla.redhat.com/show_bug.cgi?id=1950116 advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-3509 updated cvss 8.1
ceph-dashboard: Cross-site scripting via token Cookie
-
Red Hat Ceph Storage 2 ceph, librbd1, librgw2, ceph-mds, ceph-mon, ceph-osd, +12 more Red Hat Ceph Storage 3 ceph, librbd1, librgw2, ceph-mds, ceph-mgr, ceph-mon, +15 moreaffected: no fix planned “Out of support scope”
-
Red Hat Openshift Container Storage 4 ceph Red Hat OpenStack Platform 13 (Queens) librbd1, librgw2, ceph-fuse, librados2, libcephfs2, python-rbd, +6 moreaffected: no fix planned “Will not fix”
-
Red Hat Ceph Storage 4.2 MON ceph 14.2.11-181.el7cp, ceph 14.2.11-181.el8cp, librbd1 14.2.11-181.el7cp, librbd1 14.2.11-181.el8cp, librgw2 14.2.11-181.el7cp, librgw2 14.2.11-181.el8cp, +38 more Red Hat Ceph Storage 4.2 OSD ceph 14.2.11-181.el7cp, ceph 14.2.11-181.el8cp, librbd1 14.2.11-181.el7cp, librbd1 14.2.11-181.el8cp, librgw2 14.2.11-181.el7cp, librgw2 14.2.11-181.el8cp, +26 more Red Hat Ceph Storage 4.2 Tools ceph 14.2.11-181.el7cp, ceph 14.2.11-181.el8cp, librbd1 14.2.11-181.el7cp, librbd1 14.2.11-181.el8cp, librgw2 14.2.11-181.el7cp, librgw2 14.2.11-181.el8cp, +34 morefixed: vendor fix RHSA-2021:2445
-
Red Hat Ceph Storage 4.2 MON python-waitress 1.4.2-1.el8ost, python3-waitress 1.4.2-1.el8ost Red Hat Ceph Storage 4.2 Tools libtcmu 1.5.2-4.el7cp, libtcmu 1.5.2-4.el8cp, ceph-iscsi 3.4-4.el7cp, ceph-iscsi 3.4-4.el8cp, tcmu-runner 1.5.2-4.el7cp, tcmu-runner 1.5.2-4.el8cp, +2 more Red Hat Enterprise Linux 8 librbd1, librados2, libcephfs2, libradosstriper1 Red Hat Enterprise Linux 9 librbd1, librados2not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.70% chance of exploitation in the next 30 days, higher than 77% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/ceph/ceph/blob/f1557e8f62d31883d3d34ae241a1a26af11d923f/src/pybind/mgr/dashboard/controllers/docs.py#L394-L409 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected products
- n/a ceph-dashboard
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/ceph/ceph/commit/adda853e64bdba1288d46bc7d462d23d8f2f10ca
patch, third-party-advisory
-
github.com
/ceph/ceph/commit/7a1ca8d372da3b6a4fc3d221a0e5f72d1d61c27b
patch, third-party-advisory
-
github.com
/ceph/ceph/commit/af3fffab3b0f13057134d96e5d481e400d8bfd27
patch, third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=1950116
issue-tracking, patch, vendor-advisory
-
github.com
/ceph/ceph/blob/f1557e8f62d31883d3d34ae241a1a26af11d923f/src/pybind/mgr/dashboard/controllers/docs.py#L394-L40
exploit, third-party-advisory
Sources
- CVE List CVE-2021-3509
- NVD CVE-2021-3509
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.