Live threats

All CVEs / Sidorares

CVE-2024-21507Sidorares Mysql2

Medium 5.3 No auth needed

Priority
47
CVSS 3.1
5.3
EPSS
0.8%
probability of exploitation in 30 days · percentile 56
Auth required
No
Published
Apr 10, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Mysql2.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm mysql2 < 3.9.3 3.9.3 npm install mysql2@3.9.3

Per OSV / GitHub Advisories (GHSA-mqr2-w7wj-jjgr). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
sidoraresmysql2< 3.9.3

Official sources

References

Links published by the sources. Open them with care.