CVE-2024-8158
published high CVSS 4.0 · 8.8User impersonation for lib9p based 9p fileservers
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| 9front | — | 9front0 to < 9645ae07eb66a59015e3e118d0024790c37400da · Other versions: unaffected | Affected | Not stated | 9front |
| 9front | — | 9front0 to < 9645ae07eb66a59015e3e118d0024790c37400da · Other versions: unknown | Affected | Not stated | CISA-ADP |
Description
A bug in the 9p authentication implementation within lib9p allows an attacker with an existing valid user within the configured auth server to impersonate any other valid filesystem user. This is due to lib9p not properly verifying that the uname given in the Tauth and Tattach 9p messages matches the client UID returned from the factotum authentication handshake. The only filesystem making use of these functions within the base 9front systems is the experimental hjfs disk filesystem, other disk filesystems (cwfs and gefs) are not affected by this bug. This bug was inherited from Plan 9 and is present in all versions of 9front and is remedied fully in commit 9645ae07eb66a59015e3e118d0024790c37400da.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- 9front · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N/AU:N/V:C/RE:L/U:Red
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| 9front | 9front | 0 to < 9645ae07eb66a59015e3e118d0024790c37400da (affected · Commit Hash)Default: unaffected | 9front · cna |
| 9front | 9front | 0 to < 9645ae07eb66a59015e3e118d0024790c37400da (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-639 CWE-639 Authorization Bypass Through User-Controlled Key
References
1Provider assertions
29front · cna
User impersonation for lib9p based 9p fileservers
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- edd55347035541e81552b1e8c0766489ac1d926994469009026305221b8fd40b
- Ingested
- 23 Sep 2026, 08:34:06 UTC
- Source record
- Official CVE record