Vulnerabilities in pkg:pypi/apache-iotdb

PACKAGE
Advisory Identifier: GHSA-g6hg-4v3c-6jq7
Advisory Summary

CVE-2022-43766 is a HIGH (CVSS 7.5) denial of service vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Flink tsfile connector libraries in the Maven ecosystem. The issue involves apache iotdb subject to redos with java 8. Remediation is available by upgrading affected packages to version 0.13.3.

7 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:pypi/apache-iotdb

7 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:pypi/apache-iotdb. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-g6hg-4v3c-6jq7 CVE-2022-43766 HIGH Apache IoTDB subject to ReDOS with Java 8
GHSA-776q-jw43-fhjx CVE-2025-48459 CRITICAL Apache IoTDB: Deserialization of untrusted Data
GHSA-5fc3-pqf2-57cx CVE-2025-26864 MODERATE Apache IoTDB Discloses Sensitive Information via Log Files
GHSA-f4rq-f4j9-f6rm CVE-2024-24780 CRITICAL Apache IoTDB Vulnerable to Remote Code Execution
GHSA-rxgg-273w-rfw7 CVE-2023-46226 HIGH Remote Code Execution vulnerability in Apache IoTDB via UDF
GHSA-g6vm-3ch8-c6jq CVE-2022-38369 MODERATE Apache IoTDB Session Fixation vulnerability
GHSA-pvjv-386f-c8wh CVE-2023-24831 CRITICAL Apache IoTDB Grafana Connector vulnerable to Improper Authentication

CVE-2022-43766 at a Glance

CVE Identifier CVE-2022-43766
GHSA Identifier GHSA-g6hg-4v3c-6jq7
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-400: Uncontrolled Resource Consumption
Affected Product Flink tsfile connector
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 7.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability High (A:H)

How to Fix CVE-2022-43766

To remediate this vulnerability, upgrade all affected Flink tsfile connector dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.apache.iotdb:flink-tsfile-connector fixed: 0.13.3
<dependency>
    <groupId>org.apache.iotdb</groupId>
    <artifactId>flink-tsfile-connector</artifactId>
    <version>0.13.3</version>
</dependency>
apache-iotdb fixed: 0.13.3
pip install apache-iotdb>=0.13.3
org.apache.iotdb:iotdb-server fixed: 0.13.3
<dependency>
    <groupId>org.apache.iotdb</groupId>
    <artifactId>iotdb-server</artifactId>
    <version>0.13.3</version>
</dependency>
org.apache.iotdb:tsfile fixed: 0.13.3
<dependency>
    <groupId>org.apache.iotdb</groupId>
    <artifactId>tsfile</artifactId>
    <version>0.13.3</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=org.apache.iotdb

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2022-43766, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.apache.iotdb

Analyze the terminal output to locate any version of Flink tsfile connector in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.13.3), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.apache.iotdb command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In Flink tsfile connector, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Apache IoTDB versions 0.12.2 through 0.12.6, and 0.13.0 through 0.13.2 are vulnerable to a Denial of Service attack when accepting untrusted patterns for REGEXP queries with Java 8. This issue is patched in 0.13.3. Users should upgrade or use a later version of Java to avoid it.

CVE-2022-43766 Affected Flink tsfile connector Versions

4 component(s)
Fixed Versions:
0.13.3
Product / Package Ecosystem Affected Versions Fixed Version
org.apache.iotdb:flink-tsfile-connector
Maven
≥ 0.12.2
< 0.13.3
0.13.3
apache-iotdb
PyPI
≥ 0.12.2
< 0.13.3
0.13.3
org.apache.iotdb:iotdb-server
Maven
≥ 0.12.2
< 0.13.3
0.13.3
org.apache.iotdb:tsfile
Maven
≥ 0.12.2
< 0.13.3
0.13.3

References

Frequently Asked Questions

What is CVE-2022-43766?
CVE-2022-43766 is a security vulnerability in Flink tsfile connector involving Apache IoTDB subject to ReDOS with Java 8 under CWE-400: Uncontrolled Resource Consumption.
Which Flink tsfile connector versions are affected?
Affected versions include releases prior to 0.13.3 across affected packages: org.apache.iotdb:flink-tsfile-connector, apache-iotdb, org.apache.iotdb:iotdb-server, org.apache.iotdb:tsfile.
What version fixes CVE-2022-43766?
Upgrading to 0.13.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is flink-tsfile-connector affected?
Yes, org.apache.iotdb:flink-tsfile-connector is affected in releases prior to 0.13.3. Upgrade your dependency to 0.13.3 or later.
Is apache-iotdb affected?
Yes, apache-iotdb is affected in releases prior to 0.13.3. Upgrade your dependency to 0.13.3 or later.
What is the CVSS score of CVE-2022-43766?
CVE-2022-43766 has 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:N/I:N/A:H.
What CWE is associated with CVE-2022-43766?
CVE-2022-43766 is classified under CWE-400: Uncontrolled Resource Consumption (The product does not properly control the allocation and maintenance of a limited resource.).
How can I check Maven dependencies for CVE-2022-43766?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.apache.iotdb'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-g6hg-4v3c-6jq7",
  "modified" : "2026-06-09T12:58:27Z",
  "published" : "2022-10-26T19:00:39Z",
  "aliases" : [ "CVE-2022-43766" ],
  "summary" : "Apache IoTDB subject to ReDOS with Java 8",
  "details" : "Apache IoTDB versions 0.12.2 through 0.12.6, and 0.13.0 through 0.13.2 are vulnerable to a Denial of Service attack when accepting untrusted patterns for REGEXP queries with Java 8. This issue is patched in 0.13.3. Users should upgrade or use a later version of Java to avoid it.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.iotdb:flink-tsfile-connector"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.12.2"
      }, {
        "fixed" : "0.13.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "apache-iotdb"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.12.2"
      }, {
        "fixed" : "0.13.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.iotdb:iotdb-server"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.12.2"
      }, {
        "fixed" : "0.13.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.iotdb:tsfile"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.12.2"
      }, {
        "fixed" : "0.13.3"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-43766"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/apache/iotdb"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/apache-iotdb/PYSEC-2022-42972.yaml"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread/9pgpb82p5brooy41n8l5q0y9h33db2zn"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-400" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-10-27T18:38:35Z",
    "nvd_published_at" : "2022-10-26T16:15:00Z"
  }
}