CVE-2021-23772

Source
https://cve.org/CVERecord?id=CVE-2021-23772
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-23772.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-23772
Aliases
Related
  • SNYK-GOLANG-GITHUBCOMKATARASIRIS-2325169
  • SNYK-GOLANG-GITHUBCOMKATARASIRISV12-2325170
Published
2021-12-24T12:15:07.697Z
Modified
2026-03-14T14:50:57.630501Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
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.

References

Affected packages

Git / github.com/kataras/iris

Affected ranges

Type
GIT
Repo
https://github.com/kataras/iris
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Fixed
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "12.1.8"
        }
    ]
}

Affected versions

v12.*
v12.0.0
v12.0.1
v12.1.0
v12.1.1
v12.1.2
v12.1.3
v12.1.4
v12.1.5
v12.1.6
v12.1.7
v12.1.8

Database specific

unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "12.2.0-alpha"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "12.2.0-alpha2"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "12.2.0-alpha3"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "12.2.0-alpha4"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "12.2.0-alpha5"
            }
        ]
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-23772.json"