Identd-ng pam_authnft
pam_authnft: Heap buffer overflow in NETLINK_SOCK_DIAG reply walker
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.7high · scored by CNA · CWE-125
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
identd-ng pam_authnft
- < 0.2.0-alpha
Fixed in 0.2.0-alpha
Mitigation
Upgrade pam_authnft to 0.2.0-alpha or later.
References
- Vendor advisory github.com/identd-ng/pam_authnft/security/advi…
- Patch github.com/identd-ng/pam_authnft/pull/10
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.