{"id":"CVE-2022-41828","aliases":["CVE-2022-41828","GHSA-jc69-hjw2-fm86"],"related":[],"kind":"vulnerability","state":"published","title":"com.amazon.redshift:redshift-jdbc42 vulnerable to remote command execution","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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":"cvelist"},{"lang":"en","text":"### Impact\n\nA 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.\n\n### Patches\n\nThis issue is patched within `redshift-jdbc-42` 2.1.0.8 and above.\n\n### Workarounds\n\nWe advise customers using plugins to upgrade to `redshift-jdbc42` version 2.1.0.8 or above. There are no known workarounds for this issue.\n\n### For more information\n\nIf you have any questions or comments about this advisory, please contact AWS Security at [aws-security@amazon.com](mailto:aws-security@amazon.com).","format":"markdown","source":"ghsa"},{"lang":"es","text":"En el controlador JDBC de Amazon AWS Redshift (también se conoce como amazon-redshift-jdbc-driver o redshift-jdbc42) versiones anteriores a 2.1.0.8, la fábrica de objetos no comprueba el tipo de clase cuando es instanciado un objeto a partir de un nombre de clase","source":"nvd"}],"published":"2022-09-29T00:00:00.000Z","modified":"2026-07-08T06:29:36.989Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:L","score":7.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"}],"cwes":["CWE-704"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.1.0.8"}],"ecosystem":"Maven","package":"com.amazon.redshift:redshift-jdbc42","purl":"pkg:maven/com.amazon.redshift/redshift-jdbc42","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.1.0.8"}],"vendor":"amazon","product":"amazon_web_services_redshift_java_database_connectivity_driver","cpe":"cpe:2.3:a:amazon:amazon_web_services_redshift_java_database_connectivity_driver:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/aws/amazon-redshift-jdbc-driver/commit/40b143b4698faf90c788ffa89f2d4d8d2ad068b5","tags":["patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/aws/amazon-redshift-jdbc-driver/security/advisories/GHSA-jc69-hjw2-fm86","tags":["third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-41828","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/aws/amazon-redshift-jdbc-driver/commit/9999659bbc9f3d006fb02a0bf39d5bcf3b503605","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/aws/amazon-redshift-jdbc-driver","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-05-20T19:50:20.097Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-41828","url":"https://www.cve.org/CVERecord?id=CVE-2022-41828","licence":"CVE Terms of Use","modified":"2025-05-20T19:50:56.010Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-jc69-hjw2-fm86","url":"https://github.com/advisories/GHSA-jc69-hjw2-fm86","licence":"CC-BY-4.0","modified":"2026-07-08T06:29:36.989Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-41828","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-41828","licence":"Public domain","modified":"2026-06-17T05:03:52.940Z"}],"updatedAt":"2026-11-25T22:58:15.378Z","epss":{"score":0.01965,"percentile":0.80995,"date":"2026-12-02T12:00:21.000Z"}}