Vulnerabilities in pkg:maven/org.jboss.weld/weld-core-bom
PACKAGECVE-2014-8122 is a MODERATE information disclosure vulnerability (CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')) affecting Weld core bom libraries in the Maven ecosystem. The issue involves information disclosure in jboss weld. Remediation is available by upgrading affected packages to version 2.2.8.
pkg:maven/org.jboss.weld/weld-core-bom
Vulnerability advisories affecting package pkg:maven/org.jboss.weld/weld-core-bom. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-338v-3958-8v8r | CVE-2014-8122 | MODERATE | Information disclosure in JBoss Weld |
CVE-2014-8122 at a Glance
How to Fix CVE-2014-8122
To remediate this vulnerability, upgrade all affected Weld core bom 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.jboss.weld</groupId>
<artifactId>weld-core-bom</artifactId>
<version>2.2.8</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.jboss.weld
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2014-8122, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.jboss.weld
Analyze the terminal output to locate any version of Weld core bom in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.2.8), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.jboss.weld 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-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition'), where the product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently. In Weld core bom, 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-8122 Affected Weld core bom Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.jboss.weld:weld-core-bom
|
Maven |
< 2.2.8
|
2.2.8
|
References
Frequently Asked Questions
What is CVE-2014-8122?
Which Weld core bom versions are affected?
What version fixes CVE-2014-8122?
Is weld-core-bom affected?
What CWE is associated with CVE-2014-8122?
How can I check Maven dependencies for CVE-2014-8122?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-338v-3958-8v8r",
"modified" : "2021-08-30T13:39:36Z",
"published" : "2020-06-10T20:54:15Z",
"aliases" : [ "CVE-2014-8122" ],
"summary" : "Information disclosure in JBoss Weld",
"details" : "Race condition in JBoss Weld before 2.2.8 and 3.x before 3.0.0 Alpha3 allows remote attackers to obtain information from a previous conversation via vectors related to a stale thread state.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.jboss.weld:weld-core-bom"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.2.8"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2014-8122"
}, {
"type" : "WEB",
"url" : "https://github.com/weld/core/commit/29fd1107fd30579ad9bb23fae4dc3ba464205745"
}, {
"type" : "WEB",
"url" : "https://github.com/weld/core/commit/6808b11cd6d97c71a2eed754ed4f955acd789086"
}, {
"type" : "WEB",
"url" : "https://github.com/weld/core/commit/8e413202fa1af08c09c580f444e4fd16874f9c65"
}, {
"type" : "WEB",
"url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/100892"
}, {
"type" : "WEB",
"url" : "https://github.com/victims/victims-cve-db/blob/master/database/java/2014/8122.yaml"
}, {
"type" : "WEB",
"url" : "https://github.com/weld/core"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2015-0215.html"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2015-0216.html"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2015-0217.html"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2015-0218.html"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2015-0675.html"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2015-0773.html"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2015-0850.html"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2015-0851.html"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2015-0920.html"
}, {
"type" : "WEB",
"url" : "http://www.securityfocus.com/bid/74252"
}, {
"type" : "WEB",
"url" : "http://www.securitytracker.com/id/1031741"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-362" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-10T20:53:46Z",
"nvd_published_at" : null
}
}