{"answers":{"affected":"4 open source packages ship an affected version, including com.mysql:mysql-connector-j and mysql:mysql-connector-java. It affects 2 products.","exploited":"There is no known exploitation of CVE-2023-22102 in the wild and no public exploit code.","fix":"Upgrade com.mysql:mysql-connector-j to 8.2.0 or later.","what":"CVE-2023-22102 is a high-severity vulnerability in Netapp Oncommand Insight, published on 17 Oct 2023. 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-2023-22102 and fix it if it is affected.\n\nWhat it is: CVE-2023-22102 is a high-severity vulnerability in Netapp Oncommand Insight, published on 17 Oct 2023. 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-2023-22102 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- com.mysql:mysql-connector-j (Maven): affected all versions; fixed in 8.2.0\n- com.mysql:mysql-connector-j (Maven): affected all versions; fixed in 8.2.0\n- mysql:mysql-connector-java (Maven): affected all versions up to 8.0.33; no fix listed\n- mysql:mysql-connector-java (Maven): affected all versions up to 8.0.33; no fix listed\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-2023-22102/ (Markdown: https://insights.sbomify.com/CVE-2023-22102/index.md)","id":"CVE-2023-22102","markdown":"https://insights.sbomify.com/CVE-2023-22102/index.md","name":"CVE-2023-22102","record":{"aliases":["AZL-31573","GHSA-m6vm-37g8-gqvh","ROOT-APP-MAVEN-CVE-2023-22102","UBUNTU-CVE-2023-22102"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"MySQL Connector/J","requires_auth":"none","summary":"An unauthenticated attacker can compromise MySQL Connectors via network access, potentially leading to takeover and impacting additional products.","user_interaction":"required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"oracle","cpe":[{"product":"oncommand_insight","vendor":"netapp"},{"product":"mysql_connector\\/j","vendor":"oracle"}],"cvss":{"score":8.3,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-284","name":"Improper Access Control"}],"description":"Vulnerability in the MySQL Connectors product of Oracle MySQL (component: Connector/J).  Supported versions that are affected are 8.1.0 and prior. Difficult to exploit vulnerability allows unauthenticated attacker with network access via multiple protocols to compromise MySQL Connectors.  Successful attacks require human interaction from a person other than the attacker and while the vulnerability is in MySQL Connectors, attacks may significantly impact additional products (scope change). Successful attacks of this vulnerability can result in takeover of MySQL Connectors. CVSS 3.1 Base Score 8.3 (Confidentiality, Integrity and Availability impacts).  CVSS Vector: (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H).","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"MySQL Connectors takeover vulnerability","id":"CVE-2023-22102","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"netapp:oncommand_insight","products":["netapp:oncommand_insight"],"type":"other","year":"2023"},"n_packages":4,"n_references":2,"next":{"headline":"Denial of service in MySQL Server","id":"CVE-2023-22103"},"packages":[{"ecosystem":"Maven","fixed":["8.2.0"],"introduced":["0"],"last_affected":[],"package":"com.mysql:mysql-connector-j","purl":null,"source":"GHSA-m6vm-37g8-gqvh"},{"ecosystem":"Maven","fixed":["8.2.0"],"introduced":["0"],"last_affected":[],"package":"com.mysql:mysql-connector-j","purl":"pkg:maven/com.mysql/mysql-connector-j","source":"GHSA-m6vm-37g8-gqvh"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["8.0.33"],"package":"mysql:mysql-connector-java","purl":null,"source":"GHSA-m6vm-37g8-gqvh"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["8.0.33"],"package":"mysql:mysql-connector-java","purl":"pkg:maven/mysql/mysql-connector-java","source":"GHSA-m6vm-37g8-gqvh"}],"prev":{"headline":"Auth bypass in WebLogic Server","id":"CVE-2023-22101"},"products":["MySQL Connectors"],"published":"2023-10-17","related":[{"cvss_score":9.8,"headline":"Hardcoded credentials in n/a","id":"CVE-2017-5600","kev_date_added":null,"published":"2017-02-02"},{"cvss_score":8.8,"headline":"Spring Framework when used in combination with any versions of Spring Security contains an authorization bypass","id":"CVE-2018-1258","kev_date_added":null,"published":"2018-05-11"},{"cvss_score":8.7,"headline":"RFD Protection Bypass via jsessionid","id":"CVE-2020-5421","kev_date_added":null,"published":"2020-09-19"},{"cvss_score":8.6,"headline":"Auth bypass in OnCommand Insight","id":"CVE-2022-38733","kev_date_added":null,"published":"2022-12-20"},{"cvss_score":7.5,"headline":"Denial of service in MySQL Server","id":"CVE-2021-35583","kev_date_added":null,"published":"2021-10-20"},{"cvss_score":7.5,"headline":"RESTEasy 4.5.5.Final in hash flooding","id":"CVE-2020-14326","kev_date_added":null,"published":"2021-06-02"}],"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)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-03-06","vendors":["Oracle Corporation"]},"summary":"An unauthenticated attacker can compromise MySQL Connectors via network access, potentially leading to takeover and impacting additional products.","url":"https://insights.sbomify.com/CVE-2023-22102/"}