CVE-2024-21507

Medium

Description

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.

SeverityMedium
CVSS6.5
Exploit probability—
ProductSidorares Mysql2
PublishedApr 10, 2024
First seenApr 10, 2024

How to fix

Update
  • sidorares mysql23.9.3 or later
  • mysql23.9.3 or later

Affected products

ProductAffected versionsFixed in
sidorares mysql2v < 3.9.33.9.3
mysql2npmv < 3.9.33.9.3

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.