CVE-2022-43766: Apache IoTDB Denial of Service Vulnerability

apache-iotdb Updated 02 Oct 2025

Summary

26/10/2022
Yes i
Unrated
Not published

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.

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

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.0 0.13.0
    pip install --upgrade "apache-iotdb==0.13.0"
  • >= 0.13.0, < 0.14.0rc1 0.14.0rc1
    pip 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 →

Share this vulnerability

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.

Related vulnerabilities

Recent vulnerabilities recorded for apache-iotdb.

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.0 0.13.0
    pip install --upgrade "apache-iotdb==0.13.0"
  • >= 0.13.0, < 0.14.0rc1 0.14.0rc1
    pip 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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback