NetSight
medium6.0

CVE-2023-5002

pgAdmin failed to properly control the server code

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
pippgadmin4< 7.77.7

Affected products

VendorProductAffected versions
PgadminPgadmin 4
before 7.7
FedoraprojectFedora
Versions 37, 38

Weakness classification

References