Vulnerabilities in pkg:maven/org.jboss.weld/weld-core-bom

PACKAGE
Advisory Identifier: GHSA-338v-3958-8v8r
Advisory Summary

CVE-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.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.jboss.weld/weld-core-bom

1 Known Advisory Record(s)

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

CVE Identifier CVE-2014-8122
GHSA Identifier GHSA-338v-3958-8v8r
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
Affected Product Weld core bom
Package Ecosystem Maven
Published Date
Last Updated

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.

org.jboss.weld:weld-core-bom fixed: 2.2.8
<dependency>
    <groupId>org.jboss.weld</groupId>
    <artifactId>weld-core-bom</artifactId>
    <version>2.2.8</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.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

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.

CVE-2014-8122 Affected Weld core bom Versions

1 component(s)
Fixed Versions:
2.2.8
Product / Package Ecosystem Affected Versions Fixed Version
org.jboss.weld:weld-core-bom
Maven
< 2.2.8
2.2.8

References

NVD — CVE-2014-8122 NVD
https://nvd.nist.gov/vuln/detail/CVE-2014-8122
Security Fix Commit FIX COMMIT
https://github.com/weld/core/commit/29fd1107fd30579ad9bb23fae4dc3ba464205745
Security Fix Commit FIX COMMIT
https://github.com/weld/core/commit/6808b11cd6d97c71a2eed754ed4f955acd789086
Security Fix Commit FIX COMMIT
https://github.com/weld/core/commit/8e413202fa1af08c09c580f444e4fd16874f9c65
exchange.xforce.ibmcloud.com/vulnerabilities/100... WEB
https://exchange.xforce.ibmcloud.com/vulnerabilities/100892
Weld core bom Source Repository REPOSITORY
https://github.com/victims/victims-cve-db/blob/master/database/java/2014/8122.yaml
Weld core bom Source Repository REPOSITORY
https://github.com/weld/core
rhn.redhat.com/errata/rhsa-2015-02... WEB
http://rhn.redhat.com/errata/RHSA-2015-0215.html
rhn.redhat.com/errata/rhsa-2015-02... WEB
http://rhn.redhat.com/errata/RHSA-2015-0216.html
rhn.redhat.com/errata/rhsa-2015-02... WEB
http://rhn.redhat.com/errata/RHSA-2015-0217.html
rhn.redhat.com/errata/rhsa-2015-02... WEB
http://rhn.redhat.com/errata/RHSA-2015-0218.html
rhn.redhat.com/errata/rhsa-2015-06... WEB
http://rhn.redhat.com/errata/RHSA-2015-0675.html
rhn.redhat.com/errata/rhsa-2015-07... WEB
http://rhn.redhat.com/errata/RHSA-2015-0773.html
rhn.redhat.com/errata/rhsa-2015-08... WEB
http://rhn.redhat.com/errata/RHSA-2015-0850.html
rhn.redhat.com/errata/rhsa-2015-08... WEB
http://rhn.redhat.com/errata/RHSA-2015-0851.html
rhn.redhat.com/errata/rhsa-2015-09... WEB
http://rhn.redhat.com/errata/RHSA-2015-0920.html
Weld core bom Security Information SECURITY
http://www.securityfocus.com/bid/74252
Weld core bom Security Information SECURITY
http://www.securitytracker.com/id/1031741

Frequently Asked Questions

What is CVE-2014-8122?
CVE-2014-8122 is a security vulnerability in Weld core bom involving Information disclosure in JBoss Weld under CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition').
Which Weld core bom versions are affected?
Affected versions include releases prior to 2.2.8 across affected packages: org.jboss.weld:weld-core-bom.
What version fixes CVE-2014-8122?
Upgrading to 2.2.8 (or the latest patched release for your respective branch) resolves the vulnerability.
Is weld-core-bom affected?
Yes, org.jboss.weld:weld-core-bom is affected in releases prior to 2.2.8. Upgrade your dependency to 2.2.8 or later.
What CWE is associated with CVE-2014-8122?
CVE-2014-8122 is classified under CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') (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.).
How can I check Maven dependencies for CVE-2014-8122?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.jboss.weld'. 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-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
  }
}