CyberSecBulletin
CVE-2022-41828NVD status: Modified

Amazon Web Services Redshift Java Database…: Incorrect Type Conversion or Cast

CVE-2022-41828 is a high-severity incorrect type conversion or cast vulnerability in Amazon Web Services Redshift Java Database Connectivity Driver from Amazon, with a CVSS 3.1 base score of 8.1 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. The record lists version 2.1.0.8 as the first without the flaw, so updating Amazon Web Services Redshift Java Database Connectivity Driver to that release or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 1.92% chance of exploitation within 30 days, higher than 80% of scored CVEs.

Next patch cycle

High severity with no evidence of exploitation so far.

What to do

  1. Update Amazon Web Services Redshift Java Database Connectivity Driver to 2.1.0.8 or a later version.
  2. Read the advisory on github.com for workarounds and exact fixed builds.
  3. Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.

Affected products and versions

VendorProductAffected versionsFixed in
AmazonAmazon Web Services Redshift Java Database Connectivity Driverbefore 2.1.0.82.1.0.8

Version data comes from NVD's product matching. Confirm against the vendor advisory before deciding you are unaffected.

How the severity score breaks down

Attack vector
NetworkCan be exploited remotely over a network, including the internet.
Attack complexity
HighSuccess depends on conditions outside the attacker's control.
Privileges required
NoneNo account or login is needed.
User interaction
NoneNo action by a victim is required.
Scope
UnchangedImpact stays within the vulnerable component.
Confidentiality
HighAll data handled by the component can be read.
Integrity
HighData or code can be modified at will.
Availability
HighThe component can be taken down completely.

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H. Scored by NVD.

Scoring systemScoreSeverityScored by
CVSS 3.18.1HighNVD
CVSS 3.18.8HighCISA (ADP)

Official description

In Amazon AWS Redshift JDBC Driver (aka amazon-redshift-jdbc-driver or redshift-jdbc42) before 2.1.0.8, the Object Factory does not check the class type when instantiating an object from a class name.

Source: the CVE record as published by its numbering authority, via NVD and CVE.org.

The underlying weakness: Incorrect Type Conversion or Cast

The product does not correctly convert an object, resource, or structure from one type to a different type.

More Incorrect Type Conversion or Cast vulnerabilities (CWE-704)

Timeline

  1. CVE record published.
  2. CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: partial).
  3. Record last changed materially (score, affected products, status or references).

References

Other vulnerabilities in Amazon Web Services Redshift Java Database Connectivity Driver

All Amazon Web Services Redshift Java Database Connectivity Driver vulnerabilities

Recent Incorrect Type Conversion or Cast vulnerabilities

Spotted an error? Tell us.