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.
High severity with no evidence of exploitation so far.
What to do
- Update Amazon Web Services Redshift Java Database Connectivity Driver to 2.1.0.8 or a later version.
- Read the advisory on github.com for workarounds and exact fixed builds.
- Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Amazon | Amazon Web Services Redshift Java Database Connectivity Driver | before 2.1.0.8 | 2.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 system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 8.1 | High | NVD |
| CVSS 3.1 | 8.8 | High | CISA (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
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: partial).
- Record last changed materially (score, affected products, status or references).
References
Advisories
Patches and release notes
Other vulnerabilities in Amazon Web Services Redshift Java Database Connectivity Driver
- 8.0 High severity
Recent Incorrect Type Conversion or Cast vulnerabilities
- 7.5 High severity
- 7.8 High severity
- 7.5 High severity
Spotted an error? Tell us.