Vulnerability in com.amazon.redshift:redshift-jdbc42 (CVE-2022-41828)
Summary
Vulnerability in com.amazon.redshift:redshift-jdbc42 (CVE-2022-41828). Confidential information can be exposed externally. Exploitable via sslhostnameverifier. Mitigation: upgrade to 2.1.0.8 or later.
Original description
The description as published by the source.
Impact
A potential remote command execution issue exists within redshift-jdbc42 versions 2.1.0.7 and below. When plugins are used with the driver, it instantiates plugin instances based on Java class names provided via the sslhostnameverifier, socketFactory, sslfactory, and sslpasswordcallback connection properties. In affected versions, the driver does not verify if a plugin class implements the expected interface before instantiatiaton. This can lead to loading of arbitrary Java classes, which a knowledgeable attacker with control over the JDBC URL can use to achieve remote code execution.
Patches
This issue is patched within redshift-jdbc-42 2.1.0.8 and above.
Workarounds
We advise customers using plugins to upgrade to redshift-jdbc42 version 2.1.0.8 or above. There are no known workarounds for this issue.
For more information
If you have any questions or comments about this advisory, please contact AWS Security at aws-security@amazon.com.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as CVE-2022-41828 has been found in com.amazon.redshift:redshift-jdbc42.
Attackers can target a specific entry point like sslhostnameverifier over the network to misuse the product.
Confidential information can be exposed externally.
What to do: upgrade com.amazon.redshift:redshift-jdbc42 to 2.1.0.8 or later.
If unsure, ask your IT team or search "com.amazon.redshift:redshift-jdbc42 CVE-2022-41828" on the vendor's site.
CVE-2022-41828 (com.amazon.redshift:redshift-jdbc42) — CWE-704
Attack vector: remote (network-reachable)
Attack surface: sslhostnameverifier / socketFactory / sslfactory / sslpasswordcallback
Patched: 2.1.0.8 — apply immediately
Workaround: We advise customers using plugins to upgrade to redshift-jdbc42 version 2.1.0.8 or above.
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (CWE-704) exists in com.amazon.redshift:redshift-jdbc42. Attackers reach the vulnerable code path via sslhostnameverifier.
Check the vendor advisory for the affected versions of com.amazon.redshift:redshift-jdbc42. Attack surface: sslhostnameverifier / socketFactory / sslfactory / sslpasswordcallback.
Severity: ?. Confidential information can be exposed externally.
Update to 2.1.0.8.
Workaround: We advise customers using plugins to upgrade to redshift-jdbc42 version 2.1.0.8 or above.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Audit SBOM/dependencies to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1Identify exposure identify
Audit SBOM/dependencies for affected components.資産台帳・SBOM・依存マニフェストで com.amazon.redshift:redshift-jdbc42 を使っているサービスとバージョンを洗い出す。
-
2Apply temporary workaround mitigate
We advise customers using plugins to upgrade to `redshift-jdbc42` version 2.1.0.8 or above.パッチが適用されるまでの応急処置として、We advise customers using plugins to upgrade to
redshift-jdbc42version 2.1.0.8 or above. を実施。回避策の副作用 (機能低下) を確認した上で。 -
3Apply patch patch
Upgrade com.amazon.redshift:redshift-jdbc42 to 2.1.0.8ステージング環境で 2.1.0.8 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
4Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
References
- advisory nvd.nist.gov
- package github.com
- web github.com
- web github.com
- web github.com