CVE-2021-3524
A flaw was found in the Red Hat Ceph Storage RadosGW (Ceph Object Gateway) in versions before 14.2.21. The vulnerability is related to the injection of HTTP headers via a CORS ExposeHeader tag. The newline character in the ExposeHeader tag in the CORS configuration file generates a header injection in the response when the CORS request is made. In addition, the prior bug fix for CVE-2020-10753 did not account for the use of \r as a header separator, thus a new flaw has been created.
What to do
Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 20.04 | ceph | Fixed | 15.2.12-0ubuntu0.20.04.1 | UBUNTU-CVE-2021-3524 |
| Ubuntu 18.04 | ceph | Fixed | 12.2.13-0ubuntu0.18.04.10 | UBUNTU-CVE-2021-3524 |
| Ubuntu 16.04 | ceph | Fix pending | 10.2.11-0ubuntu0.16.04.3+esm2 (Ubuntu Pro) | UBUNTU-CVE-2021-3524 |
| Debian 14 | ceph | Fixed | 14.2.21-1 | DEBIAN-CVE-2021-3524 |
| Debian 13 | ceph | Fixed | 14.2.21-1 | DEBIAN-CVE-2021-3524 |
| Debian 12 | ceph | Fixed | 14.2.21-1 | DEBIAN-CVE-2021-3524 |
| Red Hat Enterprise Linux 9 | librados-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | librados2 | Not affected | ||
| Red Hat Enterprise Linux 9 | libradospp-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | librbd-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | librbd1 | Not affected | ||
| Red Hat Enterprise Linux 8 | libcephfs-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | libcephfs2 | Not affected | ||
| Red Hat Enterprise Linux 8 | librados-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | librados2 | Not affected | ||
| Red Hat Enterprise Linux 8 | libradosstriper-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | libradosstriper1 | Not affected | ||
| Red Hat Enterprise Linux 8 | librbd-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | librbd1 | Not affected | ||
| Red Hat Enterprise Linux 7 | ceph-common | Not affected | ||
| Red Hat Enterprise Linux 7 | librados2 | Not affected | ||
| Red Hat Enterprise Linux 7 | librados2-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | librbd1 | Not affected | ||
| Red Hat Enterprise Linux 7 | librbd1-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | python-rados | Not affected | ||
| Red Hat Enterprise Linux 7 | python-rbd | Not affected | ||
| Alpine Linux 3.18 | ceph16 | Fixed | 16.2.4-r0 | ALPINE-CVE-2021-3524 |
| Alpine Linux 3.17 | ceph16 | Fixed | 16.2.4-r0 | ALPINE-CVE-2021-3524 |
| Alpine Linux 3.16 | ceph | Fixed | 16.2.4-r0 | ALPINE-CVE-2021-3524 |
| Alpine Linux 3.15 | ceph | Fixed | 16.2.4-r0 | ALPINE-CVE-2021-3524 |
| Alpine Linux 3.14 | ceph | Fixed | 16.2.4-r0 | ALPINE-CVE-2021-3524 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- ceph: affected: ceph 14.2.21
Vendor advisories:
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1951674
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LPCJN2YDZCBMF4FOJXSTAADKFGEQEO7O/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FX5ZHI5L7FOHXOSEV3TYBAL66DMLJ7V5/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZRUNDH2TJRZRWL3DCH2PQ6KROWTPQ7AJ/
- https://lists.debian.org/debian-lts-announce/2021/08/msg00013.html
- https://lists.debian.org/debian-lts-announce/2023/10/msg00034.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.