12 Mar 2002
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.
Further reading
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.
Latest stories from Security
Related articles
Related jobs
Poll
Are you confident that the UK's IT infrastructure is secure from attack in the wake of the Flame malware revelations?
V3 examines the key strengths and weaknesses of Samsung's latest iPhone killer
Connect with V3.co.uk
Social networking is almost ubiquitous. This white paper examines the benefits and risks and it looks at the different ways companies can reconcile them
The importance of understanding your infrastructure
C#, WPF, Silverlight, UI Development, Software Engineers...
Candidate required who is used to working in a client...
Build Change Release Manager / Build Change Manager...
IT Service Desk Manager / Liverpool / Up to £60,000...
Keep up to date with the latest products, services and technologies from the world's leading IT companies. IThound.com brings you over 2,000 white papers, case studies and analyst reports.
Do you agree?