Skip to content
OpenAdvisories
Medium · 6.5 CVE-2024-21509 EUVD-2024-1089GHSA-49j4-86m8-q2jw

mysql2 vulnerable to Prototype Poisoning

Published Apr 10, 2024 · Updated Aug 22, 2024 · Assigned by snyk

Description

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.

Affected products

VendorProductAffectedFixed
— mysql2 < 3.9.4 3.9.4

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.4 3.9.4 GHSA-49j4-86m8-q2jw

References