Skip to content
Heist/ feed
Back to feed
High

Apache Kylin: Command injection by Useless configuration

Type: advisorySources: OSV

In the fix for CVE-2022-24697, a blacklist is used to filter user input commands. But there is a risk of being bypassed. The user can control the command by controlling the kylin.engine.spark-cmd parameter of conf.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-43396
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 20:45 UTC · Revision 1

Source evidence

Apache Kylin: Command injection by Useless configuration

core-osv · Original source

Published 30 Dec 2022, 10:30 UTC

In the fix for CVE-2022-24697, a blacklist is used to filter user input commands. But there is a risk of being bypassed. The user can control the command by controlling the kylin.engine.spark-cmd parameter of conf.

osv:CVE-2022-43396
Complete source record
{
  "id": "ae8bb76fe6f6cb9931e0cf3c0f0f14e7cc09f4d6c702593b331d3750f2362f30",
  "url": "https://osv.dev/vulnerability/CVE-2022-43396",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Apache Kylin: Command injection by Useless configuration",
    "summary": "In the fix for CVE-2022-24697, a blacklist is used to filter user input commands. But there is a risk of being bypassed. The user can control the command by controlling the kylin.engine.spark-cmd parameter of conf.",
    "evidence": "osv:CVE-2022-43396",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2022-43396",
      "aliases": [
        "CVE-2022-43396",
        "GHSA-f5q9-j9r2-34gq"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/apache/kylin",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "322ab6e5ee9738c5a07165af398c1faeeeacb079"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:apache:kylin:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "4.0.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "kylin-4.0.2",
            "kylin-4.0.0-beta",
            "kylin-4.0.0-alpha",
            "v0.6.1_mysql_auth",
            "v0.6.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-43396.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:39.252892620Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/43xxx/CVE-2022-43396.json",
        "https://lists.apache.org/thread/ob2ks04zl5ms0r44cd74y1xdl1rzfd1r",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-43396"
      ],
      "provider_metadata": {
        "cna_assigner": "apache",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "Apache Kylin 4"
                  },
                  {
                    "last_affected": "4.0.2"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/43xxx/CVE-2022-43396.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-43396",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 506829,
  "published_at": "2022-12-30T10:30:45.627+00:00"
}