Vulnerabilities in pkg:maven/org.nuxeo.ecm.platform/nuxeo-platform-oauth
PACKAGECVE-2021-32828 is a MODERATE (CVSS 5.4) remote code execution vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Nuxeo platform oauth libraries in the Maven ecosystem. The issue involves nuxeo vulnerable to reflected cross-site scripting leading to remote code execution. Remediation is available in the latest vendor maintenance releases.
pkg:maven/org.nuxeo.ecm.platform/nuxeo-platform-oauth
Vulnerability advisories affecting package pkg:maven/org.nuxeo.ecm.platform/nuxeo-platform-oauth. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-x347-fc9w-w7c3 | CVE-2021-32828 | MODERATE | Nuxeo vulnerable to Reflected Cross-Site Scripting leading to Remote Code Execution |
CVE-2021-32828 at a Glance
Security Impact
CVSS: 5.4
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N).
How to Fix CVE-2021-32828
To remediate this vulnerability, upgrade all affected Nuxeo platform oauth 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.nuxeo.ecm.platform</groupId>
<artifactId>nuxeo-platform-oauth</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.nuxeo.ecm.platform
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2021-32828, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.nuxeo.ecm.platform
Analyze the terminal output to locate any version of Nuxeo platform oauth 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.nuxeo.ecm.platform 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 Nuxeo platform oauth, 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-2021-32828 Affected Nuxeo platform oauth Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.nuxeo.ecm.platform:nuxeo-platform-oauth
|
Maven |
≤ 10.10
|
|
References
Frequently Asked Questions
What is CVE-2021-32828?
Which Nuxeo platform oauth versions are affected?
What version fixes CVE-2021-32828?
Is nuxeo-platform-oauth affected?
What is the CVSS score of CVE-2021-32828?
What CWE is associated with CVE-2021-32828?
How can I check Maven dependencies for CVE-2021-32828?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-x347-fc9w-w7c3",
"modified" : "2023-01-09T20:06:35Z",
"published" : "2023-01-06T00:30:17Z",
"aliases" : [ "CVE-2021-32828" ],
"summary" : "Nuxeo vulnerable to Reflected Cross-Site Scripting leading to Remote Code Execution",
"details" : "The Nuxeo Platform is an open source content management platform for building business applications. In version 11.5.109, the `oauth2` REST API is vulnerable to Reflected Cross-Site Scripting (XSS). This XSS can be escalated to Remote Code Execution (RCE) by levering the automation API.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.nuxeo.ecm.platform:nuxeo-platform-oauth"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "10.10"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2021-32828"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/nuxeo/nuxeo"
}, {
"type" : "WEB",
"url" : "https://github.com/nuxeo/nuxeo/blob/master/modules/platform/nuxeo-platform-oauth/src/main/java/org/nuxeo/ecm/webengine/oauth2/OAuth2Callback.java"
}, {
"type" : "ADVISORY",
"url" : "https://securitylab.github.com/advisories/GHSL-2021-072-nuxeo"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-502", "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-01-09T20:06:35Z",
"nvd_published_at" : "2023-01-05T23:15:00Z"
}
}