GHSA-ghp8-52vx-77j4

Suggest an improvement
Source
https://github.com/advisories/GHSA-ghp8-52vx-77j4
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/09/GHSA-ghp8-52vx-77j4/GHSA-ghp8-52vx-77j4.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-ghp8-52vx-77j4
Aliases
Published
2023-09-22T15:30:15Z
Modified
2024-11-28T05:35:06.562645Z
Severity
  • 6.0 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:H/A:H CVSS Calculator
Summary
pgAdmin failed to properly control the server code
Details

A flaw was found in pgAdmin. This issue occurs when the pgAdmin server HTTP API validates the path a user selects to external PostgreSQL utilities such as pgdump and pgrestore. Versions of pgAdmin prior to 7.7 failed to properly control the server code executed on this API, allowing an authenticated user to run arbitrary commands on the server.

Database specific
{
    "nvd_published_at": "2023-09-22T14:15:47Z",
    "cwe_ids": [],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2023-09-22T20:35:36Z"
}
References

Affected packages

PyPI / pgadmin4

Package

Affected ranges

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

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