GHSA-rj98-crf4-g69w

Suggest an improvement
Source
https://github.com/advisories/GHSA-rj98-crf4-g69w
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/03/GHSA-rj98-crf4-g69w/GHSA-rj98-crf4-g69w.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-rj98-crf4-g69w
Aliases
Published
2024-03-07T21:30:22Z
Modified
2025-02-13T19:36:49.728806Z
Severity
  • 9.9 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H CVSS Calculator
  • 9.4 (Critical) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H CVSS Calculator
Summary
pgAdmin 4 vulnerable to Unsafe Deserialization and Remote Code Execution by an Authenticated user
Details

pgAdmin prior to version 8.4 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.

Database specific
{
    "nvd_published_at": "2024-03-07T21:15:08Z",
    "severity": "CRITICAL",
    "github_reviewed_at": "2024-03-07T22:39:27Z",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-22",
        "CWE-31",
        "CWE-502"
    ]
}
References

Affected packages

PyPI / pgadmin4

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8.4

Affected versions

4.*

4.20
4.22
4.23
4.24
4.25
4.26
4.27
4.28
4.29
4.30

5.*

5.0
5.1
5.2
5.3
5.4
5.5
5.6
5.7

6.*

6.2
6.3
6.4
6.5
6.6
6.7
6.8
6.9
6.10
6.11
6.12
6.13
6.14
6.15
6.16
6.17
6.18
6.19
6.20
6.21

7.*

7.0
7.1
7.2
7.3
7.4
7.5
7.6
7.7
7.8

8.*

8.0
8.1
8.2
8.3