pam_authnft: Heap buffer overflow in NETLINK_SOCK_DIAG reply walker
identd-ng pam_authnft
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| identd-ng pam_authnft |
| No fix yet |
Original description
pam_authnft is a PAM session module binding nftables firewall rules to authenticated sessions via cgroupv2 inodes. Prior to 0.2.0-alpha, a heap buffer over-read in peer_lookup_tcp (src/peer_lookup.c:134, prior to the fix) allowed a crafted NETLINK_SOCK_DIAG reply to slip past the message-size check, then dereference past the end of the allocation. This vulnerability is fixed in 0.2.0-alpha.
From the CVE record · GitHub_M