RedHat: OpenSSL ASN.1 Parsing vulnerabilities
Summary
Summary
OpenSSL is a commercial-grade, full-featured, open source toolkit thatimplements Secure Sockets Layer (SSL v2/v3) and Transport Layer Security(TLS v1) protocols, as well as a full-strength general purpose cryptographylibrary.NISCC testing of implementations of the SSL protocol uncovered two bugs inOpenSSL 0.9.6 and OpenSSL 0.9.7. The parsing of unusual ASN.1 tag valuescan cause OpenSSL to crash. A remote attacker could trigger this bug bysending a carefully-crafted SSL client certificate to an application. Theeffects of such an attack vary depending on the application targetted;against Apache the effects are limited, as the attack would only causechild processes to die and be replaced. An attack against otherapplications that use OpenSSL could result in a Denial of Service. TheCommon Vulnerabilities and Exposures project (cve.mitre.org) has assignedthe names CAN-2003-0543 and CAN-2003-0544 to this issue. NISCC testing of implementations of the SSL protocol uncovered anadditional bug in OpenSSL 0.9.7. Certain ASN.1 encodings that arerejected as invalid by the parser can trigger a bug in deallocation of astructure, leading to a double free. A remote attacker could trigger thisbug by sending a carefully-crafted SSL client certificate to anapplication. It may be possible for an attacker to exploit this issue toexecute arbitrary code. The Common Vulnerabilities and Exposures project(cve.mitre.org) has assigned the name CAN-2003-0545 to this issue.These erratum packages contain patches provided by the OpenSSL group thatprotects against these issues.Because server applications are affected by this issue, users are advisedto either restart all services that use OpenSSL functionality or reboottheir systems after installing these updates. Red Hat would like to thank NISCC and Stephen Henson for their work onthese vulnerabilities.These packages also include a patch from OpenSSL 0.9.6f which removesthe calls to abort the process in certain circumstances. Red Hat wouldlike to thank Patrik Hornik for notifying us of this issue.
Solution
Before applying this update, make sure all previously released errata
relevant to your system have been applied.
To update all RPMs for your particular architecture, run:
rpm -Fvh [filenames]
where [filenames] is a list of the RPMs you wish to upgrade. Only those
RPMs which are currently installed will be updated. Those RPMs which are
not installed but included in the list will not be updated. Note that you
can also use wildcards (*.rpm) if your current directory *only* contains the
desired RPMs.
Please note that this update is also available via Red Hat Network. Many
people find this an easier way to apply updates. To use Red Hat Network,
launch the Red Hat Update Agent with the following command:
up2date
This will start an interactive process that will result in the appropriate
RPMs being upgraded on your system.
If up2date fails to connect to Red Hat Network due to SSL Certificate
Errors, you need to install a version of the up2date client with an updated
certificate. The latest version of up2date is available from the Red Hat
FTP site and may also be downloaded directly from the RHN website:
5. Bug IDs fixed ( for more info):
99066 - memory leak in SSL_new()
6. RPMs required:
Red Hat Linux 9:
SRPMS:
i386:
i686:
7. Verification:
MD5 sum Package Name
7ece6dcc9fe2568527024e0e62cfd820 9/en/os/SRPMS/openssl-0.9.7a-20.src.rpm
b07fd02dfb811708ce2797f5e6cfbdf5 9/en/os/SRPMS/openssl096-0.9.6-23.9.src.rpm
807b3afd912fb76d4d4b32f21b6cb98e 9/en/os/SRPMS/openssl096b-0.9.6b-12.src.rpm
91269d6393def01e0a796e40b74a970d 9/en/os/i386/openssl-0.9.7a-20.i386.rpm
957ff6ab058b3041a9995a93698a0cca 9/en/os/i386/openssl-devel-0.9.7a-20.i386.rpm
15a6ebeb7f6e7c4726101f34128a71f5 9/en/os/i386/openssl-perl-0.9.7a-20.i386.rpm
330cab847c326b76599990eb9eaed409 9/en/os/i386/openssl096-0.9.6-23.9.i386.rpm
a0618bb76a15440f234951c69692f3e8 9/en/os/i386/openssl096b-0.9.6b-12.i386.rpm
4fc16039f6893f039cd36b83c37a4fa6 9/en/os/i686/openssl-0.9.7a-20.i686.rpm
These packages are GPG signed by Red Hat for security. Our key is
available from https://access.redhat.com/security/team/key
You can verify each package with the following command:
rpm --checksig -v
If you only wish to verify that each package has not been corrupted or
tampered with, examine only the md5sum with the following command:
md5sum
References
Package List
Topic
Topic
Updated OpenSSL packages that fix ASN.1 parsing vulnerabilities are now
available for Red Hat Linux 9.
Relevant Releases Architectures
Red Hat Linux 9 - i386, i686
Bugs Fixed