{"id":"CVE-2023-45725","details":"Design document functions which receive a user http request object may expose authorization or session cookie headers of the user who accesses the document.\n\nThese design document functions are:\n  *    list\n  *    show\n  *    rewrite\n  *    update\n\nAn attacker can leak the session component using an HTML-like output, insert the session as an external resource (such as an image), or store the credential in a _local document with an \"update\" function.\n\nFor the attack to succeed the attacker has to be able to insert the design documents into the database, then manipulate a user to access a function from that design document.\n\nWorkaround: Avoid using design documents from untrusted sources which may attempt to access or manipulate request object's headers\n","aliases":["BIT-couchdb-2023-45725"],"modified":"2026-04-10T05:03:36.045930Z","published":"2023-12-13T08:15:50.190Z","references":[{"type":"ADVISORY","url":"https://lists.apache.org/thread/pqjq9zt8vq9rsobkc1cow9sqm9vozlrg"},{"type":"FIX","url":"https://docs.couchdb.org/en/stable/cve/2023-45725.html"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/apache/couchdb","events":[{"introduced":"0"},{"last_affected":"11a2340709af2e3ebcb052337c9acb88f7fac3cb"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"3.3.2"}]}}],"versions":["2.0.0-RC1","2.0.0-RC3","2.0.0-RC4","2.1.0","2.1.0-RC1","2.2.0-RC1","2.3.0","2.3.0-RC1","2.3.1-last","3.0.0-RC1","3.1.0","3.1.0-RC1","3.1.0-RC2","3.1.1","3.1.1-RC1","3.1.1-RC2","3.2.0","3.2.0-RC1","3.2.0-RC2","3.2.1","3.2.1-RC1","3.3.0","3.3.1","3.3.1.post1","3.3.2","3.3.2-RC1","fauxton"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-45725.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N"}]}