CVE-2022-43766: Apache IoTDB Denial of Service Vulnerability
Summary
CVE-2022-43766: 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. Affects apache-iotdb across 2 version ranges.
>= 0.12.2, < 0.13.0
>= 0.13.0, < 0.14.0rc1
Fixed in 0.13.0 or 0.14.0rc1, depending on the release line you run. How to fix ↓
Also tracked for
The same CVE-2022-43766 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
Apache IoTDB is an open-source time-series database designed for storing and analyzing large-scale time-series data. It provides efficient storage and retrieval capabilities for various IoT applications. However, versions 0.12.2 to 0.12.6 and 0.13.0 to 0.13.2 of Apache IoTDB are vulnerable to a Denial of Service (DoS) attack when accepting untrusted patterns for REGEXP queries with Java 8.
Vulnerability Detail
The vulnerability in Apache IoTDB allows an attacker to exploit the REGEXP query functionality with untrusted patterns, leading to a DoS attack. By sending specially crafted REGEXP queries, an attacker can cause the database to consume excessive CPU and memory resources, resulting in the unavailability of the service. This vulnerability can be particularly impactful in production environments with high query loads.
How To Fix
Latest published version: 2.0.11 as of 23 Oct 2026
pip install --upgrade "apache-iotdb==2.0.11"
Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.
If you can't move to the latest
The minimum fixed version depends on the release line you run.
-
>= 0.12.2, < 0.13.00.13.0pip install --upgrade "apache-iotdb==0.13.0" -
>= 0.13.0, < 0.14.0rc10.14.0rc1pip install --upgrade "apache-iotdb==0.14.0rc1"
Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →
Workaround
There is no specific workaround mentioned for this vulnerability. However, as a general best practice, it is recommended to implement proper input validation and sanitization mechanisms to prevent untrusted patterns from being accepted in REGEXP queries.
Conclusion
Apache IoTDB versions 0.12.2 to 0.12.6 and 0.13.0 to 0.13.2 are vulnerable to a Denial of Service (DoS) attack when accepting untrusted patterns for REGEXP queries with Java 8. Users should upgrade to version 0.13.3 or use a later version of Java to mitigate this vulnerability. For further support on vulnerability remediation, contact DevNack.com.
See every vulnerability recorded for apache-iotdb →
FAQ
Apache IoTDB is an open-source time-series database designed for storing and analyzing large-scale time-series data. It provides efficient storage and retrieval capabilities for various IoT applications.
Versions 0.12.2 to 0.12.6 and 0.13.0 to 0.13.2 of Apache IoTDB are vulnerable to this Denial of Service (DoS) attack.
This vulnerability allows an attacker to launch a DoS attack on Apache IoTDB, causing the service to become unavailable. It can disrupt the normal operation of IoT applications relying on the database.
To fix this vulnerability, upgrade to Apache IoTDB version 0.13.3 or use a later version of Java. Ensure that the Java runtime environment is up to date.
While no specific workaround is mentioned, it is recommended to implement proper input validation and sanitization mechanisms to prevent untrusted patterns from being accepted in REGEXP queries.
References
Related vulnerabilities
Recent vulnerabilities recorded for apache-iotdb.