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?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-38283Wipro Holmes Orchestrator 20.4.1 (20.4.1_02_11_2020) allows …7.5
- CVE-2021-38289An issue has been discovered in Novastar-VNNOX-iCare Novaica…8.8
- CVE-2021-3829openwhyd is vulnerable to URL Redirection to Untrusted Site6.1
- CVE-2021-38290A host header attack vulnerability exists in FUEL CMS 1.5.0 …8.1
- CVE-2021-38291FFmpeg version (git commit de8e6e67e7523e48bb27ac224a0b446df…7.5
- CVE-2021-38294A Command Injection vulnerability exists in the getTopologyH…9.8
- CVE-2021-38296Apache Spark supports end-to-end encryption of RPC connectio…7.5
- CVE-2021-38297Go before 1.16.9 and 1.17.x before 1.17.2 has a Buffer Overf…9.8
- CVE-2021-38298Zoho ManageEngine ADManager Plus before 7110 is vulnerable t…9.8
- CVE-2021-38299Webauthn Framework 3.3.x before 3.3.4 has Incorrect Access C…9.8
- CVE-2021-3830btcpayserver is vulnerable to Improper Neutralization of Inp…5.4
- CVE-2021-38300arch/mips/net/bpf_jit.c in the Linux kernel before 5.4.10 ca…7.8
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
