CVE-2023-50378: Apache Ambari Various Cross Site Scripting Problems Vulnerability
MODERATECVE-2023-50378 is a MODERATE (CVSS 6.1) various cross site scripting problems vulnerability (CWE-20: Improper Input Validation) affecting Apache Ambari libraries in the Maven ecosystem. The issue involves various cross site scripting problems. Remediation is available by upgrading affected packages to version 2.7.8.
CVE-2023-50378 at a Glance
Security Impact
CVSS: 6.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N).
How to Fix CVE-2023-50378
To remediate this vulnerability, upgrade all affected Apache Ambari 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.ambari</groupId>
<artifactId>ambari</artifactId>
<version>2.7.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.apache.ambari
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2023-50378, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.apache.ambari
Analyze the terminal output to locate any version of Apache Ambari in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.7.8), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.apache.ambari 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-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Apache Ambari, 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-2023-50378 Affected Apache Ambari Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.ambari:ambari
|
Maven |
< 2.7.8
|
2.7.8
|
References
Frequently Asked Questions
What is CVE-2023-50378?
Which Apache Ambari versions are affected?
What version fixes CVE-2023-50378?
Is ambari affected?
What is the CVSS score of CVE-2023-50378?
What CWE is associated with CVE-2023-50378?
How can I check Maven dependencies for CVE-2023-50378?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-9q6v-rxmw-g3gh",
"modified" : "2024-10-03T18:07:30Z",
"published" : "2024-03-01T15:31:38Z",
"aliases" : [ "CVE-2023-50378" ],
"summary" : "Apache Ambari: Various Cross site scripting problems",
"details" : "Lack of proper input validation and constraint enforcement in Apache Ambari prior to 2.7.8 \n\n Impact : As it will be stored XSS, Could be exploited to perform unauthorized actions, varying from data access to session hijacking and delivering malicious payloads. \n\nUsers are recommended to upgrade to version 2.7.8 which fixes this issue.\n\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.ambari:ambari"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.7.8"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-50378"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/ambari"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread/6hn0thq743vz9gh283s2d87wz8tqh37c"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2024/03/01/5"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20", "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-03-01T21:44:45Z",
"nvd_published_at" : "2024-03-01T15:15:08Z"
}
}