漏洞描述
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.
影响产品
修复建议
建议关注厂商安全公告,及时升级至已修复版本,并结合实际资产暴露情况采取缓解措施。
参考链接
github.comhttps://github.com/Automattic/mongoose/releases/tag/8.9.5↗github.comhttps://github.com/Automattic/mongoose/commit/64a9f9706f2428c49e0cfb8e223065acc645f7bc↗www.npmjs.comhttps://www.npmjs.com/package/mongoose?activeTab=versions↗github.comhttps://github.com/Automattic/mongoose/blob/master/CHANGELOG.md↗