Publish GHSA-vg7j-7cwx-8wgw

This commit is contained in:
advisory-database[bot]
2025-01-17 18:04:14 +00:00
parent 4587312781
commit acba20c9c3
@@ -1,13 +1,13 @@
{
"schema_version": "1.4.0",
"id": "GHSA-vg7j-7cwx-8wgw",
"modified": "2025-01-16T14:02:22Z",
"modified": "2025-01-17T18:02:40Z",
"published": "2025-01-15T06:30:49Z",
"aliases": [
"CVE-2025-23061"
],
"summary": "Mongoose search injection vulnerability",
"details": "Mongoose before 8.9.5 can improperly use a nested $where filter with a populate() match, leading to search injection. NOTE: this issue exists because of an incomplete fix for CVE-2024-53900.",
"details": "Mongoose versions prior to 8.9.5, 7.8.4, and 6.13.6 are vulnerable to improper use of the `$where` operator. This vulnerability arises from the ability of the `$where` clause to execute arbitrary JavaScript code in MongoDB queries, potentially leading to code injection attacks and unauthorized access or manipulation of database data.\n\nNOTE: this issue exists because of an incomplete fix for CVE-2024-53900.",
"severity": [
{
"type": "CVSS_V3",
@@ -25,7 +25,7 @@
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
"introduced": "8.0.0-rc0"
},
{
"fixed": "8.9.5"
@@ -33,6 +33,44 @@
]
}
]
},
{
"package": {
"ecosystem": "npm",
"name": "mongoose"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "7.0.0-rc0"
},
{
"fixed": "7.8.4"
}
]
}
]
},
{
"package": {
"ecosystem": "npm",
"name": "mongoose"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "6.13.6"
}
]
}
]
}
],
"references": [
@@ -52,10 +90,34 @@
"type": "WEB",
"url": "https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md"
},
{
"type": "WEB",
"url": "https://github.com/Automattic/mongoose/compare/6.13.5...6.13.6"
},
{
"type": "WEB",
"url": "https://github.com/Automattic/mongoose/compare/7.8.3...7.8.4"
},
{
"type": "WEB",
"url": "https://github.com/Automattic/mongoose/compare/8.9.4...8.9.5"
},
{
"type": "WEB",
"url": "https://github.com/Automattic/mongoose/releases/tag/6.13.6"
},
{
"type": "WEB",
"url": "https://github.com/Automattic/mongoose/releases/tag/7.8.4"
},
{
"type": "WEB",
"url": "https://github.com/Automattic/mongoose/releases/tag/8.9.5"
},
{
"type": "ADVISORY",
"url": "https://github.com/advisories/GHSA-m7xq-9374-9rvx"
},
{
"type": "WEB",
"url": "https://www.npmjs.com/package/mongoose?activeTab=versions"