CVE-2022-4963

Source
https://cve.org/CVERecord?id=CVE-2022-4963
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-4963.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-4963
Aliases
Published
2024-03-20T18:31:04.616Z
Modified
2026-08-12T13:33:40.254846Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L CVSS Calculator
Summary
Folio Spring Module Core Schema Name HibernateSchemaService.java dropSchema sql injection
Details

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.

Database specific
{
    "cna_assigner": "VulDB",
    "cwe_ids": [
        "CWE-89"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/4xxx/CVE-2022-4963.json"
}
References

Affected packages

Git / github.com/folio-org/spring-module-core

Affected ranges

Type
GIT
Repo
https://github.com/folio-org/spring-module-core
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "2.0.0"
        }
    ],
    "source": [
        "CPE_RANGE",
        "REFERENCES"
    ],
    "cpe": "cpe:2.3:a:folio:spring_module_core:*:*:*:*:*:*:*:*"
}

Affected versions

1.*
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
v1.*
v1.0.0
v1.1.0
v1.1.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-4963.json"
vanir_signatures
[
    {
        "target": {
            "function": "schemaExists",
            "file": "tenant/src/main/java/org/folio/spring/tenant/hibernate/HibernateSchemaService.java"
        },
        "deprecated": false,
        "source": "https://github.com/folio-org/spring-module-core/commit/d374a5f77e6b58e36f0e0e4419be18b95edcd7ff",
        "id": "CVE-2022-4963-5d175604",
        "signature_version": "v1",
        "digest": {
            "length": 369.0,
            "function_hash": "88423840290212599592241423561103560672"
        },
        "signature_type": "Function"
    },
    {
        "target": {
            "function": "getSchema",
            "file": "tenant/src/main/java/org/folio/spring/tenant/service/SchemaService.java"
        },
        "deprecated": false,
        "source": "https://github.com/folio-org/spring-module-core/commit/d374a5f77e6b58e36f0e0e4419be18b95edcd7ff",
        "id": "CVE-2022-4963-77b199fe",
        "signature_version": "v1",
        "digest": {
            "length": 142.0,
            "function_hash": "38432414019913449310336984029488135708"
        },
        "signature_type": "Function"
    },
    {
        "target": {
            "file": "tenant/src/main/java/org/folio/spring/tenant/service/SchemaService.java"
        },
        "deprecated": false,
        "source": "https://github.com/folio-org/spring-module-core/commit/d374a5f77e6b58e36f0e0e4419be18b95edcd7ff",
        "id": "CVE-2022-4963-e00d16b3",
        "signature_version": "v1",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "260124928669488654951795266286797152476",
                "35869919725393448675900254943620255831",
                "216672977863588800751328503017424845984",
                "301037177338567541831997809031482721884",
                "204959898172664396872877188387484966936",
                "147513307903685692857174932659586433391",
                "32432866842253286554122679610694957080"
            ]
        },
        "signature_type": "Line"
    },
    {
        "target": {
            "file": "tenant/src/main/java/org/folio/spring/tenant/hibernate/HibernateSchemaService.java"
        },
        "deprecated": false,
        "source": "https://github.com/folio-org/spring-module-core/commit/d374a5f77e6b58e36f0e0e4419be18b95edcd7ff",
        "id": "CVE-2022-4963-f953f77f",
        "signature_version": "v1",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "246487324450171134123075331555831320510",
                "272930456696117168963545635247424210546",
                "185090104247576886707666168294613822251",
                "164731771297155430376976778599325602359",
                "260519022363839605832536729228531163122",
                "100538346967746391781937136550914512150",
                "165961644303335870533066273084383039400",
                "251180824164092023384614852271392270728",
                "300195117593297633837578407006343829459",
                "83907749020120361413880521827456717799",
                "333238612549653532611400422636176601874",
                "308121004798379226731438664823046380732",
                "235822819775476610941559144651488589374",
                "148276222773350563736217715266005022326"
            ]
        },
        "signature_type": "Line"
    }
]
vanir_signatures_modified
"2026-08-12T13:33:40Z"