Vulnerabilities in pkg:maven/org.apache.orc/orc
PACKAGECVE-2018-8015 is a HIGH (CVSS 7.5) apache orc vulnerable to uncontrolled vulnerability (CWE-674: Uncontrolled Recursion) affecting Orc libraries in the Maven ecosystem. The issue involves apache orc vulnerable to uncontrolled recursion. Remediation is available by upgrading affected packages to version 1.4.4.
pkg:maven/org.apache.orc/orc
Vulnerability advisories affecting package pkg:maven/org.apache.orc/orc. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-mqmp-4mcp-vg8v | CVE-2018-8015 | HIGH | Apache ORC vulnerable to Uncontrolled Recursion |
CVE-2018-8015 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.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2018-8015
To remediate this vulnerability, upgrade all affected Orc 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.orc</groupId>
<artifactId>orc</artifactId>
<version>1.4.4</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.orc
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2018-8015, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.apache.orc
Analyze the terminal output to locate any version of Orc in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.4.4), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.apache.orc 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 Orc, 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-2018-8015 Affected Orc Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.orc:orc
|
Maven |
≥ 1.0.0
< 1.4.4
|
1.4.4
|
References
Frequently Asked Questions
What is CVE-2018-8015?
Which Orc versions are affected?
What version fixes CVE-2018-8015?
Is orc affected?
What is the CVSS score of CVE-2018-8015?
What CWE is associated with CVE-2018-8015?
How can I check Maven dependencies for CVE-2018-8015?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-mqmp-4mcp-vg8v",
"modified" : "2022-11-07T22:19:20Z",
"published" : "2022-05-13T01:20:37Z",
"aliases" : [ "CVE-2018-8015" ],
"summary" : "Apache ORC vulnerable to Uncontrolled Recursion",
"details" : "In Apache ORC 1.0.0 to 1.4.3 a malformed ORC file can trigger an endlessly recursive function call in the C++ or Java parser. The impact of this bug is most likely denial-of-service against software that uses the ORC file parser. With the C++ parser, the stack overflow might possibly corrupt the stack.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.orc:orc"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.0.0"
}, {
"fixed" : "1.4.4"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2018-8015"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/orc/pull/266"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/orc/commit/d5018d309a8adc6b8e0567cb692a17371d16e108"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/orc"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/orc/blob/9cf9d26a20ac4d43911d7967ecaef8ef26b60594/site/security/CVE-2018-8015.md"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/orc/commits/rel/release-1.4.4"
}, {
"type" : "WEB",
"url" : "https://orc.apache.org/security/CVE-2018-8015"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-674" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2022-11-07T22:19:20Z",
"nvd_published_at" : "2018-05-18T17:29:00Z"
}
}