CVE-2022-23974: Pinot Logic Error Vulnerability
HIGHCVE-2022-23974 is a HIGH (CVSS 7.5) logic error vulnerability (CWE-674: Uncontrolled Recursion) affecting Pinot libraries in the Maven ecosystem. The issue involves logic error in apache pinot. Remediation is available by upgrading affected packages to version 0.10.0.
CVE-2022-23974 at a Glance
Security Impact
CVSS: 7.5
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:N/I:N/A:H).
How to Fix CVE-2022-23974
To remediate this vulnerability, upgrade all affected Pinot dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.apache.pinot</groupId>
<artifactId>pinot</artifactId>
<version>0.10.0</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.apache.pinot
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2022-23974, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.apache.pinot
Analyze the terminal output to locate any version of Pinot in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.10.0), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.apache.pinot 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-674: Uncontrolled Recursion, where the product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack. In Pinot, 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
CVE-2022-23974 Affected Pinot Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.pinot:pinot
|
Maven |
< 0.10.0
|
0.10.0
|
References
Frequently Asked Questions
What is CVE-2022-23974?
Which Pinot versions are affected?
What version fixes CVE-2022-23974?
Is pinot affected?
What is the CVSS score of CVE-2022-23974?
What CWE is associated with CVE-2022-23974?
How can I check Maven dependencies for CVE-2022-23974?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-29f8-q7mf-7cqj",
"modified" : "2022-04-17T15:34:42Z",
"published" : "2022-04-06T00:01:28Z",
"aliases" : [ "CVE-2022-23974" ],
"summary" : "Logic error in Apache Pinot",
"details" : "In 0.9.3 or older versions of Apache Pinot segment upload path allowed segment directories to be imported into pinot tables. In pinot installations that allow open access to the controller a specially crafted request can potentially be exploited to cause disruption in pinot service. Pinot release 0.10.0 fixes this. See https://docs.pinot.apache.org/basics/releases/0.10.0",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.pinot:pinot"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.10.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-23974"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/pinot/pull/7969"
}, {
"type" : "WEB",
"url" : "https://docs.pinot.apache.org/basics/releases/0.10.0"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/pinot"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread/3dk8pf1n02p8oj2j3czbtchyjsf8khwr"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-674" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2022-04-07T22:37:30Z",
"nvd_published_at" : "2022-04-05T20:15:00Z"
}
}