CVE-2017-10788 Use after free in n/a

Critical 9.8 Published Updated

Remote attackers can cause denial of service via use-after-free in the Perl DBD::mysql module by triggering specific MySQL server errors or network disconnects.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2017-10788?

CVE-2017-10788 is a critical use after free vulnerability in n/a, published on 1 Jul 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-416

Which versions are affected by CVE-2017-10788?

It affects 1 product.

Products include Dbd-Mysql Project Dbd-Mysql.

How do I fix CVE-2017-10788?

Upgrade to a fixed version.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2017-10788 being exploited?

There is no known exploitation of CVE-2017-10788 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2017-10788, GHSA-hx52-v9vv-vhp2, UBUNTU-CVE-2017-10788.

Is CVE-2017-10788 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free