Skip to content
OpenAdvisories
Medium · 6.5 CVE-2024-21507 EUVD-2024-1251GHSA-mqr2-w7wj-jjgr

mysql2 cache poisoning vulnerability

Published Apr 10, 2024 · Updated Sep 18, 2024 · Assigned by snyk

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.

Affected products

VendorProductAffectedFixed
— mysql2 < 3.9.3 3.9.3

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling sqlpad +1 7.4.1-r4 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm mysql2 < 3.9.3 3.9.3 GHSA-mqr2-w7wj-jjgr

References