{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-8007 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2018-8007 is a high-severity vulnerability in Apache CouchDB, published on 11 Jul 2018. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-8007 and fix it if it is affected.\n\nWhat it is: CVE-2018-8007 is a high-severity vulnerability in Apache CouchDB, published on 11 Jul 2018. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2018-8007 in the wild and no public exploit code.\n\nAffected product: Apache CouchDB. 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-2018-8007/ (Markdown: https://insights.sbomify.com/CVE-2018-8007/index.md)","id":"CVE-2018-8007","markdown":"https://insights.sbomify.com/CVE-2018-8007/index.md","name":"CVE-2018-8007","record":{"aliases":["GHSA-mqj2-xj98-r5xp","SUSE-SU-2018:2765-1","UBUNTU-CVE-2018-8007"],"analysis":{"component_type":"database","fix_type":"upgrade","impacts":["privilege_escalation","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Apache CouchDB","requires_auth":"high_privilege","summary":"A CouchDB administrator can bypass configuration restrictions to escalate privileges and execute arbitrary code on the host system.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"couchdb","vendor":"apache"}],"cvss":{"score":7.2,"severity":"high","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"Apache CouchDB administrative users can configure the database server via HTTP(S). Due to insufficient validation of administrator-supplied configuration settings via the HTTP API, it is possible for a CouchDB administrator user to escalate their privileges to that of the operating system's user that CouchDB runs under, by bypassing the blacklist of configuration settings that are not allowed to be modified via the HTTP API. This privilege escalation effectively allows an existing CouchDB admin user to gain arbitrary remote code execution, bypassing already disclosed CVE-2017-12636. Mitigation: All users should upgrade to CouchDB releases 1.7.2 or 2.1.2.","ecosystems":["SUSE:OpenStack Cloud Crowbar 8"],"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 Apache CouchDB","id":"CVE-2018-8007","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"privilege_escalation","year":"2018"},"n_packages":1,"n_references":9,"next":{"headline":"ZipSlip in org.apache.storm:storm-core","id":"CVE-2018-8008"},"packages":[{"ecosystem":"SUSE:OpenStack Cloud Crowbar 8","fixed":["1.7.2-3.3.1"],"introduced":["0"],"last_affected":[],"package":"couchdb","purl":"pkg:rpm/suse/couchdb\u0026distro=SUSE%20OpenStack%20Cloud%20Crowbar%208","source":"SUSE-SU-2018:2765-1"}],"prev":{"headline":"Apache ActiveMQ web console vulnerable to Cross-site Scripting","id":"CVE-2018-8006"},"products":["Apache CouchDB"],"published":"2018-07-11","related":[{"cvss_score":9.8,"headline":"Apache CouchDB Insecure Default Initialization of Resource","id":"CVE-2022-24706","kev_date_added":"2022-08-25","published":"2022-04-26"},{"cvss_score":9.8,"headline":"Auth bypass in Apache CouchDB","id":"CVE-2020-1955","kev_date_added":null,"published":"2020-05-20"},{"cvss_score":9.8,"headline":"Privilege escalation in Apache CouchDB","id":"CVE-2017-12635","kev_date_added":null,"published":"2017-11-14"},{"cvss_score":7.8,"headline":"Code injection in n/a","id":"CVE-2018-14889","kev_date_added":null,"published":"2018-09-21"},{"cvss_score":7.8,"headline":"Privilege escalation in Apache CouchDB","id":"CVE-2016-8742","kev_date_added":null,"published":"2018-02-12"},{"cvss_score":7.3,"headline":"Privilege escalation vulnerability when using HTML attachments","id":"CVE-2021-38295","kev_date_added":null,"published":"2021-10-14"},{"cvss_score":7.2,"headline":"Code injection in Apache CouchDB","id":"CVE-2018-17188","kev_date_added":null,"published":"2019-01-02"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-16","vendors":["Apache Software Foundation"]},"summary":"A CouchDB administrator can bypass configuration restrictions to escalate privileges and execute arbitrary code on the host system.","url":"https://insights.sbomify.com/CVE-2018-8007/"}