CVE-2024-21507: mysql2 vulnerability

CVE-2024-21507: medium vulnerability affecting mysql2. Check CVSS, KEV status, business impact and recommended administrator actions.
CVE-2024-21507CVSS 6.5Database

CVE-2024-21507: mysql2 vulnerability

CVE-2024-21507: medium vulnerability affecting mysql2. Check CVSS, KEV status, business impact and recommended administrator actions.

CVSS
6.5 MEDIUM
EPSS
50.98%
Known exploited
not in KEV
Product
mysql2

What is known

Versions of the package mysql2 before 3.9.3 are vulnerable to Improper Input Validation through the keyFromFields function, resulting in cache poisoning. An attacker can inject a colon (:) character within a value of the attacker-crafted key.

Business impact

Successful exploitation of CVE-2024-21507, a medium vulnerability (CVSS 6.5) affecting mysql2, may affect the confidentiality, integrity or availability of the vulnerable environment. The exact impact depends on the installed version, exposed interfaces and deployment configuration.

Recommended administrator action

Confirm whether mysql2 is present and compare installed versions with the vendor advisory and NVD record. Apply the vendor patch or documented mitigation; until remediation is complete, reduce exposure of affected interfaces, review relevant logs and monitor for indicators of exploitation. DataHouse can support version verification, managed patching, network exposure reduction, log review and backup validation for dedicated, cloud and colocated environments.

Sources

Security newsletter

Get new CVE alerts before they become an incident

We send selected infrastructure threats in English, with practical notes for DataHouse environments.

  • DataHouse: server administration and secure cloud
  • Hostilla.pl: hosting and mail services
  • SecDNS.pl: free DNS security layer