CVE-2022-43766: Apache IoTDB subject to ReDOS with Java 8
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.
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
# 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
# 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
# set org.apache.iotdb:tsfile to 0.13.3 in your pom.xml or build.gradle