{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2007-5970 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2007-5970 is a medium-severity vulnerability in Oracle Mysql, published on 10 Dec 2007. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2007-5970 and fix it if it is affected.\n\nWhat it is: CVE-2007-5970 is a medium-severity vulnerability in Oracle Mysql, published on 10 Dec 2007. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2007-5970 in the wild and no public exploit code.\n\nAffected product: Oracle Mysql. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-2007-5970/ (Markdown: https://insights.sbomify.com/CVE-2007-5970/index.md)","id":"CVE-2007-5970","markdown":"https://insights.sbomify.com/CVE-2007-5970/index.md","name":"CVE-2007-5970","record":{"aliases":["GHSA-4pw7-3p8h-fr77"],"analysis":{"component_type":"database","fix_type":"upgrade","impacts":["privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"MySQL database","requires_auth":"low_privilege","summary":"Authenticated users can escalate privileges on arbitrary tables by exploiting partitioned table creation with directory options.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"mysql","vendor":"oracle"}],"cvss":{"score":5.8,"severity":"medium","source":"nvd","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:N","version":"2.0"},"cwes":[],"description":"MySQL 5.1.x before 5.1.23 and 6.0.x before 6.0.4 allows remote authenticated users to gain privileges on arbitrary tables via unspecified vectors involving use of table-level DATA DIRECTORY and INDEX DIRECTORY options when creating a partitioned table with the same name as a table on which the user lacks privileges.","ecosystems":[],"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":"Privilege escalation in n/a","id":"CVE-2007-5970","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"oracle:mysql","products":["oracle:mysql"],"type":"privilege_escalation","year":"2007"},"n_packages":0,"n_references":7,"next":{"headline":"Memory corruption in n/a","id":"CVE-2007-5971"},"packages":[],"prev":{"headline":"Privilege escalation in n/a","id":"CVE-2007-5969"},"products":["n/a"],"published":"2007-12-10","related":[{"cvss_score":9.8,"headline":"Auth bypass in n/a","id":"CVE-2016-0639","kev_date_added":null,"published":"2016-04-21"},{"cvss_score":9,"headline":"Privilege escalation in n/a","id":"CVE-2003-0150","kev_date_added":null,"published":"2003-03-21"},{"cvss_score":8.5,"headline":"Denial of service in n/a","id":"CVE-2005-2572","kev_date_added":null,"published":"2005-08-16"},{"cvss_score":8,"headline":"Auth bypass in MySQL Server","id":"CVE-2020-14878","kev_date_added":null,"published":"2020-10-21"},{"cvss_score":7.8,"headline":"Memory corruption in n/a","id":"CVE-2002-0969","kev_date_added":null,"published":"2004-09-01"},{"cvss_score":7.7,"headline":"Denial of service in n/a","id":"CVE-2016-3440","kev_date_added":null,"published":"2016-07-21"},{"cvss_score":7.5,"headline":"MySQL Connector/Python connector takeover vulnerability","id":"CVE-2024-21272","kev_date_added":null,"published":"2024-10-15"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-07","vendors":["n/a"]},"summary":"Authenticated users can escalate privileges on arbitrary tables by exploiting partitioned table creation with directory options.","url":"https://insights.sbomify.com/CVE-2007-5970/"}