CVE-2020-11975: Unomi Improper Input Validation Vulnerability

HIGH
Advisory Identifier: GHSA-v6fq-q792-j46j
CVSS 9.8
CWE-20
Published
Advisory Summary

CVE-2020-11975 is a HIGH (CVSS 9.8) improper input validation vulnerability (CWE-20: Improper Input Validation) affecting Unomi libraries in the Maven ecosystem. The issue involves improper input validation in apache unomi. Remediation is available by upgrading affected packages to version 1.5.4.

CVE-2020-11975 at a Glance

CVE Identifier CVE-2020-11975
GHSA Identifier GHSA-v6fq-q792-j46j
Severity HIGH
CVSS v3.1 Base Score 9.8
CWE Classification CWE-20: Improper Input Validation
Affected Product Unomi
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 9.8

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

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

How to Fix CVE-2020-11975

To remediate this vulnerability, upgrade all affected Unomi 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.apache.unomi:unomi fixed: 1.5.4
<dependency>
    <groupId>org.apache.unomi</groupId>
    <artifactId>unomi</artifactId>
    <version>1.5.4</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.apache.unomi

How to Check if You Are Affected

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

mvn dependency:tree -Dincludes=org.apache.unomi

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

Note: The mvn dependency:tree -Dincludes=org.apache.unomi 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 Unomi, 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

Apache Unomi allows conditions to use OGNL scripting which offers the possibility to call static Java classes from the JDK that could execute code with the permission level of the running Java process.

CVE-2020-11975 Affected Unomi Versions

1 component(s)
Fixed Versions:
1.5.4
Product / Package Ecosystem Affected Versions Fixed Version
org.apache.unomi:unomi
Maven
< 1.5.4
1.5.4

References

Frequently Asked Questions

What is CVE-2020-11975?
CVE-2020-11975 is a security vulnerability in Unomi involving Improper Input Validation in Apache Unomi under CWE-20: Improper Input Validation.
Which Unomi versions are affected?
Affected versions include releases prior to 1.5.4 across affected packages: org.apache.unomi:unomi.
What version fixes CVE-2020-11975?
Upgrading to 1.5.4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is unomi affected?
Yes, org.apache.unomi:unomi is affected in releases prior to 1.5.4. Upgrade your dependency to 1.5.4 or later.
What is the CVSS score of CVE-2020-11975?
CVE-2020-11975 has a CVSS v3.1 base score of 9.8 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2020-11975?
CVE-2020-11975 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-2020-11975?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.apache.unomi'. 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-v6fq-q792-j46j",
  "modified" : "2021-04-14T19:36:05Z",
  "published" : "2022-02-09T23:20:47Z",
  "aliases" : [ "CVE-2020-11975" ],
  "summary" : "Improper Input Validation in Apache Unomi",
  "details" : "Apache Unomi allows conditions to use OGNL scripting which offers the possibility to call static Java classes from the JDK that could execute code with the permission level of the running Java process.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.unomi:unomi"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.5.4"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-11975"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/r01021bc4b25c1e98812efca0b07f0e078a6281bd52f7c3817a429d95@%3Ccommits.unomi.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/r79672c25e0ef9bb4b9148376281200a8e61c6d5ef5bb705e9a363460@%3Ccommits.unomi.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "http://unomi.apache.org/security/cve-2020-11975.txt"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-20" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2021-04-14T19:36:05Z",
    "nvd_published_at" : "2020-06-05T15:15:00Z"
  }
}