Deserialization of Untrusted Data in pgAdmin - CVE-2024-2044

 

Deserialization of Untrusted Data in pgAdmin - CVE-2024-2044

Published: March 11, 2024 / Updated: April 17, 2024


Vulnerability identifier: #VU87340
CSH Severity: High
CVSS v4: 9.3 [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]
CVE-ID: CVE-2024-2044
CWE-ID: CWE-502
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to insecure input validation when processing serialized data inside the file management functionality. A remote attacker can can load and deserialize remote pickle objects and gain code execution.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Note, the vulnerability does not require authentication for Windows installations, however authentication is requires for Linux based installations.


Affected software

pgAdmin
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise Real Time 15
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Enterprise Storage
SUSE Linux Enterprise Server 15 SP3 LTSS
SUSE Linux Enterprise Server 15 SP4 LTSS
Server Applications Module
openSUSE Leap
Fedora
python-jsonformatter
pgadmin4-debuginfo
pgadmin4
pgadmin4-web
pgadmin4-doc
pgadmin4-web-uwsgi

How to mitigate CVE-2024-2044

Install updates from vendor's website.

pgAdmin - update to 8.4
python-jsonformatter - update to 0.3.2-2.fc40
pgadmin4-debuginfo - update to 4.30-150300.3.12.1
pgadmin4 - update to 4.30-150300.3.12.1
pgadmin4-web - update to 4.30-150300.3.12.1
pgadmin4-doc - update to 4.30-150300.3.12.1
pgadmin4-web-uwsgi - update to 4.30-150300.3.12.1
pgadmin4 - update to 8.4-1.fc40

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins