{"answers":{"affected":"9 open source packages ship an affected version, including apache-iotdb, org.apache.iotdb:flink-tsfile-connector and org.apache.iotdb:iotdb-server. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-43766 in the wild and no public exploit code.","fix":"Upgrade apache-iotdb to 0.13.3 or later.","what":"CVE-2022-43766 is a high-severity denial of service vulnerability in Apache IoTDB, published on 26 Oct 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-43766 and fix it if it is affected.\n\nWhat it is: CVE-2022-43766 is a high-severity denial of service vulnerability in Apache IoTDB, published on 26 Oct 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-43766 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- apache-iotdb (PyPI): affected from 0.12.2; fixed in 0.13.3\n- apache-iotdb (PyPI): affected from 0.12.2; fixed in 0.13.3\n- apache-iotdb (PyPI): affected from 0.12.2; fixed in 0.13.3\n- org.apache.iotdb:flink-tsfile-connector (Maven): affected from 0.12.2; fixed in 0.13.3\n- org.apache.iotdb:flink-tsfile-connector (Maven): affected from 0.12.2; fixed in 0.13.3\n- org.apache.iotdb:iotdb-server (Maven): affected from 0.12.2; fixed in 0.13.3\n- org.apache.iotdb:iotdb-server (Maven): affected from 0.12.2; fixed in 0.13.3\n- org.apache.iotdb:tsfile (Maven): affected from 0.12.2; fixed in 0.13.3\n- org.apache.iotdb:tsfile (Maven): affected from 0.12.2; fixed in 0.13.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-43766/ (Markdown: https://insights.sbomify.com/CVE-2022-43766/index.md)","id":"CVE-2022-43766","markdown":"https://insights.sbomify.com/CVE-2022-43766/index.md","name":"CVE-2022-43766","record":{"aliases":["GHSA-g6hg-4v3c-6jq7","PYSEC-2022-42972"],"analysis":{"component_type":"database","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Apache IoTDB","requires_auth":"none","summary":"Attackers can cause denial of service in Apache IoTDB by submitting malicious regular expressions, requiring an upgrade or Java version change.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"iotdb","vendor":"apache"}],"cvss":{"score":7.5,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"description":"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.","ecosystems":["Maven","PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Apache IoTDB prior to 0.13.3 allows DoS","id":"CVE-2022-43766","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"denial_of_service","year":"2022"},"n_packages":9,"n_references":1,"next":{"headline":"Denial of service in SIMATIC CP 1242-7 V2","id":"CVE-2022-43767"},"packages":[{"ecosystem":"Maven","fixed":["0.13.3"],"introduced":["0.12.2"],"last_affected":[],"package":"org.apache.iotdb:flink-tsfile-connector","purl":null,"source":"GHSA-g6hg-4v3c-6jq7"},{"ecosystem":"Maven","fixed":["0.13.3"],"introduced":["0.12.2"],"last_affected":[],"package":"org.apache.iotdb:flink-tsfile-connector","purl":"pkg:maven/org.apache.iotdb/flink-tsfile-connector","source":"GHSA-g6hg-4v3c-6jq7"},{"ecosystem":"Maven","fixed":["0.13.3"],"introduced":["0.12.2"],"last_affected":[],"package":"org.apache.iotdb:iotdb-server","purl":null,"source":"GHSA-g6hg-4v3c-6jq7"},{"ecosystem":"Maven","fixed":["0.13.3"],"introduced":["0.12.2"],"last_affected":[],"package":"org.apache.iotdb:iotdb-server","purl":"pkg:maven/org.apache.iotdb/iotdb-server","source":"GHSA-g6hg-4v3c-6jq7"},{"ecosystem":"Maven","fixed":["0.13.3"],"introduced":["0.12.2"],"last_affected":[],"package":"org.apache.iotdb:tsfile","purl":null,"source":"GHSA-g6hg-4v3c-6jq7"},{"ecosystem":"Maven","fixed":["0.13.3"],"introduced":["0.12.2"],"last_affected":[],"package":"org.apache.iotdb:tsfile","purl":"pkg:maven/org.apache.iotdb/tsfile","source":"GHSA-g6hg-4v3c-6jq7"},{"ecosystem":"PyPI","fixed":["0.13.3"],"introduced":["0.12.2"],"last_affected":[],"package":"apache-iotdb","purl":null,"source":"GHSA-g6hg-4v3c-6jq7"},{"ecosystem":"PyPI","fixed":["0.13.3"],"introduced":["0.12.2"],"last_affected":[],"package":"apache-iotdb","purl":"pkg:pypi/apache-iotdb","source":"GHSA-g6hg-4v3c-6jq7"},{"ecosystem":"PyPI","fixed":["0.13.3"],"introduced":["0.12.2"],"last_affected":[],"package":"apache-iotdb","purl":"pkg:pypi/apache-iotdb","source":"PYSEC-2022-42972"}],"prev":{"headline":"DoS in APROLs Tbase server","id":"CVE-2022-43765"},"products":["Apache IoTDB"],"published":"2022-10-26","related":[{"cvss_score":9.8,"headline":"Apache IoTDB: Path Traversal in DataNode Internal RPC Trigger JAR Upload Allows Arbitrary File Write","id":"CVE-2026-24014","kev_date_added":null,"published":"2026-07-06"},{"cvss_score":9.8,"headline":"Apache IoTDB: Insecure Default Configuration Vulnerability","id":"CVE-2026-24015","kev_date_added":null,"published":"2026-03-09"},{"cvss_score":9.8,"headline":"Apache IoTDB: JEXL Expression Injection Vulnerability","id":"CVE-2026-24713","kev_date_added":null,"published":"2026-03-09"},{"cvss_score":9.8,"headline":"Apache IoTDB: Remote Code Execution with untrusted URI of User-defined function","id":"CVE-2024-24780","kev_date_added":null,"published":"2025-05-14"},{"cvss_score":9.8,"headline":"Apache IoTDB: Remote Code Execution (RCE) risk via the UDF","id":"CVE-2023-46226","kev_date_added":null,"published":"2024-01-15"},{"cvss_score":9.8,"headline":"Apache IoTDB: Unsafe deserialize map in Sync Tool","id":"CVE-2023-51656","kev_date_added":null,"published":"2023-12-21"},{"cvss_score":9.8,"headline":"Apache IoTDB grafana-connector Login Bypass Vulnerability","id":"CVE-2023-24831","kev_date_added":null,"published":"2023-04-17"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-05-07","vendors":["Apache Software Foundation"]},"summary":"Attackers can cause denial of service in Apache IoTDB by submitting malicious regular expressions, requiring an upgrade or Java version change.","url":"https://insights.sbomify.com/CVE-2022-43766/"}