Vulnerability Details : CVE-2023-31131
Greenplum Database (GPDB) is an open source data warehouse based on PostgreSQL. In versions prior to 6.22.3 Greenplum Database used an unsafe methods to extract tar files within GPPKGs. greenplum-db is vulnerable to path traversal leading to arbitrary file writes. An attacker can use this vulnerability to overwrite data or system files potentially leading to crash or malfunction of the system. Any files which are accessible to the running process are at risk. All users are requested to upgrade to Greenplum Database version 6.23.2 or higher. There are no known workarounds for this vulnerability.
Vulnerability category: Directory traversal
Products affected by CVE-2023-31131
- cpe:2.3:a:vmware:greenplum_database:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-31131
0.30%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 53 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-31131
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
9.1
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
3.9
|
5.2
|
NIST | |
7.4
|
HIGH | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H |
2.2
|
5.2
|
GitHub, Inc. |
CWE ids for CVE-2023-31131
-
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.Assigned by: security-advisories@github.com (Primary)
References for CVE-2023-31131
-
https://github.com/greenplum-db/gpdb/commit/1ec4affbba7c9745f64edbd80a6680ad29b09471
fix: unsafe tar extract for gppkg (#15076) · greenplum-db/gpdb@1ec4aff · GitHubPatch
-
https://github.com/greenplum-db/gpdb/security/advisories/GHSA-hgm9-2q42-c7f3
Arbitrary File Write when Extracting Tarballs retrieved from a remote location using `shutil.unpack_archive()` · Advisory · greenplum-db/gpdb · GitHubVendor Advisory
Jump to