GHSA-mqr2-w7wj-jjgr

Suggest an improvement
Source
https://github.com/advisories/GHSA-mqr2-w7wj-jjgr
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/04/GHSA-mqr2-w7wj-jjgr/GHSA-mqr2-w7wj-jjgr.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-mqr2-w7wj-jjgr
Aliases
Related
Published
2024-04-10T15:30:39Z
Modified
2024-08-02T15:40:05Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L CVSS Calculator
  • 6.9 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N CVSS Calculator
Summary
mysql2 cache poisoning vulnerability
Details

Versions of the package mysql2 before 3.9.3 are vulnerable to Improper Input Validation through the keyFromFields function, resulting in cache poisoning. An attacker can inject a colon : character within a value of the attacker-crafted key.

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

Affected packages

npm / mysql2

Package

Affected ranges

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