Vulnerabilities in pkg:maven/org.uberfire/uberfire-parent
PACKAGECVE-2014-8114 is a MODERATE uberfire framework improperly restricts paths vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) affecting Uberfire parent libraries in the Maven ecosystem. The issue involves uberfire framework improperly restricts paths. Remediation is available in the latest vendor maintenance releases.
pkg:maven/org.uberfire/uberfire-parent
Vulnerability advisories affecting package pkg:maven/org.uberfire/uberfire-parent. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-6h58-c7r7-g2hw | CVE-2014-8114 | MODERATE | UberFire Framework Improperly Restricts Paths |
CVE-2014-8114 at a Glance
How to Fix CVE-2014-8114
To remediate this vulnerability, upgrade all affected Uberfire parent 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.uberfire</groupId>
<artifactId>uberfire-parent</artifactId>
<version>Latest secure release</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.uberfire
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2014-8114, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.uberfire
Analyze the terminal output to locate any version of Uberfire parent in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.uberfire 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-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'), where the product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. In Uberfire parent, 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-2014-8114 Affected Uberfire parent Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.uberfire:uberfire-parent
|
Maven |
≥ 0.3.0.Beta5
≤ 0.3.1.Final
|
|
References
Frequently Asked Questions
What is CVE-2014-8114?
Which Uberfire parent versions are affected?
What version fixes CVE-2014-8114?
Is uberfire-parent affected?
What CWE is associated with CVE-2014-8114?
How can I check Maven dependencies for CVE-2014-8114?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-6h58-c7r7-g2hw",
"modified" : "2023-08-16T22:23:43Z",
"published" : "2022-05-14T01:10:41Z",
"aliases" : [ "CVE-2014-8114" ],
"summary" : "UberFire Framework Improperly Restricts Paths",
"details" : "The UberFire Framework 0.3.x does not properly restrict paths, which allows remote attackers to (1) execute arbitrary code by uploading crafted content to FileUploadServlet or (2) read arbitrary files via vectors involving FileDownloadServlet.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.uberfire:uberfire-parent"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.3.0.Beta5"
}, {
"last_affected" : "0.3.1.Final"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2014-8114"
}, {
"type" : "WEB",
"url" : "https://github.com/uberfire/uberfire/commit/21ec50eb15"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20200227080813/http://www.securityfocus.com/bid/88199"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2015-0234.html"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2015-0235.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-22" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-08-16T22:23:43Z",
"nvd_published_at" : "2015-02-20T16:59:00Z"
}
}