Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1202395 - (CVE-2015-0292) CVE-2015-0292 openssl: integer underflow leading to buffer overflow in base64 decoding
CVE-2015-0292 openssl: integer underflow leading to buffer overflow in base64...
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20150319,repor...
: Security
Depends On: 1196738 1203070 1203071 1203082 1203083 1203855 1203856 1205026 1205494 1205495 1207507
Blocks: 1202442 1205499
  Show dependency treegraph
 
Reported: 2015-03-16 10:26 EDT by Martin Prpič
Modified: 2018-07-18 10:36 EDT (History)
44 users (show)

See Also:
Fixed In Version: openssl 1.0.1h, openssl 1.0.0m, openssl 0.9.8za
Doc Type: Bug Fix
Doc Text:
An integer underflow flaw, leading to a buffer overflow, was found in the way OpenSSL decoded malformed Base64-encoded inputs. An attacker able to make an application using OpenSSL decode a specially crafted Base64-encoded input (such as a PEM file) could use this flaw to cause the application to crash. Note: this flaw is not exploitable via the TLS/SSL protocol because the data being transferred is not Base64-encoded.
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:0715 normal SHIPPED_LIVE Moderate: openssl security update 2015-03-23 20:50:48 EDT
Red Hat Product Errata RHSA-2015:0716 normal SHIPPED_LIVE Moderate: openssl security and bug fix update 2015-03-23 23:04:24 EDT
Red Hat Product Errata RHSA-2015:0752 normal SHIPPED_LIVE Moderate: openssl security update 2015-03-30 07:58:28 EDT
Red Hat Product Errata RHSA-2015:0800 normal SHIPPED_LIVE Moderate: openssl security update 2015-04-13 11:54:05 EDT

  None (edit)
Description Martin Prpič 2015-03-16 10:26:59 EDT
A vulnerability existed in previous versions of OpenSSL related to the processing of base64-encoded data. Any code path that reads base64 data from an untrusted source could be affected (such as the PEM processing routines). Maliciously crafted base 64 data could trigger a segmenation fault or memory corruption. This was addressed in previous versions of OpenSSL but has not been included in any security advisory until now.

This issue affects OpenSSL versions 1.0.1, 1.0.0, and 0.9.8. This issue is fixed in versions: 1.0.1h, 1.0.0m, and 0.9.8za.

Acknowledgements:

Red Hat would like to thank the OpenSSL project for reporting this issue. Upstream acknowledges Robert Dugal and David Ramos as the original reporters.
Comment 3 Tomas Hoger 2015-03-17 18:51:56 EDT
There is an integer underflow issue, which can result in the decoded bytes counter to have negative value (in the range of -1 to -16).  That value is subsequently used as memcpy() size argument, leading to attempt to copy close to SIZE_MAX bytes.  Hence program crashes before memcpy() completes.  However, memcpy() target buffer is overflown, so this has some code execution impact risk for e.g. multi-threaded programs.
Comment 8 Tomas Hoger 2015-03-19 15:05:30 EDT
Created openssl tracking bugs for this issue:

Affects: fedora-all [bug 1196738]
Comment 9 Tomas Hoger 2015-03-19 15:05:34 EDT
Created mingw-openssl tracking bugs for this issue:

Affects: fedora-all [bug 1203855]
Affects: epel-7 [bug 1203856]
Comment 10 Fedora Update System 2015-03-22 00:40:11 EDT
openssl-1.0.1k-6.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 11 Fedora Update System 2015-03-22 00:40:49 EDT
openssl-1.0.1k-6.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 12 Fedora Update System 2015-03-23 03:18:13 EDT
openssl-1.0.1e-42.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 14 errata-xmlrpc 2015-03-23 16:51:46 EDT
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6

Via RHSA-2015:0715 https://rhn.redhat.com/errata/RHSA-2015-0715.html
Comment 15 errata-xmlrpc 2015-03-23 19:04:54 EDT
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2015:0716 https://rhn.redhat.com/errata/RHSA-2015-0716.html
Comment 18 errata-xmlrpc 2015-03-30 03:58:47 EDT
This issue has been addressed in the following products:

  Red Hat Storage 2.1

Via RHSA-2015:0752 https://rhn.redhat.com/errata/RHSA-2015-0752.html
Comment 20 errata-xmlrpc 2015-04-13 07:54:34 EDT
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 5

Via RHSA-2015:0800 https://rhn.redhat.com/errata/RHSA-2015-0800.html

Note You need to log in before you can comment on or make changes to this bug.