CVE-2026-64668 pam_usb: deny_remote bypassed by zone-indexed IPv6 addresses (fe80::1%eth0) in pusb_tmux_has_remote_clients
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
mcdope
pam_usb
영향 받는 버전
- 0.8.0 이상 0.9.3 미만
해결 버전
- 0.9.3 이상
참고 자료 4건
- github.com https://github.com/mcdope/pam_usb/commit/a62513f3da871d6576d751de3482eb80b9ac79f3 (새 창)
- github.com https://github.com/mcdope/pam_usb/pull/423 (새 창)
- github.com https://github.com/mcdope/pam_usb/releases/tag/0.9.3 (새 창)
- github.com https://github.com/mcdope/pam_usb/security/advisories/GHSA-7583-9cqv-j9rf (새 창)