{"answers":{"affected":"2 open source packages ship an affected version, including org.apache.inlong:inlong-common. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-40955 in the wild and no public exploit code.","fix":"Upgrade org.apache.inlong:inlong-common to 1.3.0 or later.","what":"CVE-2022-40955 is a high-severity unsafe deserialization vulnerability in Apache InLong, published on 20 Sep 2022. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-40955 and fix it if it is affected.\n\nWhat it is: CVE-2022-40955 is a high-severity unsafe deserialization vulnerability in Apache InLong, published on 20 Sep 2022. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-40955 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.inlong:inlong-common (Maven): affected all versions; fixed in 1.3.0\n- org.apache.inlong:inlong-common (Maven): affected all versions; 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-2022-40955/ (Markdown: https://insights.sbomify.com/CVE-2022-40955/index.md)","id":"CVE-2022-40955","markdown":"https://insights.sbomify.com/CVE-2022-40955/index.md","name":"CVE-2022-40955","record":{"aliases":["GHSA-26m4-qjp9-xmc6"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Apache InLong","requires_auth":"low_privilege","summary":"An attacker with database write access can trigger remote code execution on Apache InLong servers via unsafe JDBC deserialization.","user_interaction":"not_required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"inlong","vendor":"apache"}],"cvss":{"score":8.8,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"description":"In versions of Apache InLong prior to 1.3.0, an attacker with sufficient privileges to specify MySQL JDBC connection URL parameters and to write arbitrary data to the MySQL database, could cause this data to be deserialized by Apache InLong, potentially leading to Remote Code Execution on the Apache InLong server. Users are advised to upgrade to Apache InLong 1.3.0 or newer.","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":"Deserialization attack in Apache InLong prior to version 1.3.0 allows RCE via JDBC","id":"CVE-2022-40955","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"deserialization","year":"2022"},"n_packages":2,"n_references":2,"next":{"headline":"Cross-site scripting in Firefox","id":"CVE-2022-40956"},"packages":[{"ecosystem":"Maven","fixed":["1.3.0"],"introduced":["0"],"last_affected":[],"package":"org.apache.inlong:inlong-common","purl":null,"source":"GHSA-26m4-qjp9-xmc6"},{"ecosystem":"Maven","fixed":["1.3.0"],"introduced":["0"],"last_affected":[],"package":"org.apache.inlong:inlong-common","purl":"pkg:maven/org.apache.inlong/inlong-common","source":"GHSA-26m4-qjp9-xmc6"}],"prev":{"headline":"Apache Airflow Spark Provider RCE that bypass restrictions to read arbitrary files","id":"CVE-2022-40954"},"products":["Apache InLong"],"published":"2022-09-20","related":[{"cvss_score":9.8,"headline":"Apache InLong: Unauthenticated SQL injection in Manager OpenAPI audit alert rule list endpoint","id":"CVE-2026-63037","kev_date_added":null,"published":"2026-08-20"},{"cvss_score":9.8,"headline":"Apache InLong: SQL Injection via String Concatenation Vulnerability Report","id":"CVE-2026-63038","kev_date_added":null,"published":"2026-08-20"},{"cvss_score":9.8,"headline":"Apache InLong: SQL Injection via Unvalidated MyBatis Dollar-Sign Interpolation in AuditAlertRuleService","id":"CVE-2026-63039","kev_date_added":null,"published":"2026-08-20"},{"cvss_score":9.8,"headline":"Apache InLong: An arbitrary file read vulnerability for JDBC","id":"CVE-2025-27531","kev_date_added":null,"published":"2025-06-06"},{"cvss_score":9.8,"headline":"Apache Inlong JDBC Vulnerability","id":"CVE-2024-26579","kev_date_added":null,"published":"2024-05-08"},{"cvss_score":9.8,"headline":"Apache InLong: Remote Code Execution vulnerability in Apache InLong Manager","id":"CVE-2023-51784","kev_date_added":null,"published":"2024-01-03"},{"cvss_score":9.8,"headline":"Apache InLong: Jdbc Connection Security Bypass in InLong","id":"CVE-2023-43668","kev_date_added":null,"published":"2023-10-16"}],"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":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-05-29","vendors":["Apache Software Foundation"]},"summary":"An attacker with database write access can trigger remote code execution on Apache InLong servers via unsafe JDBC deserialization.","url":"https://insights.sbomify.com/CVE-2022-40955/"}