Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 203195 (CVE-2007-4773) - sys-apps/systrace < 1.6e Policy escape and other issues (CVE-2007-4773)
Summary: sys-apps/systrace < 1.6e Policy escape and other issues (CVE-2007-4773)
Status: RESOLVED WONTFIX
Alias: CVE-2007-4773
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: High trivial
Assignee: Gentoo TreeCleaner Project
URL: http://www.systrace.org/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-23 23:29 UTC by Robert Buchholz (RETIRED)
Modified: 2008-05-27 13:02 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Buchholz (RETIRED) gentoo-dev 2007-12-23 23:29:36 UTC
Tavis Ormandy discovered the following vulnerabilities:

I discovered one major and several minor bugs that allow escaping from
systrace policy enforcement, which are corrected in 1.6e (the important
one is CVE-2007-4773).
...

The serious one is due to a problem tracking the return value of denied
process-creating syscalls (clone, fork, vfork, etc), making it trivial
to escape from any policy (i.e. they didnt have to be allowed for it to
work).

A less serious issue is due to a problem decoding socketcall() calls,
which could result in bypassing any socket restrictions (for example,
you might use systrace to limit accessible socket() domains, or address
ranges for connect(), etc, etc).

Another problem with socketcall() decoding could result in a double
free(), when one of the arguments spans a page boundary and ptrace()
starts returning EIO unexpectedly.
Comment 1 Robert Buchholz (RETIRED) gentoo-dev 2007-12-23 23:30:44 UTC
Andrea, please advise.
Comment 2 Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2008-02-26 20:55:33 UTC
Andrea, please advise.
Comment 3 Robert Buchholz (RETIRED) gentoo-dev 2008-02-26 21:17:12 UTC
Andrea is being retired, bug 94632. No one on -dev stepped up for this, I'm all for removal. Voices?
Comment 4 Robert Buchholz (RETIRED) gentoo-dev 2008-03-18 03:10:46 UTC
This package has no revdeps and does not compile (bug 178036), not even in the 1.6e release, and it was never stable.

Treecleaners, I would be glad if you could handle mask and removal, otherwise Security will.
Comment 5 Raúl Porcel (RETIRED) gentoo-dev 2008-03-18 19:18:27 UTC
Taking it

Please vote, +1
Comment 6 Raúl Porcel (RETIRED) gentoo-dev 2008-03-19 10:30:40 UTC
Uh...reassign
Comment 7 Steve Dibb (RETIRED) gentoo-dev 2008-03-24 20:08:06 UTC
++
Comment 8 Robert Buchholz (RETIRED) gentoo-dev 2008-04-15 03:13:59 UTC
ping
Comment 9 Samuli Suominen (RETIRED) gentoo-dev 2008-04-21 20:07:39 UTC
# Samuli Suominen <drac@gentoo.org> (21 Apr 2008)
# Masked for removal in 30 days. Doesn't build
# wrt bug 178036 and has open CVE-2007-4773 wrt
# security bug 203195.
sys-apps/systrace
Comment 10 Samuli Suominen (RETIRED) gentoo-dev 2008-05-27 13:02:05 UTC
Removed from tree.