{"answers":{"affected":"2 open source packages ship an affected version, including org.apache.iotdb:iotdb-grafana-connector. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-38370 in the wild and no public exploit code.","fix":"Upgrade org.apache.iotdb:iotdb-grafana-connector to 0.13.1 or later.","what":"CVE-2022-38370 is a high-severity missing authorization vulnerability in Apache IoTDB, published on 5 Sep 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-38370 and fix it if it is affected.\n\nWhat it is: CVE-2022-38370 is a high-severity missing authorization vulnerability in Apache IoTDB, published on 5 Sep 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-38370 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.iotdb:iotdb-grafana-connector (Maven): affected all versions; fixed in 0.13.1\n- org.apache.iotdb:iotdb-grafana-connector (Maven): affected all versions; fixed in 0.13.1\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-38370/ (Markdown: https://insights.sbomify.com/CVE-2022-38370/index.md)","id":"CVE-2022-38370","markdown":"https://insights.sbomify.com/CVE-2022-38370/index.md","name":"CVE-2022-38370","record":{"aliases":["GHSA-c86f-9grv-pmqf"],"analysis":{"component_type":"database","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Apache IoTDB connector","requires_auth":"none","summary":"An unauthenticated attacker can access the DatabaseConnectController interface in Apache IoTDB grafana-connector, exposing internal database structure.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"iotdb","vendor":"apache"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"}],"description":"Apache IoTDB grafana-connector version 0.13.0 contains an interface without authorization, which may expose the internal structure of database. Users should upgrade to version 0.13.1 which addresses this issue.","ecosystems":["Maven"],"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":"No authorization of DatabaseConnectController in grafana-connector.","id":"CVE-2022-38370","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"missing_authorization","year":"2022"},"n_packages":2,"n_references":2,"next":{"headline":"Denial of service in APOGEE MBC (PPC) (BACnet)","id":"CVE-2022-38371"},"packages":[{"ecosystem":"Maven","fixed":["0.13.1"],"introduced":["0"],"last_affected":[],"package":"org.apache.iotdb:iotdb-grafana-connector","purl":null,"source":"GHSA-c86f-9grv-pmqf"},{"ecosystem":"Maven","fixed":["0.13.1"],"introduced":["0"],"last_affected":[],"package":"org.apache.iotdb:iotdb-grafana-connector","purl":"pkg:maven/org.apache.iotdb/iotdb-grafana-connector","source":"GHSA-c86f-9grv-pmqf"}],"prev":{"headline":"Login check vulnerability by session Id","id":"CVE-2022-38369"},"products":["Apache IoTDB"],"published":"2022-09-05","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":"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["Apache Software Foundation"]},"summary":"An unauthenticated attacker can access the DatabaseConnectController interface in Apache IoTDB grafana-connector, exposing internal database structure.","url":"https://insights.sbomify.com/CVE-2022-38370/"}