{"answers":{"affected":"2 open source packages ship an affected version, including com.amazon.redshift:redshift-jdbc42. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-41828 in the wild and no public exploit code.","fix":"Upgrade com.amazon.redshift:redshift-jdbc42 to 2.1.0.8 or later.","what":"CVE-2022-41828 is a high-severity unsafe deserialization vulnerability in n/a, published on 29 Sep 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2022-41828 and fix it if it is affected.\n\nWhat it is: CVE-2022-41828 is a high-severity unsafe deserialization vulnerability in n/a, published on 29 Sep 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2022-41828 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- com.amazon.redshift:redshift-jdbc42 (Maven): affected all versions; fixed in 2.1.0.8\n- com.amazon.redshift:redshift-jdbc42 (Maven): affected all versions; fixed in 2.1.0.8\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-41828/ (Markdown: https://insights.sbomify.com/CVE-2022-41828/index.md)","id":"CVE-2022-41828","markdown":"https://insights.sbomify.com/CVE-2022-41828/index.md","name":"CVE-2022-41828","record":{"aliases":["GHSA-jc69-hjw2-fm86"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Redshift JDBC Driver","requires_auth":"none","summary":"An attacker can execute arbitrary code by exploiting unsafe object instantiation in the Redshift JDBC driver.","user_interaction":"required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"amazon_web_services_redshift_java_database_connectivity_driver","vendor":"amazon"}],"cvss":{"score":8.8,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-704","name":"Incorrect Type Conversion or Cast"}],"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.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":"2022-12-09","github_poc":1,"max_poc_stars":4,"metasploit":0,"nuclei":0,"refs":[{"date":"2022-12-09T10:35:33Z","kind":"github_poc","ref":"https://github.com/murataydemir/CVE-2022-41828","stars":4,"title":"[CVE-2022-41828] Amazon AWS Redshift JDBC Driver Remote Code Execution (RCE)"}],"tier":"poc_unverified"},"has_fix":true,"headline":"com.amazon.redshift:redshift-jdbc42 vulnerable to remote command execution","id":"CVE-2022-41828","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"deserialization","year":"2022"},"n_packages":2,"n_references":2,"next":{"headline":"Cross-site scripting in Kyocera Document Solutions MFPs and printers","id":"CVE-2022-41830"},"packages":[{"ecosystem":"Maven","fixed":["2.1.0.8"],"introduced":["0"],"last_affected":[],"package":"com.amazon.redshift:redshift-jdbc42","purl":null,"source":"GHSA-jc69-hjw2-fm86"},{"ecosystem":"Maven","fixed":["2.1.0.8"],"introduced":["0"],"last_affected":[],"package":"com.amazon.redshift:redshift-jdbc42","purl":"pkg:maven/com.amazon.redshift/redshift-jdbc42","source":"GHSA-jc69-hjw2-fm86"}],"prev":{"headline":"Potential XSS in history view","id":"CVE-2022-41814"},"products":["n/a"],"published":"2022-09-29","related":[{"cvss_score":8.6,"headline":"SQL Injection in the Amazon Redshift JDBC Driver affecting v2.1.0.31","id":"CVE-2024-12744","kev_date_added":null,"published":"2024-12-24"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-05-20","vendors":["n/a"]},"summary":"An attacker can execute arbitrary code by exploiting unsafe object instantiation in the Redshift JDBC driver.","url":"https://insights.sbomify.com/CVE-2022-41828/"}