Home / Apache Software Foundation / Apache Kylin / CVE-2021-45457
CVE-2021-45457: is it exploited, and which versions of Apache Software Foundation Apache Kylin are affected and fixed?
CVE-2021-45457 is an incorrect authorization vulnerability in Apache Software Foundation Apache Kylin. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:09 UTC). Affected: org.apache.kylin:kylin before 3.1.3 and org.apache.kylin:kylin from 4.0.0 before 4.0.1 (GitHub advisory GHSA-mgpf-hhgf-cxg4). Fixed in 3.1.3 and 4.0.1 (GitHub advisory GHSA-mgpf-hhgf-cxg4). Severity: High (7.5, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:09 UTC, CVE record November 19, 2026, 07:14 UTC and NVD November 19, 2026, 07:52 UTC.
What is CVE-2021-45457?
Overly broad CORS configuration
In Apache Kylin, Cross-origin requests with credentials are allowed to be sent from any origin. This issue affects Apache Kylin 2 version 2.6.6 and prior versions; Apache Kylin 3 version 3.1.2 and prior versions; Apache Kylin 4 version 4.0.0 and prior versions.
From the CVE record by apache, last updated August 4, 2024, 04:39 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Apache Software Foundation | Apache Kylin | from Apache Kylin 2 through 2.6.6 from Apache Kylin 3 through 3.1.2 from Apache Kylin 4 through 4.0.0 |
As the CVE record by apache states it, last updated August 4, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.apache.kylin:kylin | < 3.1.3 | 3.1.3 | GHSA-mgpf-hhgf-cxg4 |
| Maven | org.apache.kylin:kylin | >= 4.0.0, < 4.0.1 | 4.0.1 | GHSA-mgpf-hhgf-cxg4 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 13, 2022. Summary: In Apache Kylin, Cross-origin requests with credentials are allowed to be sent from any origin..
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | kylin | from 2.0.0 through 2.6.6 | application |
| apache | kylin | from 3.0.0 before 3.1.3 | application |
| apache | kylin | 4.0.0 | application |
NVD analysis (status Modified), last modified June 17, 2026, 04:13 UTC.
How severe is CVE-2021-45457?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | NVD |
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-45457 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 2.46% probability of exploitation activity in the next 30 days, percentile 85.0 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
Is there a workaround? (from the CVE record)
Kylin reflects the `Origin` header and allow credentials to be sent cross-origin in the default configuration. The preflight OPTIONS request: ``` OPTIONS /kylin/api/projects HTTP/1.1 Host: localhost:7070 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:94.0) Gecko/20100101 Firefox/94.0 Accept: */* Accept-Language: en-US Accept-Encoding: gzip, deflate Access-Control-Request-Method: POST Access-Control-Request-Headers: content-type Referer: http://b49b-95-62-58-48.ngrok.io/ Origin: http://b49b-95-62-58-48.ngrok.io Connection: keep-alive Cache-Control: max-age=0 ``` Will be replied with: ``` HTTP/1.1 200 OK Server: Apache-Coyote/1.1 Access-Control-Allow-Origin: http://b49b-95-62-58-48.ngrok.io Access-Control-Allow-Credentials: true Vary: Origin Access-Control-Allow-Methods: DELETE, POST, GET, OPTIONS, PUT Access-Control-Allow-Headers: Authorization, Origin, No-Cache, X-Requested-With, Cache-Control, Accept, X-E4m-With, If-Modified-Since, Pragma, Last-Modified, Expires, Content-Type Content-Length: 0 ``` Users of Kylin 2.x & Kylin 3.x should upgrade to 3.1.3 or apply patch https://github.com/apache/kylin/pull/1782. Users of Kylin 4.x should upgrade to 4.0.1 or apply patch https://github.com/apache/kylin/pull/1781.
Where are the vendor advisories and references?
- https://lists.apache.org/thread/rzv4mq58okwj1n88lry82ol2wwm57q1m x_refsource_MISC
- [oss-security] 20220106 CVE-2021-45457: Apache Kylin: Overly broad CORS configuration mailing-list, x_refsource_MLIST
Who found and reported it?
- Alvaro Munoz (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- December 21, 2021
- Published
- January 6, 2022, 12:35 UTC
- CVE record updated
- August 4, 2024, 04:39 UTC by apache
- NVD
- Modified, last modified June 17, 2026, 04:13 UTC
- Last checked
- CVE list November 19, 2026, 07:14 UTC; NVD November 19, 2026, 07:52 UTC; KEV December 3, 2026, 16:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Apache Kylin?
- Oct 19, 2026CVE-2026-108837 Apache Software Foundation Apache Kylin: denial of service (resources allocated without limits)
- Oct 19, 2026CVE-2026-108833 Apache Software Foundation Apache Kylin: insecure default setting
- Oct 19, 2026CVE-2026-108823 Apache Software Foundation Apache Kylin: information disclosure
- Oct 19, 2026CVE-2026-108780 Apache Software Foundation Apache Kylin: improper input validation
- Oct 19, 2026CVE-2026-108776 Apache Software Foundation Apache Kylin: SQL injection
- Oct 19, 2026CVE-2026-108771 Apache Software Foundation Apache Kylin: missing authentication for a critical function
- Oct 19, 2026CVE-2026-108766 Apache Software Foundation Apache Kylin: missing authorization
- Oct 19, 2026CVE-2026-108764 Apache Software Foundation Apache Kylin: server-side request forgery (SSRF)
Questions about CVE-2021-45457
Is CVE-2021-45457 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:09 UTC. FIRST's EPSS gives it a 2.46% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Apache Software Foundation Apache Kylin are affected by CVE-2021-45457?
org.apache.kylin:kylin before 3.1.3 and org.apache.kylin:kylin from 4.0.0 before 4.0.1, per the GitHub advisory GHSA-mgpf-hhgf-cxg4. The tables above give every range the sources list.
Which version fixes CVE-2021-45457?
3.1.3 and 4.0.1, per the GitHub advisory GHSA-mgpf-hhgf-cxg4. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-45457?
High (7.5, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2021-45457?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.