cve.bz

CVE-2021-3524 Injection

6.5 mediumEPSS 1.6%Fix available

Medium (6.5). EPSS 1.6% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
EPSS
1.6% (unchanged from 1.6% a week ago; 1.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 76th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component (Injection)
CWE-20 Improper Input Validation
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-3524 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-3524?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-3524?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-3524 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:cephbefore 14.2.21
redhat:ceph_storage4.0
fedoraproject:fedora32
fedoraproject:fedora33
fedoraproject:fedora34
debian:debian_linux9.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9ceph10.2.11-2+deb9u1DLA-2735-1
Debian10ceph12.2.11+dfsg1-2.1+deb10u1DLA-3629-1
Debian12, 13, 14ceph14.2.21-1DEBIAN-CVE-2021-3524
Ubuntu18.04:LTSceph12.2.13-0ubuntu0.18.04.10UBUNTU-CVE-2021-3524 USN-5128-1
Ubuntu20.04:LTSceph15.2.12-0ubuntu0.20.04.1UBUNTU-CVE-2021-3524 USN-4998-1
UbuntuPro:14.04:LTSceph0.80.11-0ubuntu1.14.04.4+esm3USN-7706-1
UbuntuPro:16.04:LTSceph10.2.11-0ubuntu0.16.04.3+esm2UBUNTU-CVE-2021-3524 USN-7706-1
Red Hatceph_storage:4::el7ceph, librbd1, librgw2 and 31 more2:14.2.22-110.el7cpRHSA-2022:1716
Red Hatceph_storage:4::el8ceph, librbd1, librgw2 and 53 more2:14.2.22-110.el8cpRHSA-2022:1716
Red Hatceph_storage:4::el8python-rsa, python3-rsa0:4.8-1.el8cpRHSA-2022:1716
Red Hatceph_storage:5.1::el8ceph, cephadm, librbd1 and 66 more2:16.2.7-98.el8cpRHSA-2022:1174
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-3524
Alpinev3.17, v3.18ceph1616.2.4-r0ALPINE-CVE-2021-3524

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 Ceph Storage (RHCS) 4 is affected by this vulnerability. Note: although this issue affects the RadosGW S3 API, it does not affect the Swift API.

* 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 Enterprise Linux 7 and 8 are not affected by this flaw, as the shipped versions of `ceph` are not compiled with RadosGW support.

* 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's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Ceph Storage 4.3ceph-2:14.2.22-110.el7cpFixed 2022-05-05RHSA-2022:1716
Red Hat Ceph Storage 5.1ceph-2:16.2.7-98.el8cpFixed 2022-04-04RHSA-2022:1174
Red Hat Ceph Storage 2cephOut of support scope
Red Hat Ceph Storage 3cephOut of support scope
Red Hat Enterprise Linux 7ceph-commonNot affected
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-3524.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-74 (37), CWE-20 (51).

References

Check your stackJSON