Skip to content
OpenAdvisories
High · 8.2 CVE-2024-21512 EUVD-2024-1718GHSA-pmh2-wpjm-fj45

mysql2 vulnerable to Prototype Pollution

Published May 29, 2024 · Updated Aug 1, 2024 · Assigned by snyk

Description

Versions of the package mysql2 before 3.9.8 are vulnerable to Prototype Pollution due to improper user input sanitization passed to fields and tables when using nestTables.

Affected products

VendorProductAffectedFixed
— mysql2 < 3.9.8 3.9.8
— org.webjars.npm:mysql2 — —

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.3-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm mysql2 < 3.9.8 3.9.8 GHSA-pmh2-wpjm-fj45

References