# CVE-2022-43766: Apache IoTDB subject to ReDOS with Java 8

Source: https://junglewise.ai/threats/cve-2022-43766-apache-iotdb-subject-to-redos-with-java-8  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-10-26  
License: CC BY 4.0 with a link back

CVE-2022-43766 · Severity: low · CVSS 3.1 · Published 2022-10-26

Apache IoTDB version 0.12.2 to 0.12.6, 0.13.0 to 0.13.2 are vulnerable to a Denial of Service attack when accepting untrusted patterns for REGEXP queries with Java 8. Users should upgrade to 0.13.3 which addresses this issue or use a later version of Java to avoid it.

Technologies: [org.apache.iotdb:iotdb-server (Maven)](https://junglewise.ai/threats/technologies/org-apache-iotdb-iotdb-server), [apache-iotdb (PyPI)](https://junglewise.ai/threats/technologies/apache-iotdb). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven), [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2022-43766 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-43766 being exploited in the wild.

**How severe is CVE-2022-43766?** Low severity, with a CVSS score of 3.1, published 26 October 2022.

**Which products and versions are affected?** org.apache.iotdb:flink-tsfile-connector (Maven) ECOSYSTEM:introduced=0.12.2,fixed=0.13.3; org.apache.iotdb:iotdb-server (Maven) ECOSYSTEM:introduced=0.12.2,fixed=0.13.3; org.apache.iotdb:tsfile (Maven) ECOSYSTEM:introduced=0.12.2,fixed=0.13.3; apache-iotdb (PyPI) ECOSYSTEM:introduced=0.12.2,fixed=0.13.3.

**Is there a fix for CVE-2022-43766?** Yes. org.apache.iotdb:flink-tsfile-connector (Maven): upgrade to 0.13.3 or later; org.apache.iotdb:iotdb-server (Maven): upgrade to 0.13.3 or later; org.apache.iotdb:tsfile (Maven): upgrade to 0.13.3 or later; apache-iotdb (PyPI): upgrade to 0.13.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2022-43766?** Check whether you run org.apache.iotdb:flink-tsfile-connector (Maven), org.apache.iotdb:iotdb-server (Maven), org.apache.iotdb:tsfile (Maven) or one of the others listed at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.apache.iotdb:flink-tsfile-connector (Maven): upgrade to 0.13.3 or later

  ```sh
  # set org.apache.iotdb:flink-tsfile-connector to 0.13.3 in your pom.xml or build.gradle
  ```

- org.apache.iotdb:iotdb-server (Maven): upgrade to 0.13.3 or later

  ```sh
  # set org.apache.iotdb:iotdb-server to 0.13.3 in your pom.xml or build.gradle
  ```

- org.apache.iotdb:tsfile (Maven): upgrade to 0.13.3 or later

  ```sh
  # set org.apache.iotdb:tsfile to 0.13.3 in your pom.xml or build.gradle
  ```

- apache-iotdb (PyPI): upgrade to 0.13.3 or later

  ```sh
  pip install "apache-iotdb>=0.13.3"
  ```


## Affected products

- org.apache.iotdb:flink-tsfile-connector (Maven) ECOSYSTEM:introduced=0.12.2,fixed=0.13.3
- org.apache.iotdb:iotdb-server (Maven) ECOSYSTEM:introduced=0.12.2,fixed=0.13.3
- org.apache.iotdb:tsfile (Maven) ECOSYSTEM:introduced=0.12.2,fixed=0.13.3
- apache-iotdb (PyPI) ECOSYSTEM:introduced=0.12.2,fixed=0.13.3

## Identifiers

- CVE-2022-43766
- GHSA-g6hg-4v3c-6jq7
- PYSEC-2022-42972

## Related threats

- [Apache IoTDB path traversal in DataNode RPC interface](https://junglewise.ai/threats/cve-2026-24014-apache-iotdb-path-traversal-in-datanode-rpc-interface)
- [Apache IoTDB authentication bypass in Thrift RPC query handlers](https://junglewise.ai/threats/cve-2026-24013-apache-iotdb-authentication-bypass-in-thrift-rpc-query-handlers)
- [Apache IoTDB uncontrolled resource consumption in query interface](https://junglewise.ai/threats/cve-2026-24012-apache-iotdb-uncontrolled-resource-consumption-in-query-interface)
- [Apache IoTDB path traversal vulnerability](https://junglewise.ai/threats/cve-2025-64152-apache-iotdb-path-traversal-vulnerability)
- [Apache IoTDB path traversal vulnerability](https://junglewise.ai/threats/cve-2025-55017-apache-iotdb-path-traversal-vulnerability)
