Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: 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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-3524
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 04:27 UTC · Revision 1

Source evidence

CVE-2021-3524

core-osv · Original source

Published 17 May 2021, 17:15 UTC

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.

osv:CVE-2021-3524
Complete source record
{
  "id": "b5b9164b7312a41b25b87eb69c89f9d1953774ee779da8cac5c0835f14258d8d",
  "url": "https://osv.dev/vulnerability/CVE-2021-3524",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-3524",
    "summary": "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.",
    "evidence": "osv:CVE-2021-3524",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-3524",
      "aliases": [
        "CVE-2021-3524"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/ceph/ceph",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5ef401921d7a88aea18ec7558f7f9374ebd8f5a6"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:redhat:ceph:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "14.2.21"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v14.2.20",
            "v14.2.19",
            "v14.2.18",
            "v14.2.17",
            "v14.2.13",
            "v14.2.16",
            "v14.2.15",
            "v14.2.14",
            "v14.2.12",
            "v14.2.11",
            "v14.2.10",
            "v14.2.8",
            "v14.2.5",
            "v14.2.7",
            "v14.2.6",
            "v14.2.3",
            "v14.2.2",
            "v14.2.1",
            "v14.2.0",
            "v14.0.0",
            "v13.0.0",
            "v11.0.0",
            "v0.19",
            "v0.18",
            "v0.9",
            "v0.7.3",
            "v0.7.2",
            "v0.7.1",
            "v0.6",
            "v0.5",
            "v0.4",
            "v0.2",
            "v0.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-3524.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:18.516279982Z",
      "provider": "osv",
      "references": [
        "https://lists.debian.org/debian-lts-announce/2023/10/msg00034.html",
        "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/LPCJN2YDZCBMF4FOJXSTAADKFGEQEO7O/",
        "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://bugzilla.redhat.com/show_bug.cgi?id=1951674"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "9.0"
                  },
                  {
                    "last_affected": "9.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*",
              "cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*",
              "cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*"
            ],
            "vendor_product": "fedoraproject:fedora",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "32"
                  },
                  {
                    "last_affected": "32"
                  },
                  {
                    "introduced": "33"
                  },
                  {
                    "last_affected": "33"
                  },
                  {
                    "introduced": "34"
                  },
                  {
                    "last_affected": "34"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:redhat:ceph_storage:4.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:ceph_storage",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "4.0"
                  },
                  {
                    "last_affected": "4.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-3524",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 429788,
  "published_at": "2021-05-17T17:15:08.773+00:00"
}