Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2024-9312

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-9312
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 22:11 UTC · Revision 1

Source evidence

CVE-2024-9312

core-osv · Original source

Published 10 Oct 2024, 13:42 UTC

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.

osv:CVE-2024-9312
Complete source record
{
  "id": "a7111a189ff424364c59527ae3e829f3e2118223d7648504fd4498d003e6a4e0",
  "url": "https://osv.dev/vulnerability/CVE-2024-9312",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2024-9312",
    "summary": "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.",
    "evidence": "osv:CVE-2024-9312",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-9312",
      "aliases": [
        "CVE-2024-9312",
        "GHSA-4gfw-wf7c-w6g2",
        "GO-2024-3188"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/canonical/authd",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "ab89e4faa8cd9fb1d6ca98ebf8683ad8f29cc21a"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.3.6"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "cpe": "cpe:2.3:a:canonical:authd:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.3.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.3.5",
            "0.3.5",
            "v0.3.3",
            "v0.3.2",
            "v0.2.1",
            "v0.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-9312.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:23.965190197Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/9xxx/CVE-2024-9312.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-9312",
        "https://github.com/ubuntu/authd/security/advisories/GHSA-4gfw-wf7c-w6g2",
        "https://www.cve.org/CVERecord?id=CVE-2024-9312",
        "https://github.com/ubuntu/authd"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-286"
        ],
        "cna_assigner": "canonical",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/9xxx/CVE-2024-9312.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-9312",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 490469,
  "published_at": "2024-10-10T13:42:31.95+00:00"
}