Vulnerability · Published Dec 24, 2021 · Assigned by snyk

CVE-2021-23772Arbitrary File Write

High 7.5

In plain English

A high-severity security flaw in github.com/kataras/iris. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.9% (higher than 80% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)1.9%top 20.4% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/kataras/irisno fix listedGHSA-jcxc-rh6w-wf49
Gogithub.com/kataras/irisno fix listedGO-2022-0272
Gogithub.com/kataras/iris/v1212.2.0-alpha8GHSA-jcxc-rh6w-wf49
Gogithub.com/kataras/iris/v1212.2.0-alpha8GO-2022-0272

Affected products (as reported)

VendorProductVersions
n/a github.com/kataras/iris 0 – before unspecified
n/a github.com/kataras/iris/v12 0 – before unspecified

References