Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS05NWY5LTk0dmMtNjY1aM4AAtG_

Path Traversal in Beego

The leafInfo.match() function in Beego v2.0.3 and below uses path.join() to deal with wildcardvalues which can lead to cross directory risk.

Permalink: https://github.com/advisories/GHSA-95f9-94vc-665h
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS05NWY5LTk0dmMtNjY1aM4AAtG_
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: almost 2 years ago
Updated: 8 months ago


CVSS Score: 9.8
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Identifiers: GHSA-95f9-94vc-665h, CVE-2022-31836
References: Repository: https://github.com/beego/beego
Blast Radius: 25.4

Affected Packages

go:github.com/beego/beego/v2
Dependent packages: 252
Dependent repositories: 395
Downloads:
Affected Version Ranges: >= 2.0.0, < 2.0.4
Fixed in: 2.0.4
All affected versions: 2.0.0, 2.0.1, 2.0.2, 2.0.3
All unaffected versions: 2.0.4, 2.0.5, 2.0.6, 2.0.7, 2.1.0, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.1.5
go:github.com/beego/beego
Dependent packages: 23
Dependent repositories: 83
Downloads:
Affected Version Ranges: < 1.12.11
Fixed in: 1.12.11
All affected versions: 0.6.0, 0.7.0, 0.8.0, 0.9.0, 1.0.1, 1.2.0, 1.3.0, 1.4.0, 1.4.1, 1.4.2, 1.4.3, 1.5.0, 1.6.0, 1.6.1, 1.7.0, 1.7.1, 1.7.2, 1.8.0, 1.8.1, 1.8.2, 1.8.3, 1.9.0, 1.9.2, 1.10.0, 1.10.1, 1.11.0, 1.11.1, 1.12.0, 1.12.1, 1.12.2, 1.12.3, 1.12.4, 1.12.5, 1.12.6, 1.12.7, 1.12.8, 1.12.9, 1.12.10
All unaffected versions: 1.12.11, 1.12.12