{"answers":{"affected":"4 open source packages ship an affected version, including org.apache.inlong:manager-pojo and org.apache.inlong:manager-service. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-30465 in the wild and no public exploit code.","fix":"Upgrade org.apache.inlong:manager-pojo to 1.6.0 or later.","what":"CVE-2023-30465 is a medium-severity SQL injection vulnerability in Apache InLong, published on 11 Apr 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-30465 and fix it if it is affected.\n\nWhat it is: CVE-2023-30465 is a medium-severity SQL injection vulnerability in Apache InLong, published on 11 Apr 2023. 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-2023-30465 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.inlong:manager-pojo (Maven): affected from 1.4.0; fixed in 1.6.0\n- org.apache.inlong:manager-pojo (Maven): affected from 1.4.0; fixed in 1.6.0\n- org.apache.inlong:manager-service (Maven): affected from 1.4.0; fixed in 1.6.0\n- org.apache.inlong:manager-service (Maven): affected from 1.4.0; fixed in 1.6.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-30465/ (Markdown: https://insights.sbomify.com/CVE-2023-30465/index.md)","id":"CVE-2023-30465","markdown":"https://insights.sbomify.com/CVE-2023-30465/index.md","name":"CVE-2023-30465","record":{"aliases":["GHSA-cqr6-3x3f-9wr3"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Apache InLong","requires_auth":"none","summary":"An attacker can exploit SQL injection in Apache InLong to extract user credentials from the database by manipulating the orderType parameter.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"inlong","vendor":"apache"}],"cvss":{"score":5.3,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"description":"Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in Apache Software Foundation Apache InLong.This issue affects Apache InLong: from 1.4.0 through 1.5.0. By manipulating the \"orderType\" parameter and the ordering of the returned content using an SQL injection attack, an attacker can extract the username of the   user with ID 1 from the \"user\" table, one character at a time.  Users are advised to upgrade to Apache InLong's 1.6.0 or cherry-pick [1] to solve it.\n \n https://programmer.help/blogs/jdbc-deserialization-vulnerability-learning.html \n\n[1]  https://github.com/apache/inlong/issues/7529 https://github.com/apache/inlong/issues/7529","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":"Apache InLong: SQL injection in apache inLong 1.5.0","id":"CVE-2023-30465","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"sql_injection","year":"2023"},"n_packages":4,"n_references":2,"next":{"headline":"Authentication Bypass Vulnerability in Milesight Network Video Recorder (NVR)","id":"CVE-2023-30466"},"packages":[{"ecosystem":"Maven","fixed":["1.6.0"],"introduced":["1.4.0"],"last_affected":[],"package":"org.apache.inlong:manager-pojo","purl":null,"source":"GHSA-cqr6-3x3f-9wr3"},{"ecosystem":"Maven","fixed":["1.6.0"],"introduced":["1.4.0"],"last_affected":[],"package":"org.apache.inlong:manager-pojo","purl":"pkg:maven/org.apache.inlong/manager-pojo","source":"GHSA-cqr6-3x3f-9wr3"},{"ecosystem":"Maven","fixed":["1.6.0"],"introduced":["1.4.0"],"last_affected":[],"package":"org.apache.inlong:manager-service","purl":null,"source":"GHSA-cqr6-3x3f-9wr3"},{"ecosystem":"Maven","fixed":["1.6.0"],"introduced":["1.4.0"],"last_affected":[],"package":"org.apache.inlong:manager-service","purl":"pkg:maven/org.apache.inlong/manager-service","source":"GHSA-cqr6-3x3f-9wr3"}],"prev":{"headline":"CoreDNS Cache Poisoning via a birthday attack","id":"CVE-2023-30464"},"products":["Apache InLong"],"published":"2023-04-11","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":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-02-13","vendors":["Apache Software Foundation"]},"summary":"An attacker can exploit SQL injection in Apache InLong to extract user credentials from the database by manipulating the orderType parameter.","url":"https://insights.sbomify.com/CVE-2023-30465/"}