Bug 1360279 (CVE-2015-8949) - CVE-2015-8949 perl-DBD-MySQL: Use after free when my_login fails
Summary: CVE-2015-8949 perl-DBD-MySQL: Use after free when my_login fails
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2015-8949
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1360280
Blocks: 1360282
TreeView+ depends on / blocked
 
Reported: 2016-07-26 11:55 UTC by Adam Mariš
Modified: 2021-06-29 13:45 UTC (History)
10 users (show)

Fixed In Version: perl-DBD-MySQL 4.0.34
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-08-02 09:07:14 UTC
Embargoed:


Attachments (Terms of Use)

Description Adam Mariš 2016-07-26 11:55:50 UTC
A use-after-free vulnerability in perl-DBD-MySQL was found. When my_login fails, the code tries to call mysql_errno on the mysql connection. However, my_login has already free'd that connection variable, which causes use-after-free error.

Upstream bug:

https://github.com/perl5-dbi/DBD-mysql/pull/45

Upstream patch:

https://github.com/perl5-dbi/DBD-mysql/commit/cf0aa7751f6ef8445e9310a64b14dc81460ca156

CVE request:

http://seclists.org/oss-sec/2016/q3/150

Comment 1 Adam Mariš 2016-07-26 11:56:20 UTC
Created perl-DBD-MySQL tracking bugs for this issue:

Affects: fedora-all [bug 1360280]

Comment 4 Fedora Update System 2016-08-04 20:53:46 UTC
perl-DBD-MySQL-4.035-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2016-08-12 01:24:02 UTC
perl-DBD-MySQL-4.033-2.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.


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