{"answers":{"affected":"2 open source packages ship an affected version, including mysql:mysql-connector-java. It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-3258 in the wild and no public exploit code.","fix":"Upgrade mysql:mysql-connector-java to 8.0.13 or later.","what":"CVE-2018-3258 is a high-severity vulnerability in Oracle Corporation MySQL Connectors, published on 17 Oct 2018. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-3258 and fix it if it is affected.\n\nWhat it is: CVE-2018-3258 is a high-severity vulnerability in Oracle Corporation MySQL Connectors, published on 17 Oct 2018. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2018-3258 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- mysql:mysql-connector-java (Maven): affected all versions; fixed in 8.0.13\n- mysql:mysql-connector-java (Maven): affected all versions; fixed in 8.0.13\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-2018-3258/ (Markdown: https://insights.sbomify.com/CVE-2018-3258/index.md)","id":"CVE-2018-3258","markdown":"https://insights.sbomify.com/CVE-2018-3258/index.md","name":"CVE-2018-3258","record":{"aliases":["GHSA-4vrv-ch96-6h42"],"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":"low_privilege","summary":"A vulnerability in MySQL Connector/J allows low-privileged attackers to compromise the connector, leading to full takeover via network access.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"oracle","cpe":[{"product":"connector\\/j","vendor":"oracle"}],"cvss":{"score":8.8,"severity":"high","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[],"description":"Vulnerability in the MySQL Connectors component of Oracle MySQL (subcomponent: Connector/J). Supported versions that are affected are 8.0.12 and prior. Easily exploitable vulnerability allows low privileged attacker with network access via multiple protocols to compromise MySQL Connectors. Successful attacks of this vulnerability can result in takeover of MySQL Connectors. CVSS 3.0 Base Score 8.8 (Confidentiality, Integrity and Availability impacts). CVSS Vector: (CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/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":"Improper Privilege Management in MySQL Connectors Java","id":"CVE-2018-3258","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"other","year":"2018"},"n_packages":2,"n_references":5,"next":{"headline":"Vulnerability in the Java VM component of Oracle Database Server.","id":"CVE-2018-3259"},"packages":[{"ecosystem":"Maven","fixed":["8.0.13"],"introduced":["0"],"last_affected":[],"package":"mysql:mysql-connector-java","purl":null,"source":"GHSA-4vrv-ch96-6h42"},{"ecosystem":"Maven","fixed":["8.0.13"],"introduced":["0"],"last_affected":[],"package":"mysql:mysql-connector-java","purl":"pkg:maven/mysql/mysql-connector-java","source":"GHSA-4vrv-ch96-6h42"}],"prev":{"headline":"Cross-site scripting in PeopleSoft Enterprise PT PeopleTools","id":"CVE-2018-3257"},"products":["MySQL Connectors"],"published":"2018-10-17","related":[{"cvss_score":8.5,"headline":"Improper Access Control in MySQL Connectors Java","id":"CVE-2017-3523","kev_date_added":null,"published":"2017-04-24"},{"cvss_score":3.3,"headline":"Exposure of Sensitive Information to an Unauthorized Actor in Oracle MySQL Connectors Java","id":"CVE-2017-3589","kev_date_added":null,"published":"2017-04-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":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-10-02","vendors":["Oracle Corporation"]},"summary":"A vulnerability in MySQL Connector/J allows low-privileged attackers to compromise the connector, leading to full takeover via network access.","url":"https://insights.sbomify.com/CVE-2018-3258/"}