原始 OSV JSON{
"id": "GHSA-8687-vv9j-hgph",
"aliases": [
"CVE-2019-17426"
],
"details": "Automattic Mongoose through 5.7.4 allows attackers to bypass access control (in some applications) because any query object with a `_bsontype` attribute is ignored. For example, adding `\"_bsontype\":\"a\"` can sometimes interfere with a query filter. NOTE: this CVE is about Mongoose's failure to work around this _bsontype special case that exists in older versions of the bson parser (aka the mongodb/js-bson project).",
"summary": "Improper Input Validation in Automattic Mongoose",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.0.0"
},
{
"fixed": "5.7.5"
}
]
}
],
"package": {
"name": "mongoose",
"ecosystem": "npm"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.13.21"
}
]
}
],
"package": {
"name": "mongoose",
"ecosystem": "npm"
}
}
],
"modified": "2023-11-29T22:07:26Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
}
],
"published": "2019-10-22T20:19:54Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2019-17426",
"type": "ADVISORY"
},
{
"url": "https://github.com/Automattic/mongoose/issues/8222",
"type": "WEB"
},
{
"url": "https://github.com/Automattic/mongoose/commit/f3eca5b94d822225c04e96cbeed9f095afb3c31c",
"type": "WEB"
},
{
"url": "https://github.com/Automattic/mongoose/commit/f88eb2524b65a68ff893c90a03c04f0913c1913e",
"type": "WEB"
},
{
"url": "https://github.com/Automattic/mongoose",
"type": "PACKAGE"
},
{
"url": "https://github.com/Automattic/mongoose/commits/4.13.21",
"type": "WEB"
},
{
"url": "https://github.com/Automattic/mongoose/releases/tag/4.13.21",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-20"
],
"severity": "CRITICAL",
"github_reviewed": true,
"nvd_published_at": "2019-10-10T02:05:00Z",
"github_reviewed_at": "2019-10-14T18:05:37Z"
}
}