pam_usbにIPv6アドレスの処理の不備で認証を回避される脆弱性
Summary
pam_usbの0.8.0から0.9.3より前のバージョンでは、リモートからのtmuxセッションを検出する処理がゾーン付きIPv6アドレス(fe80::1%eth0など)を正しく扱えず、deny_remoteによる拒否が効かずに認証を通してしまう脆弱性(CVE-2026-64668、CVSS 7.4)があります。修正版は0.9.3です。0.9.3以降へのアップデートを進めてください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
pam_usbの0.8.0から0.9.3より前のバージョンでは、リモートからのtmuxセッションを検出する処理がゾーン付きIPv6アドレス(fe80::1%eth0など)を正しく扱えず、deny_remoteによる拒否が効かずに認証を通してしまう脆弱性(CVE-2026-64668、CVSS 7.4)があります。修正版は0.9.3です。0.9.3以降へのアップデートを進めてください。
Original description The description as published by the source.
pam_usb provides hardware authentication for Linux using removable media. From version 0.8.0 to before version 0.9.3, the deny_remote feature in pam_usb uses /usr/bin/w -i to detect whether the authenticating user has an active remote tmux session. In pusb_tmux_has_remote_clients() (src/tmux.c), the IPv6 detection pattern matched the address group and then immediately expected whitespace. On Linux systems with multi-homed network interfaces, w -i appends a zone index (scope identifier) to link-local IPv6 addresses — e.g. fe80::1%eth0. The %eth0 suffix appeared between the address and the next whitespace field, causing the regex match to fail even for an otherwise-matching remote session. The function returned "no remote clients" and granted access. This issue has been patched in version 0.9.3.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- patch github.com
- web github.com