Vulnerability Details : CVE-2017-10788
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.
Vulnerability category: Memory CorruptionDenial of service
Products affected by CVE-2017-10788
- cpe:2.3:a:dbd-mysql_project:dbd-mysql:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2017-10788
0.56%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 66 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2017-10788
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | AV:N/AC:L/Au:N/C:P/I:P/A:P |
10.0
|
6.4
|
NIST | |
9.8
|
CRITICAL | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST |
CWE ids for CVE-2017-10788
-
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.Assigned by: nvd@nist.gov (Primary)
References for CVE-2017-10788
-
http://www.securityfocus.com/bid/99374
Perl DBD::mysql Module CVE-2017-10788 Use After Free Denial of Service VulnerabilityThird Party Advisory;VDB Entry
-
http://seclists.org/oss-sec/2017/q2/443
oss-sec: MySQL - use-after-free after mysql_stmt_close()Mailing List;VDB Entry
-
https://github.com/perl5-dbi/DBD-mysql/issues/120
DBD::mysql::st DESTROY failed on OpenBSD · Issue #120 · perl5-dbi/DBD-mysql · GitHubThird Party Advisory
Jump to