{"answers":{"affected":"2 open source packages ship an affected version, including org.apache.derby:derby. It affects 1 product.","exploited":"There is no known exploitation of CVE-2006-7217 in the wild and no public exploit code.","fix":"Upgrade org.apache.derby:derby to 10.2.1.6 or later.","what":"CVE-2006-7217 is a medium-severity missing authorization vulnerability in n/a, published on 5 Jul 2007. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2006-7217 and fix it if it is affected.\n\nWhat it is: CVE-2006-7217 is a medium-severity missing authorization vulnerability in n/a, published on 5 Jul 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-2006-7217 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.derby:derby (Maven): affected all versions; fixed in 10.2.1.6\n- org.apache.derby:derby (Maven): affected all versions; fixed in 10.2.1.6\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-2006-7217/ (Markdown: https://insights.sbomify.com/CVE-2006-7217/index.md)","id":"CVE-2006-7217","markdown":"https://insights.sbomify.com/CVE-2006-7217/index.md","name":"CVE-2006-7217","record":{"aliases":["GHSA-v7cq-pq7v-mh5v"],"analysis":{"component_type":"database","fix_type":"upgrade","impacts":["data_modify"],"network_reachable":"yes","non_default_config":true,"product_category":"Apache Derby database","requires_auth":"low_privilege","summary":"Authenticated users can bypass schema privilege checks to drop arbitrary schemas in Apache Derby when SQL authorization is enabled.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"derby","vendor":"apache"}],"cvss":{"score":4,"severity":"medium","source":"nvd","vector":"AV:N/AC:L/Au:S/C:N/I:P/A:N","version":"2.0"},"cwes":[],"description":"Apache Derby before 10.2.1.6 does not determine schema privilege requirements during the DropSchemaNode bind phase, which allows remote authenticated users to execute arbitrary drop schema statements in SQL authorization mode.","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":"Apache Derby SQL Injection","id":"CVE-2006-7217","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"missing_authorization","year":"2006"},"n_packages":2,"n_references":4,"next":{"headline":"Missing authorization in n/a","id":"CVE-2006-7218"},"packages":[{"ecosystem":"Maven","fixed":["10.2.1.6"],"introduced":["0"],"last_affected":[],"package":"org.apache.derby:derby","purl":null,"source":"GHSA-v7cq-pq7v-mh5v"},{"ecosystem":"Maven","fixed":["10.2.1.6"],"introduced":["0"],"last_affected":[],"package":"org.apache.derby:derby","purl":"pkg:maven/org.apache.derby/derby","source":"GHSA-v7cq-pq7v-mh5v"}],"prev":{"headline":"Missing authorization in n/a","id":"CVE-2006-7216"},"products":["n/a"],"published":"2007-07-05","related":[{"cvss_score":9.8,"headline":"Apache Derby: LDAP injection vulnerability in authenticator","id":"CVE-2022-46337","kev_date_added":null,"published":"2023-11-20"},{"cvss_score":9.1,"headline":"Improper Restriction of XML External Entity Reference in Apace Derby","id":"CVE-2015-1832","kev_date_added":null,"published":"2016-10-03"},{"cvss_score":7.5,"headline":"Improper Access Control in Apache Derby","id":"CVE-2010-2232","kev_date_added":null,"published":"2017-10-23"},{"cvss_score":5.3,"headline":"Improper Access Control in Apache Derby","id":"CVE-2018-1313","kev_date_added":null,"published":"2018-05-07"},{"cvss_score":5,"headline":"Apache Derby exposes user and password attributes","id":"CVE-2005-4849","kev_date_added":null,"published":"2007-07-05"},{"cvss_score":4,"headline":"Missing authorization in n/a","id":"CVE-2006-7216","kev_date_added":null,"published":"2007-07-05"}],"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-07","vendors":["n/a"]},"summary":"Authenticated users can bypass schema privilege checks to drop arbitrary schemas in Apache Derby when SQL authorization is enabled.","url":"https://insights.sbomify.com/CVE-2006-7217/"}