{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": [
              "cpe:2.3:a:apache:kylin:*:*:*:*:*:*:*:*",
              "cpe:2.3:a:apache:kylin:4.0.0:-:*:*:*:*:*:*",
              "cpe:2.3:a:apache:kylin:4.0.0:alpha:*:*:*:*:*:*",
              "cpe:2.3:a:apache:kylin:4.0.0:beta:*:*:*:*:*:*"
            ],
            "extracted_events": [
              {
                "introduced": "2.0.0"
              },
              {
                "last_affected": "2.6.6"
              },
              {
                "introduced": "3.0.0"
              },
              {
                "fixed": "3.1.3"
              },
              {
                "introduced": "4.0.0-NA"
              },
              {
                "last_affected": "4.0.0-NA"
              },
              {
                "introduced": "4.0.0-alpha"
              },
              {
                "last_affected": "4.0.0-alpha"
              },
              {
                "introduced": "4.0.0-beta"
              },
              {
                "last_affected": "4.0.0-beta"
              }
            ],
            "source": [
              "CPE_RANGE",
              "CPE_STRING"
            ]
          },
          "events": [
            {
              "introduced": "375fd807c281d8c5deff0620747c806be2019782"
            },
            {
              "last_affected": "ddd5f8ecd4157b8f889b047e421dd9cfae7e1142"
            },
            {
              "introduced": "c75242a9b55fd57a3a58d92a2dfa9f21cfe4eebc"
            },
            {
              "fixed": "2fb07e6b1bf0f716090f3b73004c5afe0096b9be"
            },
            {
              "introduced": "aa6d582c0a96fdf31e85791f86850cfc00a7644f"
            },
            {
              "last_affected": "546381392c55136310f591969e5a3f3db6074988"
            }
          ],
          "repo": "https://github.com/apache/kylin",
          "type": "GIT"
        }
      ],
      "versions": [
        "4.0.0-NA",
        "4.0.0-alpha",
        "4.0.0-beta"
      ]
    }
  ],
  "database_specific": {},
  "details": "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.",
  "id": "CVE-2021-31522",
  "modified": "2026-07-08T05:37:20.978358850Z",
  "published": "2022-01-06T13:15:08.027Z",
  "references": [
    {
      "type": "FIX",
      "url": "http://www.openwall.com/lists/oss-security/2022/01/06/4"
    },
    {
      "type": "FIX",
      "url": "https://lists.apache.org/thread/hh5crx3yr701zd8wtpqo1mww2rlkvznw"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}