Bug 1191991 (CVE-2021-38295) - VUL-0: CVE-2021-38295: couchdb: Apache CouchDB <= 3.1.1 privilege escalation
Summary: VUL-0: CVE-2021-38295: couchdb: Apache CouchDB <= 3.1.1 privilege escalation
Status: RESOLVED FIXED
Alias: CVE-2021-38295
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P4 - Low : Minor
Target Milestone: ---
Assignee: Zdenek Kubala
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/312325/
Whiteboard: CVSSv3.1:SUSE:CVE-2021-38295:7.3:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-25 09:12 UTC by Martin Rey
Modified: 2022-06-13 14:14 UTC (History)
3 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Rey 2021-10-25 09:12:51 UTC
CVE-2021-38295

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

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-38295
http://seclists.org/oss-sec/2021/q4/30
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-38295
https://docs.couchdb.org/en/stable/cve/2021-38295.html
Comment 1 Martin Rey 2021-10-25 09:15:28 UTC
affected codestreams:

SUSE:SLE-12-SP3:Update:Products:Cloud8:Update
SUSE:SLE-12-SP4:Update:Products:Cloud9:Update
Comment 2 Zdenek Kubala 2022-05-17 11:13:58 UTC
Hello. I'm looking into an issue.
Comment 4 Carlos López 2022-06-13 14:14:13 UTC
Our SOC setup is not affected by this issue as only admin users should be able to access the database (i.e. attach malicious documents). Closing.