~ / search / GHSA-49j4-86m8-q2jw

GHSA-49j4-86m8-q2jw

mysql2 vulnerable to Prototype Poisoning

Source: GitHub Advisory Database (reviewed) Moderate CVE-2024-21509

Packages

EcosystemPackageAffectedFixed in
npm mysql2 < 3.9.4 3.9.4

Details

As written in the advisory (Markdown source, shown as plain text).

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`.

References

External links from the advisory. They lead to third-party sites.