CVE-2024-21507

mysql2: Improper Input Validation

Published Apr 10, 2024 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-1251 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.
Github GHSA Github GHSA GHSA-mqr2-w7wj-jjgr mysql2 cache poisoning vulnerability
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00206}

epss

{'score': 0.00341}

Type Values Removed Values Added
First Time appeared Sidorares
Sidorares mysql2
CPEs cpe:2.3:a:sidorares:mysql2:*:*:*:*:*:*:*:*
Vendors & Products Sidorares
Sidorares mysql2
Type Values Removed Values Added
First Time appeared Mysqljs
Mysqljs mysql2
CPEs cpe:2.3:a:mysqljs:mysql2:*:*:*:*:*:*:*:*
Vendors & Products Mysqljs
Mysqljs mysql2
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
snyk
Published
Updated
Sep 18, 2024, 2:46 PM
Reserved
Dec 22, 2023, 12:33 PM
Status
Analyzed
Published
Apr 10, 2024, 5:15 AM
Modified
Jun 17, 2026, 7:09 AM
Severity
Moderate
Public date
Apr 10, 2024, 12:00 AM