Problem
The error handling in the (1) inflate and (2) inflateBack functions in ZLib compression library 1.2.x allows local users to cause a denial of service (application crash).
The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CVE-2004-0797 to this issue.
inftrees.h in zlib 1.2.2 allows remote attackers to cause a denial of service (application crash) via an invalid file that causes a large dynamic tree to be produced.
The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CVE-2005-1849 to this issue.
Buffer overflow in zlib 1.2 and later versions allows remote attackers to cause a denial of service (crash) via a crafted compressed stream, as demonstrated using a crafted PNG file.
The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CVE-2005-2096 to this issue.
Solution
______________________________________________________________________________SCO Security AdvisorySubject: OpenServer 5.0.6 OpenServer 5.0.7 OpenServer 6.0.0 :
Zlib Multiple Vulnerabilities
Advisory number: SCOSA-2006.6
Issue date: 2006 January 10
Cross reference: sr894696 fz532828 erg712900 sr894695 fz532829 erg712899
CVE-2004-0797 CVE-2005-1849 CVE-2005-2096
______________________________________________________________________________1. Problem DescriptionThe error handling in the (1) inflate and (2) inflateBack functions in ZLib compression library 1.2.x allows local users to cause a denial of service (application crash).
The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CVE-2004-0797 to this issue.
inftrees.h in zlib 1.2.2 allows remote attackers to cause a denial of service (application crash) via an invalid file that causes a large dynamic tree to be produced.
The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CVE-2005-1849 to this issue.
Buffer overflow in zlib 1.2 and later versions allows remote attackers to cause a denial of service (crash) via a crafted compressed stream, as demonstrated using a crafted PNG file.
The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CVE-2005-2096 to this issue.
2. Vulnerable Supported VersionsSystem Binaries
----------------------------------------------------------------------
OpenServer 5.0.6 /usr/lib/libz.so.1
OpenServer 5.0.7 /usr/lib/libz.so.1
OpenServer 6.0.0 /usr/lib/libz.so.1
/osr5/usr/lib/libz.so.13. SolutionThe proper solution is to install the latest packages.
4. OpenServer 5.0.64.1 Location of Fixed Binarieshttps://ftp.scoexpert.com/openserver5/opensrc/gwxlibs-2.1.0Ba/4.2 VerificationMD5 (gwxlibs210Ba_vol.tar) = 18213632bd0c5ff1e260eac90aae7033md5 is available for download from
https://ftp.scoexpert.com/security/tools4.3 Installing Fixed BinariesPlease see the following:https://ftp.scoexpert.com/openserver5/opensrc/gwxlibs-2.1.0Ba/gwxlibs-2.1.0Ba.txt5. OpenServer 5.0.75.1 Location of Fixed Binarieshttps://ftp.scoexpert.com/openserver5/507/mp/osr507mp4/osr507mp4_vol.tar5.2 VerificationMD5 (osr507mp4_vol.tar) = 4c87d840ff5b43221258547d19030228md5 is available for download from
https://ftp.scoexpert.com/security/tools5.3 Installing Fixed BinariesPlease see the SCO OpenServer Release 5.0.7 Maintenance Pack 4 Release and Installation Notes:
https://ftp.scoexpert.com/openserver5/507/mp/osr507mp4/osr507mp4.htm6. OpenServer 6.0.06.1 Location of Fixed Binarieshttps://ftp.scoexpert.com/updates/OpenServer/SCOSA-2006.66.2 VerificationMD5 (VOL.000.000) = b077f94a0d35829500695abb703aa408md5 is available for download from
https://ftp.scoexpert.com/security/tools6.3 Installing Fixed BinariesUpgrade the affected binaries with the following sequence:
1) Download the VOL* files to a directory.
2) Run the custom command, specify an install from media images, and specify the directory as the location of the images.
7. ReferencesSpecific references for this advisory:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-0797
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-1849
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-2096
http://www.kb.cert.org/vuls/id/238678
http://www.kb.cert.org/vuls/id/680620SCO security resources:
http://www.sco.com/support/security/index.htmlSCO security advisories via email
http://www.sco.com/support/forums/security.htmlThis security fix closes SCO incidents sr894696 fz532828 erg712900 sr894695 fz532829 erg712899.
8. DisclaimerSCO is not responsible for the misuse of any of the information we provide on this website and/or through our security advisories. Our advisories are a service to our customers intended to promote secure installation and use of SCO products.
9. AcknowledgmentsThe SCO Group would like to thank Mark Adler for his research.
______________________________________________________________________________