Users login

Create an account »

JOIN XATRIX

Users login

Home » Security Advisories» Gentoo » Mpg123 heap overflow vulnerability

Mpg123 heap overflow vulnerability

A heap overflow in mpg123 was discovered, which could result in the execution of arbitrary code.

  • Vendor: Gentoo
  • Vendor ID: GLSA 200607-01
  • Date: July 03, 2006


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 200607-01
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Severity: Normal
Title: mpg123: Heap overflow
Date: July 03, 2006
Bugs: #133988
ID: 200607-01

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

A heap overflow in mpg123 was discovered, which could result in the
execution of arbitrary code.

Background
==========

mpg123 is a real time audio player designed for the MPEG format.

Affected packages
=================

-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 media-sound/mpg123 < 0.59s-r11 >= 0.59s-r11

Description
===========

In httpdget.c, a variable is assigned to the heap, and is supposed to
receive a smaller allocation. As this variable was not terminated
properly, strncpy() will overwrite the data assigned next in memory.

Impact
======

By enticing a user to visit a malicious URL, an attacker could possibly
execute arbitrary code with the rights of the user running mpg123.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All mpg123 users should update to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=media-sound/mpg123-0.59s-r11"

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

http://security.gentoo.org/glsa/glsa-200607-01.xml

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
[email protected] or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2006 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.5

Newsletter signup

Signup to our monthly newsletter and stay in touch with IT news!

Free E-books

We've got ebooks! But they're not online. :( Please give us a few days to bring downloads back.

Contact

Have something to say or just wanna drop us a line? Please keep this in mind: to spam, we reply with spam.

Contact us »