Gentoo Linux Advisories: kernel, rsync | Linux Today

Gentoo Linux Advisories: kernel, rsync

Written By
Web Webster
Web Webster
Dec 5, 2003

GENTOO LINUX SECURITY ANNOUNCEMENT 200312-02


GLSA: 200312-02
package: kernel
summary: A flaw in the do_brk() function of Linux kernel 2.4.22 and
earlier can be exploited by local users or malicious services to
gain root privileges.
severity: high
Gentoo bug: 34844
date: 2003-12-04
CVE: CAN-2003-0961
exploit: local
affected: <2.4.22
fixed: >=2.4.23
fixed: >=2.4.22+patches

DESCRIPTION:

Lack of proper bounds checking exists in the do_brk() kernel
function in Linux kernels prior to 2.4.23. This bug can be used to
give a userland program or malicious service access to the full
kernel address space and gain root privileges. This issue is known
to be exploitable.

All kernel ebuilds in Portage have been bumped or patched and do
not contain this vulnerability. The following is a list of
recommended kernels.

aa-sources-2.4.23_pre6-r3
ck-sources-2.4.22-r3
gentoo-sources-2.4.20-r9
gentoo-sources-2.4.22-r1
grsec-sources-2.4.22.1.9.12-r1
grsec-sources-2.4.22.2.0_rc3-r1
gs-sources-2.4.23_pre8-r1
hardened-sources-2.4.22-r1
hardened-sources-2.4.22-r1
ia64-sources-2.4.22-r1
mips-sources-2.4.22-r4
mips-sources-2.4.22-r5
openmosix-sources-2.4.22-r1
ppc-sources-2.4.22-r3
ppc-sources-benh-2.4.20-r9
ppc-sources-benh-2.4.21-r2
ppc-sources-benh-2.4.22-r3
ppc-sources-crypto-2.4.20-r1
selinux-sources-2.4.21-r5
sparc-sources-2.4.23
usermode-sources-2.4.22-r1
wolk-sources-4.10_pre7-r1
wolk-sources-4.9-r2
xfs-sources-2.4.20-r4

SOLUTION:

It is recommended that all Gentoo Linux users upgrade their
machines to use a kernel from the list above.

        emerge sync
        emerge -pv [your preferred kernel sources]
        emerge [your preferred kernel sources]
        [update the /usr/src/linux symlink]
        [compile and install your new kernel]
        [emerge any necessary kernel module ebuilds]
        [reboot]

// end



GENTOO LINUX SECURITY ANNOUNCEMENT 200312-03


GLSA: 200312-03
summary: exploitable heap overflow in rsync
severity: high
date: 2003-12-04
exploit: remote
affected: <2.5.6*
fixed: >2.5.7

DESCRIPTION:

Rsync version 2.5.6 contains a vulnerability that can be used to
run arbitrary code. The Gentoo infrastructure team has some
reasonably good forensic evidence that this exploit may have been
used in combination with the Linux kernel brk vulnerability (see
GLSA 200312-02) to exploit a rsync.gentoo.org rotation server (see
GLSA-200312-01.)

Please see http://lwn.net/Articles/61541/
for the security advisory release by the rsync development
team.

SOLUTION:

To address this vulnerability, all Gentoo users should:

Read GLSA-200312-02 and ensure that all systems are upgraded to
a version of the Linux kernel without the brk vulnerability

Upgrade to version 2.5.7 of rsync. This can be done by
typing:

        emerge sync;
        emerge >net-misc/rsync-2.5.7

Review your /etc/rsyncd.conf configuration file; ensure that the
use chroot “no” command is commented out or removed, or change use
chroot “no” to use chroot “yes”. Then, if necessary, restart rsyncd
by typing:

/etc/init.d/rsyncd restart

//end

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.