Security mailing lists by PureSourceCode

CVE-2024-21509

MEDIUM 6.5CVSS 3.1

mysql2 vulnerable to Prototype Poisoning

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.

Published
10 Apr 2024
Last modified
10 Sep 2026
Assigned by
report@snyk.io
NVD status
Analyzed
Weakness
CWE-1321
Also known as
GHSA-49j4-86m8-q2jw
Sources
NVDJSONOSV GHSA-49j4-86m8-q2jwJSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
NVD report@snyk.io (Secondary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
OSV GitHub CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD sidorares mysql2
cpe:2.3:a:sidorares:mysql2:*:*:*:*:*:*:*:*
< 3.9.4 3.9.4
OSV npm mysql2 < 3.9.4 3.9.4

References

History

  • 25 Nov 2026 20:55 UTC · NVD: first stored (published 10 Apr 2024)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 10 Apr 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.