Vulnerabilities in pkg:maven/org.apache.camel/camel-xstream

PACKAGE
Advisory Identifier: GHSA-gv5f-cjw9-5vxg
Advisory Summary

CVE-2015-5344 is a CRITICAL (CVSS 9.8) camel-xstream component vulnerability (General Security Weakness) affecting Camel xstream libraries in the Maven ecosystem. The issue involves camel-xstream component in apache camel can allow remote attackers to execute arbitrary commands. Remediation is available by upgrading affected packages to version 2.15.5, 2.16.1.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.apache.camel/camel-xstream

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/org.apache.camel/camel-xstream. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-gv5f-cjw9-5vxg CVE-2015-5344 CRITICAL Camel-xstream component in Apache Camel can allow remote attackers to execute arbitrary commands

CVE-2015-5344 at a Glance

CVE Identifier CVE-2015-5344
GHSA Identifier GHSA-gv5f-cjw9-5vxg
Severity CRITICAL
CVSS v3.1 Base Score 9.8
CWE Classification General Security Weakness
Affected Product Camel xstream
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 9.8

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:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2015-5344

To remediate this vulnerability, upgrade all affected Camel xstream 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.apache.camel:camel-xstream fixed: 2.15.5
<dependency>
    <groupId>org.apache.camel</groupId>
    <artifactId>camel-xstream</artifactId>
    <version>2.15.5</version>
</dependency>
org.apache.camel:camel-xstream fixed: 2.16.1
<dependency>
    <groupId>org.apache.camel</groupId>
    <artifactId>camel-xstream</artifactId>
    <version>2.16.1</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.apache.camel

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2015-5344, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.apache.camel

Analyze the terminal output to locate any version of Camel xstream in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.15.5), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.apache.camel 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 General Security Weakness. In Camel xstream, 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

The camel-xstream component in Apache Camel before 2.15.5 and 2.16.x before 2.16.1 allow remote attackers to execute arbitrary commands via a crafted serialized Java object in an HTTP request.

CVE-2015-5344 Affected Camel xstream Versions

2 component(s)
Fixed Versions:
2.15.52.16.1
Product / Package Ecosystem Affected Versions Fixed Version
org.apache.camel:camel-xstream
Maven
< 2.15.5
2.15.5
org.apache.camel:camel-xstream
Maven
≥ 2.16.0
< 2.16.1
All 1 versions
2.16.0
2.16.1

References

NVD — CVE-2015-5344 NVD
https://nvd.nist.gov/vuln/detail/CVE-2015-5344
Security Fix Commit FIX COMMIT
https://github.com/apache/camel/commit/157c0b4a3c8017de432f1c99f83e374e97dc4d36
Security Fix Commit FIX COMMIT
https://github.com/apache/camel/commit/369d0a6d605055cb843e7962b101e3bbcd113fec
Security Fix Commit FIX COMMIT
https://github.com/apache/camel/commit/4491c080cb6c8659fc05441e49307b7d4349aa56
Security Fix Commit FIX COMMIT
https://github.com/apache/camel/commit/4cdc6b177ee7391eedc9f0b695c05d56f84b0812
Security Fix Commit FIX COMMIT
https://github.com/apache/camel/commit/8386d8f7260143802553bc6dbae2880d6c0bafda
Security Fix Commit FIX COMMIT
https://github.com/apache/camel/commit/b7afb3769a38b8e526f8046414d4a71430d77df0
Security Fix Commit FIX COMMIT
https://github.com/apache/camel/commit/f07a33c467adb3d37aa8192698caadfee43a17dc
GitHub Advisory / Wiki ADVISORY
https://github.com/advisories/GHSA-gv5f-cjw9-5vxg
Camel xstream Source Repository REPOSITORY
https://github.com/apache/camel
issues.apache.org/jira/browse/camel-9... WEB
https://issues.apache.org/jira/browse/CAMEL-9297
lists.apache.org/thread.html/2318d7f... WEB
https://lists.apache.org/thread.html/2318d7f7d87724d8716cd650c21b31cb06e4d34f6d0f5ee42f28fdaf@%3Ccommits.camel.apache.org%3E
lists.apache.org/thread.html/b4014ea... WEB
https://lists.apache.org/thread.html/b4014ea7c5830ca1fc28edd5cafedfe93ad4af2d9e69c961c5def31d@%3Ccommits.camel.apache.org%3E
Camel xstream Security Information SECURITY
http://camel.apache.org/security-advisories.data/CVE-2015-5344.txt.asc
rhn.redhat.com/errata/rhsa-2016-20... WEB
http://rhn.redhat.com/errata/RHSA-2016-2035.html
Camel xstream Security Information SECURITY
http://www.securityfocus.com/archive/1/537414/100/0/threaded
Camel xstream Security Information SECURITY
http://www.securityfocus.com/bid/82260

