pgadmin-org/pgadmin4 · Security

pgAdmin failed to properly control the server code

GHSA ID
GHSA-ghp8-52vx-77j4
CVE ID
CVE-2023-5002
Severity
medium
Published
Updated
CVSS
6 · CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:H/A:H
CVSS v3
6 · CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:H/A:H

Description

A flaw was found in pgAdmin. This issue occurs when the pgAdmin server HTTP API validates the path a user selects to external PostgreSQL utilities such as pg_dump and pg_restore. Versions of pgAdmin prior to 7.7 failed to properly control the server code executed on this API, allowing an authenticated user to run arbitrary commands on the server.

CWEs

References