CVE-2024-21508

Critical

Description

Versions of the package mysql2 before 3.9.4 are vulnerable to Remote Code Execution (RCE) via the readCodeFor function due to improper validation of the supportBigNumbers and bigNumberStrings values.

SeverityCritical
CVSS9.8
Exploit probability—
ProductMysql2
PublishedApr 11, 2024
First seenApr 11, 2024

How to fix

Update
  • mysql23.9.4 or later

Affected products

ProductAffected versionsFixed in
mysql2npmv < 3.9.43.9.4

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.