{"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-2024-24780 in the wild and no public exploit code.","fix":"Upgrade apache-iotdb to 1.3.4 or later.","what":"CVE-2024-24780 is a critical code injection vulnerability in Apache IoTDB, published on 14 May 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-24780 and fix it if it is affected.\n\nWhat it is: CVE-2024-24780 is a critical code injection vulnerability in Apache IoTDB, published on 14 May 2025. 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-2024-24780 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.4\n- apache-iotdb (PyPI): affected from 1.0.0; fixed in 1.3.4\n- apache-iotdb (PyPI): affected from 1.0.0; fixed in 1.3.4\n- org.apache.iotdb:iotdb-core (Maven): affected from 1.0.0; fixed in 1.3.4\n- org.apache.iotdb:iotdb-core (Maven): affected from 1.0.0; fixed in 1.3.4\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-2024-24780/ (Markdown: https://insights.sbomify.com/CVE-2024-24780/index.md)","id":"CVE-2024-24780","markdown":"https://insights.sbomify.com/CVE-2024-24780/index.md","name":"CVE-2024-24780","record":{"aliases":["GHSA-f4rq-f4j9-f6rm","PYSEC-2025-59"],"analysis":{"component_type":"database","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Apache IoTDB","requires_auth":"none","summary":"An attacker with UDF creation privileges can execute arbitrary code by registering a malicious function from an untrusted URI in Apache IoTDB.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","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 with untrusted URI of UDF vulnerability in Apache IoTDB. The attacker who has privilege to create UDF can register malicious function from untrusted URI.\n\nThis issue affects Apache IoTDB: from 1.0.0 before 1.3.4.\n\nUsers are recommended to upgrade to version 1.3.4, 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 with untrusted URI of User-defined function","id":"CVE-2024-24780","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"code_injection","year":"2024"},"n_packages":5,"n_references":1,"next":{"headline":"Hima: Uncontrolled Resource Consumption in multiple products","id":"CVE-2024-24781"},"packages":[{"ecosystem":"Maven","fixed":["1.3.4"],"introduced":["1.0.0"],"last_affected":[],"package":"org.apache.iotdb:iotdb-core","purl":null,"source":"GHSA-f4rq-f4j9-f6rm"},{"ecosystem":"Maven","fixed":["1.3.4"],"introduced":["1.0.0"],"last_affected":[],"package":"org.apache.iotdb:iotdb-core","purl":"pkg:maven/org.apache.iotdb/iotdb-core","source":"GHSA-f4rq-f4j9-f6rm"},{"ecosystem":"PyPI","fixed":["1.3.4"],"introduced":["1.0.0"],"last_affected":[],"package":"apache-iotdb","purl":null,"source":"GHSA-f4rq-f4j9-f6rm"},{"ecosystem":"PyPI","fixed":["1.3.4"],"introduced":["1.0.0"],"last_affected":[],"package":"apache-iotdb","purl":"pkg:pypi/apache-iotdb","source":"GHSA-f4rq-f4j9-f6rm"},{"ecosystem":"PyPI","fixed":["1.3.4"],"introduced":["1.0.0"],"last_affected":[],"package":"apache-iotdb","purl":"pkg:pypi/apache-iotdb","source":"PYSEC-2025-59"}],"prev":{"headline":"Apache Superset: Improper data authorization when creating a new dataset","id":"CVE-2024-24779"},"products":["Apache IoTDB"],"published":"2025-05-14","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 (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":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-02-26","vendors":["Apache Software Foundation"]},"summary":"An attacker with UDF creation privileges can execute arbitrary code by registering a malicious function from an untrusted URI in Apache IoTDB.","url":"https://insights.sbomify.com/CVE-2024-24780/"}