7.5high
PgHero Allows Information Disclosure Through EXPLAIN Feature
- Severity
- 7.5high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.87% (higher than 59% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-vf99-xw26-86g5
Description
PgHero before 3.1.0 allows Information Disclosure via EXPLAIN because query results may be present in an error message. (Depending on database user privileges, this may only be information from the database, or may be information from file contents on the database server.)
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| pghero (RubyGems) | before 3.1.0 | GitHub Advisory Database |
| pghero_project pghero | from 0.1.1 before 3.1.0 | NVD |
All scores
| CISA-ADP | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
PgHero before 3.1.0 allows Information Disclosure via EXPLAIN because query results may be present in an error message. (Depending on database user privileges, this may only be information from the database, or may be information from file contents on the database server.)
NVD (es)
PgHero anterior a 3.1.0 permite la divulgación de información a través de EXPLAIN porque los resultados de la consulta pueden aparecer en un mensaje de error. (Dependiendo de los privilegios del usuario de la base de datos, esto puede ser solo información de la base de datos o puede ser información del contenido del archivo en el servidor de la base de datos).
References
| https://github.com/ankane/pghero/issues/439 | exploit, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2023-22626 | advisory | |
| https://github.com/ankane/pghero | package | |
| https://github.com/rubysec/ruby-advisory-db/blob/master/gems/pghero/CVE-2023-22626.yml | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-22626 changed 2025-04-07 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-vf99-xw26-86g5 changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2023-22626 changed 2026-06-17 | Public domain |