NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2024-21507: mysql2 cache poisoning vulnerability

mediumCVSS 4.0 6.9 · 3.1 6.5GHSA-mqr2-w7wj-jjgr

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.

Published Apr 10, 2024 · Updated Aug 2, 2024

Affected packages

mysql2

Ecosystem
npm
Affected
< 3.9.3
Fixed in
3.9.3
Check
npm ls mysql2

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More npm vulnerabilities

All npm entries