FreeBSD VuXML: Documenting security issues in FreeBSD and the FreeBSD Ports Collection

mpg123 -- buffer overflow in URL handling

Affected packages
mpg123 < 0.59r_15
mpg123-esound < 0.59r_15
mpg123-nas < 0.59r_15

Details

VuXML ID 20d16518-2477-11d9-814e-0001020eed82
Discovery 2004-10-02
Entry 2004-10-23
Modified 2004-12-30

Carlos Barros reports that mpg123 contains two buffer overflows. These vulnerabilities can potentially lead to execution of arbitrary code.

The first buffer overflow can occur when mpg123 parses a URL with a user-name/password field that is more than 256 characters long. This problem can be triggered either locally or remotely via a specially crafted play list. The second potential buffer overflow may be triggered locally by a specially crafted symlink to the mpg123 binary. This problem is not as serious, since mpg123 is not installed setuid by default.

References

Bugtraq ID 11468
CVE Name CVE-2004-0982
Message 200410200119.42801.barros@barrossecurity.com