原始 OSV JSON{
"id": "GHSA-jcxc-rh6w-wf49",
"aliases": [
"CVE-2021-23772"
],
"details": "This affects all versions of package github.com/kataras/iris; all versions of package github.com/kataras/iris/v12. The unsafe handling of file names during upload using UploadFormFiles method may enable attackers to write to arbitrary locations outside the designated target folder.",
"summary": "Link Following in Iris",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "12.2.0-alpha8"
}
]
}
],
"package": {
"name": "github.com/kataras/iris/v12",
"ecosystem": "Go"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"last_affected": "0.0.2"
}
]
}
],
"package": {
"name": "github.com/kataras/iris",
"ecosystem": "Go"
}
}
],
"modified": "2022-01-05T18:09:47Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"published": "2022-01-06T21:36:19Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-23772",
"type": "ADVISORY"
},
{
"url": "https://github.com/kataras/iris/commit/e213dba0d32ff66653e0ef124bc5088817264b08",
"type": "WEB"
},
{
"url": "https://github.com/kataras/iris",
"type": "PACKAGE"
},
{
"url": "https://pkg.go.dev/vuln/GO-2022-0272",
"type": "WEB"
},
{
"url": "https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMKATARASIRIS-2325169",
"type": "WEB"
},
{
"url": "https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMKATARASIRISV12-2325170",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-59"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2021-12-24T12:15:00Z",
"github_reviewed_at": "2022-01-05T18:09:47Z"
}
}