CVE-2022-4223 – pgadmin4
Package
Manager: pip
Name: pgadmin4
Vulnerable Version: >=0 <6.17
Severity
Level: High
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS: 0.76881 pctl0.98919
Details
pgadmin4 vulnerable to Code Injection The pgAdmin server includes an HTTP API that is intended to be used to validate the path a user selects to external PostgreSQL utilities such as pg_dump and pg_restore. The utility is executed by the server to determine what PostgreSQL version it is from. Versions of pgAdmin prior to 6.17 failed to properly secure this API, which could allow an unauthenticated user to call it with a path of their choosing, such as a UNC path to a server they control on a Windows machine. This would cause an appropriately named executable in the target path to be executed by the pgAdmin server.
Metadata
Created: 2022-12-13T18:30:34Z
Modified: 2025-03-17T21:33:57Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/12/GHSA-3v6v-2x6p-32mc/GHSA-3v6v-2x6p-32mc.json
CWE IDs: ["CWE-862", "CWE-94"]
Alternative ID: GHSA-3v6v-2x6p-32mc
Finding: F422
Auto approve: 1