Compression bug puts Linux at risk

Open source distributors rush to release advisories

Written by James Middleton

A bug in a popular compression library shipped with all major Linux distributions could put a majority of the installations of the operating system at risk.

Distributors of the major flavours of Linux, including Red Hat, Suse, Debian and Engarde, have rushed to release advisories on a problem in the Zlib compression library.

Advertisement

The glitch in the code may introduce vulnerabilities into any program that includes the affected library.

"Depending on how and where the Zlib routines are called from the given program, the resulting vulnerability may have one or more of the following impacts: denial of service, information leakage, or execution of arbitrary code," read the warning from the Zlib developers.

The vulnerability exists in the decompression algorithm used by the library. If an attacker is able to pass a specially crafted block of invalid compressed data to a program that includes Zlib, the program's attempt to decompress the crafted data can cause the Zlib routines to corrupt the internal data structures.

Investigators have tracked the bug down to a programming error that causes segments of dynamically allocated memory to be released more than once, an event known as a 'double free'.

"Because this vulnerability interferes with the proper allocation and de-allocation of dynamic memory, it may be possible for an attacker to influence the operation of programs that include Zlib," warned the advisory.

But although, in most circumstances, this influence will be limited to denial of service or information leakage, it is theoretically possible for an attacker to insert arbitrary code into a running program.

"This code would be executed with the permissions of the vulnerable program," the advisory said.

Users are advised to upgrade to version 1.1.4. More details are available here.

Tags:

Related whitepapers

Related jobs

Do you agree?

IT white papers

Search vnunet IThound

Top categories

Job of the week

Search thousands of IT jobs :

Search thousands of IT jobs:

Advanced search

Hiring now on ComputingCareers:

Related IT jobs

Search thousands of IT jobs :

Search thousands of IT jobs:

Advanced search

Advertisement

Newsletter signup

Sign up for our range of FREE newsletters:

Existing User

Newsletter user login:

Enter email address to edit your newsletter preferences

Watch

Shaun Nichols and Iain Thomson

10 Oct 2008

7.33 MBPodcast Special: Views from the Valley More...

Podcast image

09 Oct 2008

12.99 MBComputing podcast - IT implications of the banking crisis, and the FSA clamps down on IT security More...

Shaun Nichols and Iain Thomson

03 Oct 2008

6.49 MBPodcast Special: Views from the Valley More...

Poll

Google Android

Google Android

Are you intending to try out a Google Android mobile phone?

Previous poll results

Spotlight

MoD building

Latest data breach leads MPs to demand culture change

MoD admits to losing a hard drive containing up to...  More...

Online shopping

E-retailers urged to prepare for Christmas

Credit crunch sending shoppers online for cheaper presents   More...

Mobile phone

Emerging markets drive mobile growth

Mobile penetration rates expected to reach 95 per cent by...  More...

Digital information

Poor data classification costing companies dear

Millions wasted on searching through clutter, says analyst   More...

Primary Navigation