{"document":{"aggregate_severity":{"namespace":"https://www.suse.com/support/security/rating/","text":"critical"},"category":"csaf_vex","csaf_version":"2.0","distribution":{"text":"Copyright 2024 SUSE LLC. All rights reserved.","tlp":{"label":"WHITE","url":"https://www.first.org/tlp/"}},"lang":"en","notes":[{"category":"summary","text":"SUSE CVE-2017-12635","title":"Title"},{"category":"description","text":"Due to differences in the Erlang-based JSON parser and JavaScript-based JSON parser, it is possible in Apache CouchDB before 1.7.0 and 2.x before 2.1.1 to submit _users documents with duplicate keys for 'roles' used for access control within the database, including the special case '_admin' role, that denotes administrative users. In combination with CVE-2017-12636 (Remote Code Execution), this can be used to give non-admin users access to arbitrary shell commands on the server as the database system user. The JSON parser differences result in behaviour that if two 'roles' keys are available in the JSON, the second one will be used for authorising the document write, but the first 'roles' key is used for subsequent authorization for the newly created user. By design, users can not assign themselves roles. The vulnerability allows non-admin users to give themselves admin privileges.","title":"Description of the CVE"},{"category":"legal_disclaimer","text":"CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).","title":"Terms of use"}],"publisher":{"category":"vendor","contact_details":"https://www.suse.com/support/security/contact/","name":"SUSE Product Security Team","namespace":"https://www.suse.com/"},"references":[{"category":"external","summary":"CVE-2017-12635","url":"https://www.suse.com/security/cve/CVE-2017-12635"},{"category":"external","summary":"SUSE Security Ratings","url":"https://www.suse.com/support/security/rating/"},{"category":"external","summary":"SUSE Bug 1068386 for CVE-2017-12635","url":"https://bugzilla.suse.com/1068386"},{"category":"external","summary":"SUSE Bug 1104204 for CVE-2017-12635","url":"https://bugzilla.suse.com/1104204"},{"category":"external","summary":"SUSE Bug 1119720 for CVE-2017-12635","url":"https://bugzilla.suse.com/1119720"}],"title":"SUSE CVE CVE-2017-12635","tracking":{"current_release_date":"2025-04-23T02:45:33Z","generator":{"date":"2023-02-15T04:41:40Z","engine":{"name":"cve-database.git:bin/generate-csaf-vex.pl","version":"1"}},"id":"CVE-2017-12635","initial_release_date":"2023-02-15T04:41:40Z","revision_history":[{"date":"2023-02-15T04:41:40Z","number":"2","summary":"Current version"},{"date":"2025-01-01T08:38:01Z","number":"3","summary":"Current version"},{"date":"2025-02-18T07:37:27Z","number":"4","summary":"Current version"},{"date":"2025-04-23T02:45:33Z","number":"5","summary":"Current version"}],"status":"interim","version":"5"}}}