NAS: Multiple vulnerabilities
Gentoo Linux Security Advisory
||GLSA 200704-20 / NAS
||April 23, 2007
||April 23, 2007: 01
All supported architectures
The Network Audio System is vulnerable to a buffer overflow that could
result in the execution of arbitrary code with root privileges.
NAS is a network transparent, client/server audio transport system.
Luigi Auriemma has discovered multiple vulnerabilities in NAS, some of
which include a buffer overflow in the function accept_att_local(), an
integer overflow in the function ProcAuWriteElement(), and a null
pointer error in the function ReadRequestFromClient().
An attacker having access to the NAS daemon could send an overly long
slave name to the server, leading to the execution of arbitrary code
with root privileges. A remote attacker could also send a specially
crafted packet containing an invalid client ID, which would crash the
server and result in a Denial of Service.
There is no known workaround at this time.
All NAS users should upgrade to the latest version:
Code Listing 3.1: Resolution
# emerge --sync
# emerge --ask --oneshot --verbose ">=media-libs/nas-1.8b"