Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/ubuntu/authd
  4. ›
  5. CVE-2024-9312

CVE-2024-9312: Authd allows attacker-controlled usernames to yield controllable UIDs

October 10, 2024

CVE description:

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.

—– original report —–

References

  • github.com/advisories/GHSA-4gfw-wf7c-w6g2
  • github.com/ubuntu/authd
  • github.com/ubuntu/authd/security/advisories/GHSA-4gfw-wf7c-w6g2
  • nvd.nist.gov/vuln/detail/CVE-2024-9312
  • www.cve.org/CVERecord?id=CVE-2024-9312

Code Behaviors & Features

Detect and mitigate CVE-2024-9312 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 0.0.0-20230706090440-d8cb2d561419

Solution

Unfortunately, there is no solution available yet.

Impact 7.5 HIGH

CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-286: Incorrect User Management

Source file

go/github.com/ubuntu/authd/CVE-2024-9312.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:28 +0000.