From 35b37425a04440e21f6a61b7c4d3af6f6bd422c3 Mon Sep 17 00:00:00 2001 From: "advisory-database[bot]" <45398580+advisory-database[bot]@users.noreply.github.com> Date: Thu, 30 May 2024 18:35:32 +0000 Subject: [PATCH] Publish GHSA-pmh2-wpjm-fj45 --- .../GHSA-pmh2-wpjm-fj45.json | 73 +++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 advisories/github-reviewed/2024/05/GHSA-pmh2-wpjm-fj45/GHSA-pmh2-wpjm-fj45.json diff --git a/advisories/github-reviewed/2024/05/GHSA-pmh2-wpjm-fj45/GHSA-pmh2-wpjm-fj45.json b/advisories/github-reviewed/2024/05/GHSA-pmh2-wpjm-fj45/GHSA-pmh2-wpjm-fj45.json new file mode 100644 index 00000000000..be2685fb2e0 --- /dev/null +++ b/advisories/github-reviewed/2024/05/GHSA-pmh2-wpjm-fj45/GHSA-pmh2-wpjm-fj45.json @@ -0,0 +1,73 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-pmh2-wpjm-fj45", + "modified": "2024-05-30T18:34:32Z", + "published": "2024-05-30T18:34:32Z", + "aliases": [ + "CVE-2024-21512" + ], + "summary": "mysql2 vulnerable to Prototype Pollution", + "details": "Versions of the package mysql2 before 3.9.8 are vulnerable to Prototype Pollution due to improper user input sanitization passed to fields and tables when using nestTables.", + "severity": [ + { + "type": "CVSS_V3", + "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L" + } + ], + "affected": [ + { + "package": { + "ecosystem": "npm", + "name": "mysql2" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0" + }, + { + "fixed": "3.9.8" + } + ] + } + ] + } + ], + "references": [ + { + "type": "ADVISORY", + "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-21512" + }, + { + "type": "WEB", + "url": "https://github.com/sidorares/node-mysql2/pull/2702" + }, + { + "type": "WEB", + "url": "https://github.com/sidorares/node-mysql2/commit/efe3db527a2c94a63c2d14045baba8dfefe922bc" + }, + { + "type": "WEB", + "url": "https://gist.github.com/domdomi3/e9f0f9b9b1ed6bfbbc0bea87c5ca1e4a" + }, + { + "type": "PACKAGE", + "url": "https://github.com/sidorares/node-mysql2" + }, + { + "type": "WEB", + "url": "https://security.snyk.io/vuln/SNYK-JS-MYSQL2-6861580" + } + ], + "database_specific": { + "cwe_ids": [ + "CWE-1321" + ], + "severity": "HIGH", + "github_reviewed": true, + "github_reviewed_at": "2024-05-30T18:34:32Z", + "nvd_published_at": "2024-05-29T05:16:08Z" + } +} \ No newline at end of file