CVE Database›CVE-2022-31197

CVE-2022-31197

postgresql: SQL Injection in ResultSet.refreshRow() with malicious column names

Loading…

Severity

Moderate

Red Hat Product Security

8

CVSS 3.1

Review impact separately from score.

Published · August 3, 2022

Updated · October 2, 2026

Description

A flaw was found in PostgresQL. This flaw allows an attacker to benefit from a miss escaping character and leads to a SQL injection attack due to Java.sql.ResultRow.refreshRow() implementation from PGSQL.

Statement

User applications that do not invoke the ResultSet.refreshRow() method are not impacted. Red Hat Fuse 7 is now in Maintenance Support Phase and details about its fix should be presented soon. However, Red Hat Fuse Online (Syndesis) does will not contain the fix for this flaw.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

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

CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')