SecurityContext

CVE-2021-31522: Apache Kylin - Insecure Deserialization

  • Cve: CVE-2021-31522
  • Name: Apache Kylin - Insecure Deserialization
  • Description: Kylin can receive user input and load any class through Class.forName(...). 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.
  • Impact: Attackers can execute arbitrary code remotely, potentially leading to full system compromise.
  • Remediation: Update to the latest version of Apache Kylin where this issue is fixed.
  • Vulnerability type: insecure_deserialization
  • Vulnerability impact: remote_code_execution
  • Requirement type: user_interaction
  • Requirements: Attacker needs to supply malicious class name via user input
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.02998
  • Epss percentile: 0.87598
  • Assignee: [email protected]
  • Published at: 2022-01-06T13:15:08Z
  • Age in days: 1783
  • Modified at: 2026-06-17T03:51:57Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-31522
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-470Use of Externally-Controlled Input to Select Classes or Code

References

UrlSourceTags
https://lists.apache.org/thread/hh5crx3yr701zd8wtpqo1mww2rlkvznwnvdPatch, Vendor Advisory
http://www.openwall.com/lists/oss-security/2022/01/06/4nvdMailing List, Patch, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
apache:kylin= 4.0.0; = 4.0.0 alpha; = 4.0.0 beta; >= 3.0.0, < 3.1.3; >= 2.0.0, <= 2.6.6nonvd/v1/products/apache/kylin

Projects

RepositoryLink kindsIndexedUrl
apache/kylinpackage, pullyes/v1/repositories/apache/kylin

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Exposed hosts: 1
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports