CVE-2024-2044
Critical 9.9No known exploitationFix availableUnsafe Deserialisation and Remote Code Execution by an Authenticated user in pgAdmin 4
Vendor advisory: GHSA-rj98-crf4-g69w
Record last updated
CVSS score
Critical on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
No EPSS score available
CISA remediation deadline
Not in the KEV catalog
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.
Weakness: CWE-22, CWE-31, CWE-502
Patching and mitigation
- Patch status
- Fix available (source: GitHub Advisory Database)
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| pgadmin.org | pgAdmin 4 | all versions before 8.4 | 8.4 | CVE Program |
| pip | pgAdmin4 | all versions before 8.4 | 8.4 | GitHub Advisory Database |
Timeline
Disclosure
CVE record published by PostgreSQL
Source: CVE Program (opens in a new tab)
Patch
Fix documented by GitHub Advisory Database
Vendor guidance and references
- https://www.shielder.com/advisories/pgadmin-path-traversal_leads_to_unsafe_deserialization_and_rce/ (opens in a new tab)mitigation, x_transferred
- GitHub Advisory GHSA-rj98-crf4-g69w (opens in a new tab)github-advisory
- https://github.com/pgadmin-org/pgadmin4/issues/7258 (opens in a new tab)issue-tracking, x_transferred
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LUYN2JXKKHFSVTASH344TBRGWDH64XQV/ (opens in a new tab)x_transferred