Arbitrary Code Injection Affecting pgadmin4 package, versions [,6.17)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.32% (86th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-PGADMIN4-3160336
  • published7 Dec 2022
  • disclosed2 Dec 2022
  • creditAkshay Joshi

Introduced: 2 Dec 2022

CVE-2022-4223  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade pgadmin4 to version 6.17 or higher.

Overview

pgadmin4 is a PostgreSQL Tools

Affected versions of this package are vulnerable to Arbitrary Code Injection by allowing an unauthenticated user to call an HTTP API 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.

Note:

This issue does not affect users running pgAdmin in desktop mode.

CVSS Scores

version 3.1