Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') Affecting com.amazon.redshift:redshift-jdbc42 package, versions [,2.2.2)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.07% (21st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-COMAMAZONREDSHIFT-16624667
  • published10 May 2026
  • disclosed8 May 2026
  • creditFushuling

Introduced: 8 May 2026

NewCVE-2026-8178  (opens in a new tab)
CWE-470  (opens in a new tab)

How to fix?

Upgrade com.amazon.redshift:redshift-jdbc42 to version 2.2.2 or higher.

Overview

Affected versions of this package are vulnerable to Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') via the processing of JDBC connection URL parameters. An attacker can execute arbitrary code by supplying a crafted connection URL that causes the loading and execution of malicious classes present on the application's classpath.

CVSS Base Scores

version 4.0
version 3.1