{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-31131","id":"CVE-2023-31131","title":"Arbitrary File Write when Extracting Tarballs in greenplum-db","description":"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","descriptionLong":"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.","published":"2023-05-15T21:05:49.873Z","updated":"2026-06-17T05:56:20.420Z","reserved":"2023-04-24T21:44:10.416Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H","rating":"high","source":"github.com"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","rating":"critical","source":"NVD"}],"rating":"high","products":["greenplum-db gpdb"],"affectedProducts":[{"vendor":"greenplum-db","product":"gpdb","defaultStatus":null,"versions":[{"version":"< 6.22.3","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-22"],"aliases":[],"references":[{"url":"https://github.com/greenplum-db/gpdb/security/advisories/GHSA-hgm9-2q42-c7f3","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory"]},{"url":"https://github.com/greenplum-db/gpdb/commit/1ec4affbba7c9745f64edbd80a6680ad29b09471","tags":["x_refsource_MISC","x_transferred","Patch"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00746,"epssPercentile":0.55739,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-31131","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-31131","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-31131","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-31131","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}