Displaying 1 result from an estimated 1 matches for "lorem_ipsum".
2023 Oct 17
1
[Bug 1714] New: Stack smash: libnftables does not enforce string length limits for log prefixes
...ugzilla.netfilter.org/attachment.cgi?id=726&action=edit
Python script to reproduce stack smash
When creating a rule using nft, using a log prefix over 128 bytes overflows a
stack variable and causes a crash. To reproduce from bash:
# Send 140 bytes to trigger the stack protector added by gcc
LOREM_IPSUM="Lorem ipsum dolor sit amet consectetur adipiscing elit sed do
eiusmod tempor incididunt ut labore et dolore magna aliqua Ut enim ad minim ve"
nft add rule ip filter OUTPUT log prefix "\"${LOREM_IPSUM}\""
Output:
*** stack smashing detected ***: terminated
Aborted (co...