Advisory

GO-2022-0569

Also known as: CVE-2022-31836, GHSA-95f9-94vc-665h

Summary

Path traversal in github.com/beego/beego and beego/v2

Details

The leafInfo.match() function uses path.join() to deal with wildcard values which can lead to cross directory risk.

Severity

Not rated by the source.

Dates

Published
2022-08-23 13:24 UTC
Modified
2024-05-20 16:03 UTC

Affected packages and fixes

github.com/astaxie/beego

Go · All systems

Affected

  • introduced 0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

github.com/beego/beego

Go · All systems

Affected

  • introduced 0, fixed 1.12.11 (semver)

Fixed versions

1.12.11

Fix

github.com/beego/beego/v2

Go · All systems

Affected

  • introduced 2.0.0, fixed 2.0.4 (semver)

Fixed versions

2.0.4

Fix

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: Go Vulnerability Database · CC BY 4.0

Sources & licences