{"answers":{"affected":"5 open source packages ship an affected version, including apache-iotdb and org.apache.iotdb:iotdb-core. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-46226 in the wild and no public exploit code.","fix":"Upgrade apache-iotdb to 1.3.0 or later.","what":"CVE-2023-46226 is a critical vulnerability in Apache IoTDB, published on 15 Jan 2024."},"fix_prompt":"Check this codebase for CVE-2023-46226 and fix it if it is affected.\n\nWhat it is: CVE-2023-46226 is a critical vulnerability in Apache IoTDB, published on 15 Jan 2024. \nExploitation: There is no known exploitation of CVE-2023-46226 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- apache-iotdb (PyPI): affected from 1.0.0; fixed in 1.3.0\n- apache-iotdb (PyPI): affected from 1.0.0; fixed in 1.3.0\n- apache-iotdb (PyPI): affected from 1.0.0; fixed in 1.3.0\n- org.apache.iotdb:iotdb-core (Maven): affected from 1.0.0; fixed in 1.3.0\n- org.apache.iotdb:iotdb-core (Maven): affected from 1.0.0; fixed in 1.3.0\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-2023-46226/ (Markdown: https://insights.sbomify.com/CVE-2023-46226/index.md)","id":"CVE-2023-46226","markdown":"https://insights.sbomify.com/CVE-2023-46226/index.md","name":"CVE-2023-46226","record":{"aliases":["GHSA-rxgg-273w-rfw7","PYSEC-2024-11"],"analysis":null,"analysis_generated_by":null,"assigner":"apache","cpe":[{"product":"iotdb","vendor":"apache"}],"cvss":{"score":9.8,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"Remote Code Execution vulnerability in Apache IoTDB.This issue affects Apache IoTDB: from 1.0.0 through 1.2.2.\n\nUsers are recommended to upgrade to version 1.3.0, which fixes the issue.","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: Remote Code Execution (RCE) risk via the UDF","id":"CVE-2023-46226","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":null,"year":"2023"},"n_packages":5,"n_references":2,"next":{"headline":"Apache inlong has an Arbitrary File Read Vulnerability","id":"CVE-2023-46227"},"packages":[{"ecosystem":"Maven","fixed":["1.3.0"],"introduced":["1.0.0"],"last_affected":[],"package":"org.apache.iotdb:iotdb-core","purl":null,"source":"GHSA-rxgg-273w-rfw7"},{"ecosystem":"Maven","fixed":["1.3.0"],"introduced":["1.0.0"],"last_affected":[],"package":"org.apache.iotdb:iotdb-core","purl":"pkg:maven/org.apache.iotdb/iotdb-core","source":"GHSA-rxgg-273w-rfw7"},{"ecosystem":"PyPI","fixed":["1.3.0"],"introduced":["1.0.0"],"last_affected":[],"package":"apache-iotdb","purl":null,"source":"GHSA-rxgg-273w-rfw7"},{"ecosystem":"PyPI","fixed":["1.3.0"],"introduced":["1.0.0"],"last_affected":[],"package":"apache-iotdb","purl":"pkg:pypi/apache-iotdb","source":"GHSA-rxgg-273w-rfw7"},{"ecosystem":"PyPI","fixed":["1.3.0"],"introduced":["1.0.0"],"last_affected":[],"package":"apache-iotdb","purl":"pkg:pypi/apache-iotdb","source":"PYSEC-2024-11"}],"prev":{"headline":"Memory corruption in Avalanche","id":"CVE-2023-46225"},"products":["Apache IoTDB"],"published":"2024-01-15","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: 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":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-06-20","vendors":["Apache Software Foundation"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2023-46226/"}