Live threats

All CVEs / Sidorares

CVE-2024-21509Sidorares Mysql2

Medium 6.5 No auth needed

Priority
54
CVSS 3.1
6.5
EPSS
1.2%
probability of exploitation in 30 days · percentile 69
Auth required
No
Published
Apr 10, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-1321
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:L

What happens

Versions of the package mysql2 before 3.9.4 are vulnerable to Prototype Poisoning due to insecure results object creation and improper user input sanitization passed through parserFn in text_parser.js and binary_parser.js.

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.4 3.9.4 npm install mysql2@3.9.4

Per OSV / GitHub Advisories (GHSA-49j4-86m8-q2jw). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
sidoraresmysql2< 3.9.4

Official sources

References

Links published by the sources. Open them with care.