Vulnerabilities in pkg:maven/org.terasoluna.gfw/terasoluna-gfw-common

PACKAGE
Advisory Identifier: GHSA-q5j9-f95w-f4pr
Advisory Summary

CVE-2022-43484 is a HIGH (CVSS 7.8) terasoluna server framework vulnerable to vulnerability (CWE-20: Improper Input Validation) affecting Terasoluna gfw common libraries in the Maven ecosystem. The issue involves terasoluna server framework vulnerable to classloader manipulation. Remediation is available by upgrading affected packages to version 1.0.1.RELEASE.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.terasoluna.gfw/terasoluna-gfw-common

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/org.terasoluna.gfw/terasoluna-gfw-common. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-q5j9-f95w-f4pr CVE-2022-43484 HIGH TERASOLUNA Server Framework vulnerable to ClassLoader manipulation

CVE-2022-43484 at a Glance

CVE Identifier CVE-2022-43484
GHSA Identifier GHSA-q5j9-f95w-f4pr
Severity HIGH
CVSS v3.1 Base Score 7.8
CWE Classification CWE-20: Improper Input Validation
Affected Product Terasoluna gfw common
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 7.8

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H).

Attack Vector Local (AV:L)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2022-43484

To remediate this vulnerability, upgrade all affected Terasoluna gfw common dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.terasoluna.gfw:terasoluna-gfw-common fixed: 1.0.1.RELEASE
<dependency>
    <groupId>org.terasoluna.gfw</groupId>
    <artifactId>terasoluna-gfw-common</artifactId>
    <version>1.0.1.RELEASE</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=org.terasoluna.gfw

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2022-43484, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.terasoluna.gfw

Analyze the terminal output to locate any version of Terasoluna gfw common in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.0.1.RELEASE), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.terasoluna.gfw command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Terasoluna gfw common, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

TERASOLUNA Global Framework 1.0.0 (Public review version) and TERASOLUNA Server Framework for Java (Rich) 2.0.0.2 to 2.0.5.1 are vulnerable to ClassLoader manipulation due to using the old version of Spring Framework which contains the vulnerability. The vulnerability is caused by an improper input validation issue in the binding mechanism of Spring MVC. By the application processing a specially crafted file, arbitrary code may be executed with the privileges of the application. When using TERASOLUNA Global Framework 1.0.0 (Public review version), update to TERASOLUNA Server Framework for Java 5.7.1.SP1 (using Spring Framework 5.3.18). This vulnerability alone can be addressed by updating to TERASOLUNA Global Framework 1.0.1 (using Spring Framework 3.2.10) or later.

CVE-2022-43484 Affected Terasoluna gfw common Versions

1 component(s)
Fixed Versions:
1.0.1.RELEASE
Product / Package Ecosystem Affected Versions Fixed Version
org.terasoluna.gfw:terasoluna-gfw-common
Maven
< 1.0.1.RELEASE
1.0.1.RELEASE

References

Frequently Asked Questions

What is CVE-2022-43484?
CVE-2022-43484 is a security vulnerability in Terasoluna gfw common involving TERASOLUNA Server Framework vulnerable to ClassLoader manipulation under CWE-20: Improper Input Validation.
Which Terasoluna gfw common versions are affected?
Affected versions include releases prior to 1.0.1.RELEASE across affected packages: org.terasoluna.gfw:terasoluna-gfw-common.
What version fixes CVE-2022-43484?
Upgrading to 1.0.1.RELEASE (or the latest patched release for your respective branch) resolves the vulnerability.
Is terasoluna-gfw-common affected?
Yes, org.terasoluna.gfw:terasoluna-gfw-common is affected in releases prior to 1.0.1.RELEASE. Upgrade your dependency to 1.0.1.RELEASE or later.
What is the CVSS score of CVE-2022-43484?
CVE-2022-43484 has a CVSS v3.1 base score of 7.8 (HIGH) with vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2022-43484?
CVE-2022-43484 is classified under CWE-20: Improper Input Validation (The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.).
How can I check Maven dependencies for CVE-2022-43484?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.terasoluna.gfw'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-q5j9-f95w-f4pr",
  "modified" : "2022-12-06T21:53:44Z",
  "published" : "2022-12-05T06:30:21Z",
  "aliases" : [ "CVE-2022-43484" ],
  "summary" : "TERASOLUNA Server Framework vulnerable to ClassLoader manipulation",
  "details" : "TERASOLUNA Global Framework 1.0.0 (Public review version) and TERASOLUNA Server Framework for Java (Rich) 2.0.0.2 to 2.0.5.1 are vulnerable to ClassLoader manipulation due to using the old version of Spring Framework which contains the vulnerability. The vulnerability is caused by an improper input validation issue in the binding mechanism of Spring MVC. By the application processing a specially crafted file, arbitrary code may be executed with the privileges of the application. \n\nWhen using TERASOLUNA Global Framework 1.0.0 (Public review version), update to TERASOLUNA Server Framework for Java 5.7.1.SP1 (using Spring Framework 5.3.18). This vulnerability alone can be addressed by updating to TERASOLUNA Global Framework 1.0.1 (using Spring Framework 3.2.10) or later.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.terasoluna.gfw:terasoluna-gfw-common"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.0.1.RELEASE"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-43484"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/spring-projects/spring-framework/issues/15724"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/terasolunaorg/terasoluna-gfw"
  }, {
    "type" : "WEB",
    "url" : "https://jvn.jp/en/jp/JVN54728399/index.html"
  }, {
    "type" : "WEB",
    "url" : "https://osdn.net/projects/terasoluna/wiki/cve-2022-43484"
  }, {
    "type" : "WEB",
    "url" : "http://terasolunaorg.github.io/vulnerability/cve-2022-43484.html"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-20" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-12-05T23:23:07Z",
    "nvd_published_at" : "2022-12-05T04:15:00Z"
  }
}