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.
{
"cna_assigner": "VulDB",
"cwe_ids": [
"CWE-89"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/4xxx/CVE-2022-4963.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "1.1.0"
},
{
"last_affected": "1.1.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "1.1.1"
},
{
"last_affected": "1.1.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "1.1.2"
},
{
"last_affected": "1.1.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "1.1.3"
},
{
"last_affected": "1.1.3"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "1.1.4"
},
{
"last_affected": "1.1.4"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "1.1.5"
},
{
"last_affected": "1.1.5"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"fixed": "d374a5f77e6b58e36f0e0e4419be18b95edcd7ff"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v2.0.0",
"range": [
{
"fixed": "fce67f7529cbe59cb1d805915c65aa81cd91ca46"
}
],
"source": "REFERENCES_TAG"
}
]
}
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-4963.json"
[
{
"deprecated": false,
"digest": {
"function_hash": "88423840290212599592241423561103560672",
"length": 369
},
"id": "CVE-2022-4963-5d175604",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/folio-org/spring-module-core/commit/d374a5f77e6b58e36f0e0e4419be18b95edcd7ff",
"target": {
"file": "tenant/src/main/java/org/folio/spring/tenant/hibernate/HibernateSchemaService.java",
"function": "schemaExists"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "38432414019913449310336984029488135708",
"length": 142
},
"id": "CVE-2022-4963-77b199fe",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/folio-org/spring-module-core/commit/d374a5f77e6b58e36f0e0e4419be18b95edcd7ff",
"target": {
"file": "tenant/src/main/java/org/folio/spring/tenant/service/SchemaService.java",
"function": "getSchema"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"260124928669488654951795266286797152476",
"35869919725393448675900254943620255831",
"216672977863588800751328503017424845984",
"301037177338567541831997809031482721884",
"204959898172664396872877188387484966936",
"147513307903685692857174932659586433391",
"32432866842253286554122679610694957080"
],
"threshold": 0.9
},
"id": "CVE-2022-4963-e00d16b3",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/folio-org/spring-module-core/commit/d374a5f77e6b58e36f0e0e4419be18b95edcd7ff",
"target": {
"file": "tenant/src/main/java/org/folio/spring/tenant/service/SchemaService.java"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"246487324450171134123075331555831320510",
"272930456696117168963545635247424210546",
"185090104247576886707666168294613822251",
"164731771297155430376976778599325602359",
"260519022363839605832536729228531163122",
"100538346967746391781937136550914512150",
"165961644303335870533066273084383039400",
"251180824164092023384614852271392270728",
"300195117593297633837578407006343829459",
"83907749020120361413880521827456717799",
"333238612549653532611400422636176601874",
"308121004798379226731438664823046380732",
"235822819775476610941559144651488589374",
"148276222773350563736217715266005022326"
],
"threshold": 0.9
},
"id": "CVE-2022-4963-f953f77f",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/folio-org/spring-module-core/commit/d374a5f77e6b58e36f0e0e4419be18b95edcd7ff",
"target": {
"file": "tenant/src/main/java/org/folio/spring/tenant/hibernate/HibernateSchemaService.java"
}
}
]
"2026-10-15T13:05:41Z"