QID 731127

Date Published: 2024-02-08

QID 731127: Apache CouchDB Information Disclosure Vulnerability

Apache CouchDB is a free open source document-oriented database written in the Erlang programming language.

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.

Affected Versions:
Apache CouchDB versions prior to version 3.2.3
Apache CouchDB versions 3.3.0 and 3.3.1

QID Detection Logic(Remote)
It checks for vulnerable version of Apache CouchDB by sending a GET request to the target and matches the vulnerable version.

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

Successful exploitation of this vulnerability can disclose sensitive information.

  • CVSS V3 rated as Medium - 5.3 severity.
  • CVSS V2 rated as Low - 1.3 severity.
  • Solution
    The vendor has already released the patch to fix the vulnerability. Customers are advised to upgrade to Apache CouchDB.Workaround:
    Avoid using design documents from untrusted sources which may attempt to cache or store data in the Javascript environment.
    Vendor References

    CVEs related to QID 731127

    Software Advisories
    Advisory ID Software Component Link
    Apache CouchDB URL Logo couchdb.apache.org/