{"answers":{"affected":"2 open source packages ship an affected version, including org.folio:spring-module-core. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-4963 in the wild and no public exploit code.","fix":"Upgrade org.folio:spring-module-core to 2.0.0 or later.","what":"CVE-2022-4963 is a medium-severity vulnerability in Folio Spring Module Core, published on 20 Mar 2024."},"fix_prompt":"Check this codebase for CVE-2022-4963 and fix it if it is affected.\n\nWhat it is: CVE-2022-4963 is a medium-severity vulnerability in Folio Spring Module Core, published on 20 Mar 2024. \nExploitation: There is no known exploitation of CVE-2022-4963 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.folio:spring-module-core (Maven): affected all versions; fixed in 2.0.0\n- org.folio:spring-module-core (Maven): affected all versions; fixed in 2.0.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-4963/ (Markdown: https://insights.sbomify.com/CVE-2022-4963/index.md)","id":"CVE-2022-4963","markdown":"https://insights.sbomify.com/CVE-2022-4963/index.md","name":"CVE-2022-4963","record":{"aliases":["GHSA-4h5h-p23f-hjqf"],"analysis":null,"analysis_generated_by":null,"assigner":"VulDB","cpe":[{"product":"spring_module_core","vendor":"folio"}],"cvss":{"score":5.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"description":"A vulnerability was found in Folio Spring Module Core up to 1.1.5. It has been rated as critical. Affected by this issue is the function dropSchema of the file tenant/src/main/java/org/folio/spring/tenant/hibernate/HibernateSchemaService.java of the component Schema Name Handler. The manipulation leads to sql injection. Upgrading to version 2.0.0 is able to address this issue. The name of the patch is d374a5f77e6b58e36f0e0e4419be18b95edcd7ff. It is recommended to upgrade the affected component. The identifier of this vulnerability is VDB-257516.","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":"Folio Spring Module Core Schema Name HibernateSchemaService.java dropSchema sql injection","id":"CVE-2022-4963","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":null,"year":"2022"},"n_packages":2,"n_references":5,"next":{"headline":"Security feature bypass in Ubuntu pipewire-pulse","id":"CVE-2022-4964"},"packages":[{"ecosystem":"Maven","fixed":["2.0.0"],"introduced":["0"],"last_affected":[],"package":"org.folio:spring-module-core","purl":null,"source":"GHSA-4h5h-p23f-hjqf"},{"ecosystem":"Maven","fixed":["2.0.0"],"introduced":["0"],"last_affected":[],"package":"org.folio:spring-module-core","purl":"pkg:maven/org.folio/spring-module-core","source":"GHSA-4h5h-p23f-hjqf"}],"prev":{"headline":"Apollo Configuration Center users improper authorization","id":"CVE-2022-4962"},"products":["Spring Module Core"],"published":"2024-03-20","related":[],"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":"partial"},"state":"PUBLISHED","updated":"2024-08-20","vendors":["Folio"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2022-4963/"}