Vulnerabilities in pkg:maven/org.apache.james/james-project
PACKAGECVE-2017-12628 is a HIGH (CVSS 7.8) apache james privilege escalation vulnerability (CWE-502: Deserialization of Untrusted Data) affecting James project libraries in the Maven ecosystem. The issue involves apache james privilege escalation. Remediation is available by upgrading affected packages to version 3.0.1.
pkg:maven/org.apache.james/james-project
Vulnerability advisories affecting package pkg:maven/org.apache.james/james-project. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-xj7q-q94c-6wr3 | CVE-2017-12628 | HIGH | Apache James Privilege Escalation |
CVE-2017-12628 at a Glance
Security Impact
CVSS: 7.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2017-12628
To remediate this vulnerability, upgrade all affected James project 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.james</groupId>
<artifactId>james-project</artifactId>
<version>3.0.1</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.james
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2017-12628, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.apache.james
Analyze the terminal output to locate any version of James project in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.0.1), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.apache.james 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-502: Deserialization of Untrusted Data, where the product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. In James project, 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-2017-12628 Affected James project Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.james:james-project
|
Maven |
< 3.0.1
|
3.0.1
|
References
Frequently Asked Questions
What is CVE-2017-12628?
Which James project versions are affected?
What version fixes CVE-2017-12628?
Is james-project affected?
What is the CVSS score of CVE-2017-12628?
What CWE is associated with CVE-2017-12628?
How can I check Maven dependencies for CVE-2017-12628?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-xj7q-q94c-6wr3",
"modified" : "2023-10-23T17:05:54Z",
"published" : "2022-05-17T00:25:34Z",
"aliases" : [ "CVE-2017-12628" ],
"summary" : "Apache James Privilege Escalation",
"details" : "The JMX server embedded in Apache James, also used by the command line client is exposed to a java de-serialization issue, and thus can be used to execute arbitrary commands. As James exposes JMX socket by default only on local-host, this vulnerability can only be used for privilege escalation. Release 3.0.1 upgrades the incriminated library.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.james:james-project"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.0.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-12628"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/james-project"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20210124113233/http://www.securityfocus.com/bid/101532"
}, {
"type" : "WEB",
"url" : "https://www.mail-archive.com/server-user@james.apache.org/msg15633.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-502" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-07-27T00:18:01Z",
"nvd_published_at" : "2017-10-20T15:29:00Z"
}
}