CVE-2022-4223 pgadmin4 vulnerable to Code Injection
HighCVSS 8.8
EPSS 80.1%
Scanner template
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
Description
The pgAdmin server includes an HTTP API that is intended to be used to validate the path a user selects to external PostgreSQL utilities such as pg_dump and pg_restore. The utility is executed by the server to determine what PostgreSQL version it is from. Versions of pgAdmin prior to 6.17 failed to properly secure this API, which could allow an unauthenticated user to call it with a path of their choosing, such as a UNC path to a server they control on a Windows machine. This would cause an appropriately named executable in the target path to be executed by the pgAdmin server.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pgadmin 4 | < 6.17 | 6.17 | Fixed |
| pypi pgadmin4(PyPI) | < 6.17; = 4.20; = 4.22; = 4.23 +30 more | 6.17 | Fixed |
| fedoraproject fedora | = 37 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi pgadmin4(PyPI) | < 6.17 | 6.17 |
| pypi pgadmin4(PyPI) | = 4.20 | No fix listed |
| pypi pgadmin4(PyPI) | = 4.22 | No fix listed |
| pypi pgadmin4(PyPI) | = 4.23 | No fix listed |
| pypi pgadmin4(PyPI) | = 4.24 | No fix listed |
| pypi pgadmin4(PyPI) | = 4.25 | No fix listed |
| pypi pgadmin4(PyPI) | = 4.26 | No fix listed |
| pypi pgadmin4(PyPI) | = 4.27 | No fix listed |
| pypi pgadmin4(PyPI) | = 4.28 | No fix listed |
| pypi pgadmin4(PyPI) | = 4.29 | No fix listed |
| pypi pgadmin4(PyPI) | = 4.30 | No fix listed |
| pypi pgadmin4(PyPI) | = 5.0 | No fix listed |
| pypi pgadmin4(PyPI) | = 5.1 | No fix listed |
| pypi pgadmin4(PyPI) | = 5.2 | No fix listed |
| pypi pgadmin4(PyPI) | = 5.3 | No fix listed |
| pypi pgadmin4(PyPI) | = 5.4 | No fix listed |
| pypi pgadmin4(PyPI) | = 5.5 | No fix listed |
| pypi pgadmin4(PyPI) | = 5.6 | No fix listed |
| pypi pgadmin4(PyPI) | = 5.7 | No fix listed |
| pypi pgadmin4(PyPI) | = 6.10 | No fix listed |
| pypi pgadmin4(PyPI) | = 6.11 | No fix listed |
| pypi pgadmin4(PyPI) | = 6.12 | No fix listed |
| pypi pgadmin4(PyPI) | = 6.13 | No fix listed |
| pypi pgadmin4(PyPI) | = 6.14 | No fix listed |
| pypi pgadmin4(PyPI) | = 6.15 | No fix listed |
Show 11 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi pgadmin4(PyPI) | = 6.16 | No fix listed |
| pypi pgadmin4(PyPI) | = 6.2 | No fix listed |
| pypi pgadmin4(PyPI) | = 6.3 | No fix listed |
| pypi pgadmin4(PyPI) | = 6.4 | No fix listed |
| pypi pgadmin4(PyPI) | = 6.5 | No fix listed |
| pypi pgadmin4(PyPI) | = 6.6 | No fix listed |
| pypi pgadmin4(PyPI) | = 6.7 | No fix listed |
| pypi pgadmin4(PyPI) | = 6.8 | No fix listed |
| pypi pgadmin4(PyPI) | = 6.9 | No fix listed |
| pgadmin 4 | < 6.17 | 6.17 |
| fedoraproject fedora | = 37 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com third-party-advisory
- github.com product
- FEDORA-2022-2d5a6f48e1 mailing-list vendor-advisory
- lists.fedoraproject.org
- pypi.org product
- github.com vendor-advisory