Gentoo Archives: gentoo-hardened

From: pageexec@××××××××.hu
To: gentoo-hardened@l.g.o, rumen_yotov@×××.bg
Subject: Re: [gentoo-hardened] app_gip_stack_smashing_attack_bug?
Date: Fri, 25 Jun 2004 19:53:43
Message-Id: 40DC9ECA.24770.A2908F@localhost
In Reply to: [gentoo-hardened] app_gip_stack_smashing_attack_bug? by Rumen Yotov
1 > Saw an app called gip (net-misc/gip) and emerged it.
2 > Description: a nice GNOME GUI for making IP address based calculations.
3 > But when tring to run it was stopped by PaX, see:
4 > ...CUT...
5 > $gip
6 > gip: stack smashing attack in function short int ipv4_ip2integer(const
7 > char*, unsigned int*)()
8
9 it's not PaX but ssp (stach smashing protector).
10
11 > Maybe it's a bug or something else.
12 > Should i file a bug on it.
13
14 it's a bug and you should file a bug, preferably upstream. the problem
15 is that the call to regexp_match_grab() will fill in the matches array,
16 except it's too small because there's no room for the NULL terminator
17 (the regexp will match the 4 octets of the IP address, so the array
18 should have 4+1 elements, not 4).
19
20
21 --
22 gentoo-hardened@g.o mailing list

Replies

Subject Author
Re: [gentoo-hardened] app_gip_stack_smashing_attack_bug? Rumen Yotov <rumen_yotov@×××.bg>