CVE-2023-47390
NixOS vulnerability analysis and mitigation

Overview

CVE-2023-47390 affects Headscale through version 0.22.3. The vulnerability involves the exposure of bearer tokens in info-level logs, which was discovered and disclosed in November 2023. This security issue impacts the logging functionality of Headscale, a self-hosted implementation of the Tailscale control server (NVD, GitHub Issue).

Technical details

The vulnerability stems from Headscale's logging mechanism writing bearer tokens to info-level logs when accessing the HTTP API. When users interact with the API, the system logs the entire bearer token in plaintext as part of the request metadata, including headers such as 'authorization' and 'grpcgateway-authorization'. The vulnerability has been assigned a CVSS v3.1 base score of 7.5 (HIGH), with a vector string of CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N (NVD).

Impact

The exposure of bearer tokens in logs presents a significant security risk as these tokens can be used for authentication and authorization. If unauthorized users gain access to the logs, they could potentially extract these tokens and use them to make authenticated requests to the API, leading to unauthorized access to the system (GitHub Issue).

Mitigation and workarounds

Users should upgrade to a version newer than 0.22.3 once available. In the meantime, it is recommended to restrict access to system logs and regularly rotate API tokens to minimize the risk of exposure (NVD).

Community reactions

The vulnerability was initially reported through GitHub Issues, where it received attention from the community with multiple users acknowledging the security concern through reactions and comments (GitHub Issue).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-61619HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61618HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61617HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61610HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61609HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management