GHSA-49j4-86m8-q2jw

Suggest an improvement
Source
https://github.com/advisories/GHSA-49j4-86m8-q2jw
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/04/GHSA-49j4-86m8-q2jw/GHSA-49j4-86m8-q2jw.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-49j4-86m8-q2jw
Aliases
Related
Published
2024-04-10T15:30:39Z
Modified
2024-09-11T06:13:01.858085Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L CVSS Calculator
  • 6.9 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
mysql2 vulnerable to Prototype Poisoning
Details

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.

Database specific
{
    "nvd_published_at": "2024-04-10T05:15:48Z",
    "cwe_ids": [
        "CWE-1321"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2024-04-12T13:50:12Z"
}
References

Affected packages

npm / mysql2

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.9.4