OS Command Injection in pgAdmin - CVE-2023-5002
Published: October 4, 2023
Vulnerability details
The vulnerability allows a remote user to execute arbitrary shell commands on the target system.
The vulnerability exists due to improper input validation in external PostgreSQL utilities such as pg_dump and pg_restore. A remote user can pass specially crafted data via API to the application and execute arbitrary OS commands on the target system.
Affected software
Fedora
pgadmin4
How to mitigate CVE-2023-5002
pgadmin4 - addressed in versions 6.19-2.fc37, 6.21-3.fc38