Advisory

GHSA-jcxc-rh6w-wf49

Also known as: CVE-2021-23772, GO-2022-0272

Summary

Link Following in Iris

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-01-06 21:36 UTC
Modified
2025-01-14 09:12 UTC

Affected packages and fixes

github.com/kataras/iris/v12

Go · All systems

Affected

  • introduced 0, fixed 12.2.0-alpha8 (semver)

Fixed versions

12.2.0-alpha8

Fix

github.com/kataras/iris

Go · All systems

Affected

  • introduced 0, last affected 0.0.2 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences