CVE-2021-45457
Java vulnerability analysis and mitigation

Overview

In Apache Kylin, a vulnerability was identified where cross-origin requests with credentials were allowed to be sent from any origin. This security issue affects multiple versions including Apache Kylin 2 version 2.6.6 and prior versions, Apache Kylin 3 version 3.1.2 and prior versions, and Apache Kylin 4 version 4.0.0 and prior versions. The vulnerability was disclosed in January 2022 and assigned CVE-2021-45457 (NVD, GitHub Lab).

Technical details

The vulnerability stems from an overly broad CORS (Cross-Origin Resource Sharing) configuration where Kylin reflects the Origin header and allows credentials to be sent cross-origin in the default configuration. The system responds to preflight OPTIONS requests by setting Access-Control-Allow-Origin to match the requesting origin and Access-Control-Allow-Credentials to true, effectively allowing cross-origin requests with credentials from any origin. The vulnerability has been assigned a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N (NVD).

Impact

The vulnerability allows cross-origin requests with credentials to be sent from any origin, potentially exposing sensitive information to unauthorized domains. This could lead to unauthorized access to user data and potential information disclosure when combined with other vulnerabilities (GitHub Lab).

Mitigation and workarounds

Users of Kylin 2.x and 3.x are advised to upgrade to version 3.1.3 or apply the patch available at https://github.com/apache/kylin/pull/1782. Users of Kylin 4.x should upgrade to version 4.0.1 or apply the patch available at https://github.com/apache/kylin/pull/1781 (OSS Security).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-26866HIGH8.8
  • JavaJava
  • org.apache.hugegraph:hg-pd-core
NoYesDec 12, 2025
CVE-2025-54981HIGH7.5
  • JavaJava
  • org.apache.streampark:streampark
NoYesDec 12, 2025
CVE-2025-67721MEDIUM6.3
  • JavaJava
  • io.airlift:aircompressor-v3
NoYesDec 12, 2025
CVE-2025-53960MEDIUM5.9
  • JavaJava
  • org.apache.streampark:streampark
NoYesDec 12, 2025
CVE-2025-54947MEDIUM5.3
  • JavaJava
  • org.apache.streampark:streampark
NoYesDec 12, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management