CVE-2010-5142
MEDIUM 6.5CVSS 2.0Chef Improper Access Control vulnerability
chef-server-api/app/controllers/users.rb in the API in Chef before 0.9.0 does not require administrative privileges for the create, destroy, and update methods, which allows remote authenticated users to manage user accounts via requests to the /users URI.
- Published
- 8 Aug 2012
- Last modified
- 16 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-264CWE-284
- Also known as
- GHSA-f68m-q26r-64f6
- Sources
- NVDJSONOSV GHSA-f68m-q26r-64f6JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | opscode | chefcpe:2.3:a:opscode:chef:*:*:*:*:*:*:*:* |
<= 0.8.10 | |
| NVD | opscode | chefcpe:2.3:a:opscode:chef:0.7.2:*:*:*:*:*:*:* |
= 0.7.2 | |
| NVD | opscode | chefcpe:2.3:a:opscode:chef:0.7.4:*:*:*:*:*:*:* |
= 0.7.4 | |
| NVD | opscode | chefcpe:2.3:a:opscode:chef:0.7.6:*:*:*:*:*:*:* |
= 0.7.6 | |
| NVD | opscode | chefcpe:2.3:a:opscode:chef:0.7.8:*:*:*:*:*:*:* |
= 0.7.8 | |
| NVD | opscode | chefcpe:2.3:a:opscode:chef:0.7.10:*:*:*:*:*:*:* |
= 0.7.10 | |
| NVD | opscode | chefcpe:2.3:a:opscode:chef:0.7.12:*:*:*:*:*:*:* |
= 0.7.12 | |
| NVD | opscode | chefcpe:2.3:a:opscode:chef:0.7.14:*:*:*:*:*:*:* |
= 0.7.14 | |
| NVD | opscode | chefcpe:2.3:a:opscode:chef:0.8.2:*:*:*:*:*:*:* |
= 0.8.2 | |
| NVD | opscode | chefcpe:2.3:a:opscode:chef:0.8.4:*:*:*:*:*:*:* |
= 0.8.4 | |
| NVD | opscode | chefcpe:2.3:a:opscode:chef:0.8.6:*:*:*:*:*:*:* |
= 0.8.6 | |
| NVD | opscode | chefcpe:2.3:a:opscode:chef:0.8.8:*:*:*:*:*:*:* |
= 0.8.8 | |
| OSV | RubyGems | chef | < 0.9.0 | 0.9.0 |
References
- http://tickets.opscode.com/browse/CHEF-1289 · WEB
- https://github.com/opscode/chef/commit/c3bb41f727fbe00e5de719d687757b24c8dcdfc8 · Patch, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2010-5142 · ADVISORY
- https://github.com/chef/chef · PACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/chef/CVE-2010-5142.yml · WEB
History
- 25 Nov 2026 20:16 UTC · NVD: first stored (published 8 Aug 2012)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 17 May 2022)