{ "CVE_data_meta": { "ASSIGNER": "security@apache.org", "ID": "CVE-2021-38295", "STATE": "PUBLIC", "TITLE": "Privilege escalation vulnerability when using HTML attachments" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "Apache CouchDB", "version": { "version_data": [ { "version_affected": "<", "version_name": "Apache CouchDB", "version_value": "3.1.2" } ] } } ] }, "vendor_name": "Apache Software Foundation" }, { "product": { "product_data": [ { "product_name": "IBM Cloudant", "version": { "version_data": [ { "version_affected": "<", "version_name": "IBM Cloudant", "version_value": "8201" } ] } } ] }, "vendor_name": "Apache Software Foundation" } ] } }, "credit": [ { "lang": "eng", "value": "This issue was identified by Cory Sabol of Secure Ideas." } ], "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "value": "In Apache CouchDB, a malicious user with permission to create documents in a database is able to attach a HTML attachment to a document. If a CouchDB admin opens that attachment in a browser, e.g. via the CouchDB admin interface Fauxton, any JavaScript code embedded in that HTML attachment will be executed within the security context of that admin. A similar route is available with the already deprecated _show and _list functionality. This privilege escalation vulnerability allows an attacker to add or remove data in any database or make configuration changes. This issue affected Apache CouchDB prior to 3.1.2" } ] }, "generator": { "engine": "Vulnogram 0.0.9" }, "impact": [ { "other": "low" } ], "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "Privilege escalation" } ] } ] }, "references": { "reference_data": [ { "refsource": "MISC", "url": "https://docs.couchdb.org/en/stable/cve/2021-38295.html", "name": "https://docs.couchdb.org/en/stable/cve/2021-38295.html" } ] }, "source": { "discovery": "UNKNOWN" } }