CVE-2023-26268 Apache CouchDB, IBM Cloudant: Information sharing via couchjs processes

Medium 4.4 Published Updated

Attackers can read sensitive data from other databases by exploiting shared mutable JavaScript environments in CouchDB design documents.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2023-26268?

CVE-2023-26268 is a medium-severity vulnerability in Apache CouchDB, published on 2 May 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Design documents with matching document IDs, from databases on the same cluster, may share a mutable Javascript environment when using these design document functions: * validate_doc_update

* list

* filter

* filter views (using view functions as filters)

* rewrite

* update

This doesn't affect map/reduce or search (Dreyfus) index functions.

Users are recommended to upgrade to a version that is no longer affected by this issue (Apache CouchDB 3.3.2 or 3.2.3).

Workaround: Avoid using design documents from untrusted sources which may attempt to cache or store data in the Javascript environment.

Weakness: CWE-200

Which versions are affected by CVE-2023-26268?

1 open source package ship an affected version, including couchdb. It affects 2 products.

PackageAffectedFixed in
couchdb BitnamiAll versions3.2.3, 3.3.2

Products include Apache Couchdb, Ibm Cloudant.

How do I fix CVE-2023-26268?

Upgrade couchdb to a fixed version for your release line: 3.2.3 or 3.3.2.

Is CVE-2023-26268 being exploited?

There is no known exploitation of CVE-2023-26268 in the wild and no public exploit code.

Sources

Also known as BIT-couchdb-2023-26268, GHSA-97qc-h8j3-mgv9, UBUNTU-CVE-2023-26268.

Is CVE-2023-26268 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free