GHSA-4rch-2fh8-94vw

Source
https://github.com/advisories/GHSA-4rch-2fh8-94vw
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/04/GHSA-4rch-2fh8-94vw/GHSA-4rch-2fh8-94vw.json
Aliases
Published
2024-04-23T06:30:47Z
Modified
2024-04-23T21:11:53.942953Z
Summary
MySQL2 for Node Arbitrary Code Injection
Details

Versions of the package mysql2 before 3.9.7 are vulnerable to Arbitrary Code Injection due to improper sanitization of the timezone parameter in the readCodeFor function by calling a native MySQL Server date/time function.

References

Affected packages

npm / mysql2

Package

Name
mysql2

Affected ranges

Type
SEMVER
Events
Introduced
0The exact introduced commit is unknown
Fixed
3.9.7