Skip to content

PgHero Allows Information Disclosure Through EXPLAIN Feature

High severity GitHub Reviewed Published Jan 5, 2023 to the GitHub Advisory Database • Updated Jan 27, 2023

Package

bundler pghero (RubyGems)

Affected versions

< 3.1.0

Patched versions

3.1.0

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.)

References

Published by the National Vulnerability Database Jan 5, 2023
Published to the GitHub Advisory Database Jan 5, 2023
Reviewed Jan 9, 2023
Last updated Jan 27, 2023

Severity

High
7.5
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Weaknesses

CVE ID

CVE-2023-22626

GHSA ID

GHSA-vf99-xw26-86g5

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.