CVE-2024-9312
MEDIUM 6.4CVSS 3.1Authd allows attacker-controlled usernames to yield controllable UIDs
Authd, through version 0.3.6, did not sufficiently randomize user IDs to prevent collisions. A local attacker who can register user names could spoof another user's ID and gain their privileges.
- Published
- 10 Oct 2024
- Last modified
- 17 Jun 2026
- Assigned by
- security@ubuntu.com
- NVD status
- Analyzed
- Weakness
- CWE-286CWE-335
- Also known as
- GHSA-4gfw-wf7c-w6g2GO-2024-3188
- Sources
- NVDJSONOSV GHSA-4gfw-wf7c-w6g2JSONOSV GO-2024-3188JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H | |
| NVD | security@ubuntu.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.4 | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | canonical | authdcpe:2.3:a:canonical:authd:*:*:*:*:*:*:*:* |
< 0.3.6 | 0.3.6 |
| OSV | Go | github.com/ubuntu/authd | <= 0.0.0-20230706090440-d8cb2d561419 | |
| OSV | Go | github.com/ubuntu/authd | < 0.3.6 | 0.3.6 |
References
- https://github.com/ubuntu/authd/security/advisories/GHSA-4gfw-wf7c-w6g2 · Exploit, Mitigation, Vendor Advisory, WEB, ADVISORY
- https://www.cve.org/CVERecord?id=CVE-2024-9312 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-9312 · ADVISORY
- https://github.com/ubuntu/authd · PACKAGE
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 10 Oct 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 11 Oct 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 10 Oct 2024)