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.

Technologies: org.apache.iotdb:iotdb-server (Maven), apache-iotdb (PyPI). Vendors: Maven, 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
    # 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
  • apache-iotdb (PyPI): upgrade to 0.13.3 or later
    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

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.