https://bugzilla.redhat.com/show_bug.cgi?id=1467600
Bug ID: 1467600 Summary: CVE-2017-10788 perl-DBD-MySQL: Use-after-free when calling mysql_stmt_error() after mysql_stmt_close() Product: Security Response Component: vulnerability Keywords: Security Severity: medium Priority: medium Assignee: security-response-team@redhat.com Reporter: amaris@redhat.com CC: hhorak@redhat.com, jorton@redhat.com, jplesnik@redhat.com, perl-devel@lists.fedoraproject.org, perl-maint-list@redhat.com, ppisar@redhat.com, psabata@redhat.com
The DBD::mysql module through 4.043 for Perl allows remote attackers to cause a denial of service (use-after-free and application crash) or possibly have unspecified other impact by triggering (1) certain error responses from a MySQL server or (2) a loss of a network connection to a MySQL server. The use-after-free defect was introduced by relying on incorrect Oracle mysql_stmt_close documentation and code examples.
Upstream bug:
https://github.com/perl5-dbi/DBD-mysql/issues/120
References:
http://seclists.org/oss-sec/2017/q2/443
https://bugzilla.redhat.com/show_bug.cgi?id=1467600
Adam Mariš amaris@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |1467607 Depends On| |1467608
--- Comment #1 from Adam Mariš amaris@redhat.com --- Created perl-DBD-MySQL tracking bugs for this issue:
Affects: fedora-all [bug 1467608]
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1467608 [Bug 1467608] CVE-2017-10788 CVE-2017-10789 perl-DBD-MySQL: various flaws [fedora-all]
https://bugzilla.redhat.com/show_bug.cgi?id=1467600
Jitka Plesnikova jplesnik@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |MODIFIED Fixed In Version| |perl-DBD-MySQL-4.043-1.fc27
https://bugzilla.redhat.com/show_bug.cgi?id=1467600
Tomas Hoger thoger@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |NEW Fixed In Version|perl-DBD-MySQL-4.043-1.fc27 |
https://bugzilla.redhat.com/show_bug.cgi?id=1467600
--- Comment #3 from Stefan Cornelius scorneli@redhat.com --- Patch: https://github.com/perl5-dbi/DBD-mysql/files/1116951/0001-Fix-use-after-free...
https://bugzilla.redhat.com/show_bug.cgi?id=1467600
Stefan Cornelius scorneli@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Whiteboard|impact=moderate,public=2017 |impact=moderate,public=2017 |0608,reported=20170608,sour |0608,reported=20170608,sour |ce=oss-security,cvss3=5.9/C |ce=oss-security,cvss3=5.9/C |VSS:3.0/AV:N/AC:H/PR:N/UI:N |VSS:3.0/AV:N/AC:H/PR:N/UI:N |/S:U/C:N/I:N/A:H,cwe=CWE-41 |/S:U/C:N/I:N/A:H,cwe=CWE-41 |6,rhel-5/perl-DBD-MySQL=new |6,rhel-5/perl-DBD-MySQL=won |,rhel-6/perl-DBD-MySQL=new, |tfix,rhel-6/perl-DBD-MySQL= |rhel-7/perl-DBD-MySQL=new,r |wontfix,rhel-7/perl-DBD-MyS |hscl-2/rh-perl520-perl-DBD- |QL=wontfix,rhscl-2/rh-perl5 |MySQL=new,rhscl-2/rh-perl52 |20-perl-DBD-MySQL=wontfix,r |4-perl-DBD-MySQL=new,fedora |hscl-2/rh-perl524-perl-DBD- |-all/perl-DBD-MySQL=affecte |MySQL=wontfix,fedora-all/pe |d |rl-DBD-MySQL=affected
https://bugzilla.redhat.com/show_bug.cgi?id=1467600
--- Comment #4 from Stefan Cornelius scorneli@redhat.com --- Statement:
Red Hat Product Security has rated this issue as having Moderate security impact. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.
https://bugzilla.redhat.com/show_bug.cgi?id=1467600
Stefan Cornelius scorneli@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution|--- |WONTFIX Last Closed| |2017-08-31 04:40:19
https://bugzilla.redhat.com/show_bug.cgi?id=1467600 Bug 1467600 depends on bug 1467608, which changed state.
Bug 1467608 Summary: CVE-2017-10788 CVE-2017-10789 perl-DBD-MySQL: various flaws [fedora-all] https://bugzilla.redhat.com/show_bug.cgi?id=1467608
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |CLOSED Resolution|--- |EOL
https://bugzilla.redhat.com/show_bug.cgi?id=1467600 Bug 1467600 depends on bug 1467608, which changed state.
Bug 1467608 Summary: CVE-2017-10788 CVE-2017-10789 perl-DBD-MySQL: various flaws [fedora-all] https://bugzilla.redhat.com/show_bug.cgi?id=1467608
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |NEW Resolution|EOL |---
https://bugzilla.redhat.com/show_bug.cgi?id=1467600 Bug 1467600 depends on bug 1467608, which changed state.
Bug 1467608 Summary: CVE-2017-10788 CVE-2017-10789 perl-DBD-MySQL: various flaws [fedora-all] https://bugzilla.redhat.com/show_bug.cgi?id=1467608
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution|--- |WORKSFORME
perl-devel@lists.fedoraproject.org