Information Disclosure Through EXPLAIN Feature
Published: January 04, 2023
SECURITY IDENTIFIERS
- CVE: CVE-2023-22626 (NVD)
- GHSA: GHSA-vf99-xw26-86g5
- Vendor Advisory: https://github.com/ankane/pghero/issues/439
GEM
SEVERITY
CVSS v3.x: 7.5 (High)
PATCHED VERSIONS
>= 3.1.0
DESCRIPTION
A malicious PgHero user can use the EXPLAIN functionality to extract data from the database. With certain inputs, a user can get the results of a query to appear in an error message. If the PgHero database user has superuser privileges (not recommended), the user can use file access functions to read files on the database server.
