Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. pgadmin4
  4. ›
  5. CVE-2022-0959

CVE-2022-0959: Unrestricted Upload of File with Dangerous Type

March 17, 2022 (updated June 30, 2023)

A malicious, but authorised and authenticated user can construct an HTTP request using their existing CSRF token and session cookie to manually upload files to any location that the operating system user account under which pgAdmin is running has permission to write.

References

  • bugzilla.redhat.com/show_bug.cgi?id=2063759
  • github.com/advisories/GHSA-cr8c-972v-rmp3
  • github.com/pgadmin-org/pgadmin4/commit/dccd4f0bbaafa783d9f0360c7592b128d5cc3928
  • nvd.nist.gov/vuln/detail/CVE-2022-0959

Code Behaviors & Features

Detect and mitigate CVE-2022-0959 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 6.7

Fixed versions

  • 6.7

Solution

Upgrade to version 6.7 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-352: Cross-Site Request Forgery (CSRF)
  • CWE-434: Unrestricted Upload of File with Dangerous Type

Source file

pypi/pgadmin4/CVE-2022-0959.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:58 +0000.