原始 OSV JSON{
"id": "GHSA-6gp3-h3jj-prx4",
"aliases": [
"CVE-2020-7637"
],
"details": "class-transformer through 0.2.3 is vulnerable to Prototype Pollution. The 'classToPlainFromExist' function could be tricked into adding or modifying properties of 'Object.prototype' using a '__proto__' payload.",
"summary": "Prototype pollution in class-transformer",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.3.1"
}
]
}
],
"package": {
"name": "class-transformer",
"ecosystem": "npm"
}
}
],
"modified": "2022-04-28T17:58:13Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
}
],
"published": "2020-04-07T15:47:40Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2020-7637",
"type": "ADVISORY"
},
{
"url": "https://github.com/typestack/class-transformer/commit/8f04eb9db02de708f1a20f6f2d2bb309b2fed01e",
"type": "WEB"
},
{
"url": "https://github.com/typestack/class-transformer",
"type": "PACKAGE"
},
{
"url": "https://github.com/typestack/class-transformer/blob/a650d9f490573443f62508bc063b857bcd5e2525/src/ClassTransformer.ts#L29-L31,",
"type": "WEB"
},
{
"url": "https://snyk.io/vuln/SNYK-JS-CLASSTRANSFORMER-564431",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-1321",
"CWE-915"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2020-04-06T13:15:00Z",
"github_reviewed_at": "2020-04-07T15:46:31Z"
}
}