{"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-2017-3586 in the wild and no public exploit code.","fix":"Upgrade mysql:mysql-connector-java to 5.1.42 or later.","what":"CVE-2017-3586 is a medium-severity missing authorization vulnerability in Oracle Corporation MySQL Connectors, published on 24 Apr 2017. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2017-3586 and fix it if it is affected.\n\nWhat it is: CVE-2017-3586 is a medium-severity missing authorization vulnerability in Oracle Corporation MySQL Connectors, published on 24 Apr 2017. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2017-3586 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 5.1.42\n- mysql:mysql-connector-java (Maven): affected all versions; fixed in 5.1.42\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-2017-3586/ (Markdown: https://insights.sbomify.com/CVE-2017-3586/index.md)","id":"CVE-2017-3586","markdown":"https://insights.sbomify.com/CVE-2017-3586/index.md","name":"CVE-2017-3586","record":{"aliases":["GHSA-pwh7-92h3-mqr6","UBUNTU-CVE-2017-3586"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"MySQL Connector/J","requires_auth":"low_privilege","summary":"Low-privileged attackers can bypass authorization to read, update, insert, or delete data via MySQL Connector/J.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"oracle","cpe":[{"product":"mysql_connectors","vendor":"oracle"}],"cvss":{"score":6.4,"severity":"medium","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","version":"3.0"},"cwes":[],"description":"Vulnerability in the MySQL Connectors component of Oracle MySQL (subcomponent: Connector/J). Supported versions that are affected are 5.1.41 and earlier. Easily \"exploitable\" vulnerability allows low privileged attacker with network access via multiple protocols to compromise MySQL Connectors. While the vulnerability is in MySQL Connectors, attacks may significantly impact additional products. Successful attacks of this vulnerability can result in unauthorized update, insert or delete access to some of MySQL Connectors accessible data as well as unauthorized read access to a subset of MySQL Connectors accessible data. CVSS 3.0 Base Score 6.4 (Confidentiality and Integrity impacts). CVSS Vector: (CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N).","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":"Exposure of Sensitive Information to an Unauthorized Actor in Oracle MySQL Connectors Java","id":"CVE-2017-3586","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"missing_authorization","year":"2017"},"n_packages":2,"n_references":5,"next":{"headline":"Missing authorization in Oracle VM VirtualBox","id":"CVE-2017-3587"},"packages":[{"ecosystem":"Maven","fixed":["5.1.42"],"introduced":["0"],"last_affected":[],"package":"mysql:mysql-connector-java","purl":null,"source":"GHSA-pwh7-92h3-mqr6"},{"ecosystem":"Maven","fixed":["5.1.42"],"introduced":["0"],"last_affected":[],"package":"mysql:mysql-connector-java","purl":"pkg:maven/mysql/mysql-connector-java","source":"GHSA-pwh7-92h3-mqr6"}],"prev":{"headline":"Missing authorization in Sun ZFS Storage Appliance Kit (AK) Software","id":"CVE-2017-3585"},"products":["MySQL Connectors"],"published":"2017-04-24","related":[{"cvss_score":6.6,"headline":"Improper Handling of Insufficient Permissions or Privileges in MySQL Connectors Java","id":"CVE-2022-21363","kev_date_added":null,"published":"2022-01-19"}],"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":"partial"},"state":"PUBLISHED","updated":"2024-10-07","vendors":["Oracle Corporation"]},"summary":"Low-privileged attackers can bypass authorization to read, update, insert, or delete data via MySQL Connector/J.","url":"https://insights.sbomify.com/CVE-2017-3586/"}