Read the docs
TI-2021-15908 Aliases CVE-2021-38295GHSA-gr7p-9mx8-wr74

Privilege escalation vulnerability when using HTML attachments

Priority LOW 37CWE-79Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
Required
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 1 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-79.

Summary

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

Why it matters now

EPSS 0.02749 86th percentileScored 2026-11-07
Fix Partial Apache CouchDB (Apache Software Foundation): 3.1.2IBM Cloudant (Apache Software Foundation): 8201Red Hat: 1 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
ApacheApache CouchDBApache CouchDB to before 3.1.23.1.2Patch availableCNA
ApacheIBM CloudantIBM Cloudant to before 82018201Patch availableCNA
  • Apache CouchDB VendorApache Affected Apache CouchDB to before 3.1.2 Fixed in 3.1.2 Patch available CNA
  • IBM Cloudant VendorApache Affected IBM Cloudant to before 8201 Fixed in 8201 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:apache:couchdb:*:*:*:*:*:*:*:*before 3.1.2VulnerableApache
  • cpe:2.3:a:apache:couchdb:*:*:*:*:*:*:*:* Versions before 3.1.2 Vulnerable ·Apache

Remediation

  • Fix · CNA Apache CouchDB (Apache Software Foundation) Fixed in 3.1.2
  • Fix · CNA IBM Cloudant (Apache Software Foundation) Fixed in 8201

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat JBoss Fuse 6AffectedNo fix planned: Out of support scope
Not affected: 3 products
  • Red Hat Fuse 7
  • Red Hat Integration Camel K 1
  • Red Hat Integration Camel Quarkus 1

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-38295
  2. 2026-10-03 Alias added: GHSA-gr7p-9mx8-wr74

References

  • TI-2022-08521 Remote Code Execution Vulnerability in Packaging KEVCVSS 3.1CRITICAL 9.8
  • TI-2017-09360 Improper privilege management in Apache CouchDB CVSS 3.0CRITICAL 9.8
  • TI-2017-09361 OS command injection in Apache CouchDB CVSS 3.0HIGH 7.2
  • TI-2020-01879 Missing authentication in Apache CouchDB CVSS 3.1CRITICAL 9.8
  • TI-2018-05784 Improper input validation in Apache CouchDB CVSS 3.0HIGH 7.2
  • TI-2018-08426 CouchDB administrative users before 2.2.0 can configure the database server via HTTP(S). CVSS 3.0HIGH 7.2
See all 19 →

Sources