CVE-2021-38295
Last modified
CVE-2021-38295 is a high-severity vulnerability rated 7.3/10 on the CVSS scale. 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. EPSS estimates a 2.47% chance of exploitation in the next 30 days.
Description
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
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Apache | Couchdb | < 3.1.2 |
References
- https://docs.couchdb.org/en/stable/cve/2021-38295.htmlVendor Advisory
- https://docs.couchdb.org/en/stable/cve/2021-38295.htmlVendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-38295?
How severe is CVE-2021-38295?
How do I fix CVE-2021-38295?
Are you affected by CVE-2021-38295?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