Frequently Asked Questions

What is CVE-2015-5344?
CVE-2015-5344 is a security vulnerability in Camel xstream involving Camel-xstream component in Apache Camel can allow remote attackers to execute arbitrary commands under General Security Weakness.
Which Camel xstream versions are affected?
Affected versions include releases prior to 2.15.5, 2.16.1 across affected packages: org.apache.camel:camel-xstream.
What version fixes CVE-2015-5344?
Upgrading to 2.15.5, 2.16.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is camel-xstream affected?
Yes, org.apache.camel:camel-xstream is affected in releases prior to 2.15.5, 2.16.1. Upgrade your dependency to 2.15.5, 2.16.1 or later.
What is the CVSS score of CVE-2015-5344?
CVE-2015-5344 has a CVSS v3.1 base score of 9.8 (CRITICAL) with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2015-5344?
CVE-2015-5344 is classified under General Security Weakness.
How can I check Maven dependencies for CVE-2015-5344?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.apache.camel'. 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-gv5f-cjw9-5vxg",
  "modified" : "2023-12-19T22:33:53Z",
  "published" : "2018-10-16T23:10:23Z",
  "aliases" : [ "CVE-2015-5344" ],
  "summary" : "Camel-xstream component in Apache Camel can allow remote attackers to execute arbitrary commands ",
  "details" : "The camel-xstream component in Apache Camel before 2.15.5 and 2.16.x before 2.16.1 allow remote attackers to execute arbitrary commands via a crafted serialized Java object in an HTTP request.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.camel:camel-xstream"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.15.5"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.camel:camel-xstream"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.16.0"
      }, {
        "fixed" : "2.16.1"
      } ]
    } ],
    "versions" : [ "2.16.0" ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2015-5344"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/camel/commit/157c0b4a3c8017de432f1c99f83e374e97dc4d36"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/camel/commit/369d0a6d605055cb843e7962b101e3bbcd113fec"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/camel/commit/4491c080cb6c8659fc05441e49307b7d4349aa56"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/camel/commit/4cdc6b177ee7391eedc9f0b695c05d56f84b0812"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/camel/commit/8386d8f7260143802553bc6dbae2880d6c0bafda"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/camel/commit/b7afb3769a38b8e526f8046414d4a71430d77df0"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/camel/commit/f07a33c467adb3d37aa8192698caadfee43a17dc"
  }, {
    "type" : "ADVISORY",
    "url" : "https://github.com/advisories/GHSA-gv5f-cjw9-5vxg"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/apache/camel"
  }, {
    "type" : "WEB",
    "url" : "https://issues.apache.org/jira/browse/CAMEL-9297"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/2318d7f7d87724d8716cd650c21b31cb06e4d34f6d0f5ee42f28fdaf@%3Ccommits.camel.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/b4014ea7c5830ca1fc28edd5cafedfe93ad4af2d9e69c961c5def31d@%3Ccommits.camel.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "http://camel.apache.org/security-advisories.data/CVE-2015-5344.txt.asc"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2016-2035.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/archive/1/537414/100/0/threaded"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/82260"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-06-16T21:38:03Z",
    "nvd_published_at" : null
  }
}