Unsafe Deserialisation and Remote Code Execution by an Authenticated user in pgAdmin 4 (pgadmin.org pgAdmin 4)

CVE-2024-2044
CRITICAL 9.9

At a glance

Source
NVD
EPSS
EPSS 79.47 % · percentile 100 ()
State
PUBLISHED
Published
Updated
Assigner
PostgreSQL
NVD status
Analyzed

Description

pgAdmin <= 8.3 is affected by a path-traversal vulnerability while deserializing users’ sessions in the session handling code. If the server is running on Windows, an unauthenticated attacker can load and deserialize remote pickle objects and gain code execution. If the server is running on POSIX/Linux, an authenticated attacker can upload pickle objects, deserialize them, and gain code execution.

Weaknesses (CWE)

  • CWE-31 — Path Traversal: 'dir\..\..\filename'

References

Scores

VersionScoreVectorScored by
CVSS 3.1CRITICAL 9.9CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HPostgreSQL
CVSS 3.1CRITICAL 9.9CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HNVD · f86ef6dc-4d3a-42ad-8f28-e6d5547a5007 (Secondary)

Advisories

European references

Affected configurations (NVD CPE)

Affected products

ProductVersions
pgadmin.org · pgAdmin 4affected 0 < 8.4

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD