Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWY2cHgtdzhyaC03cjg5
Beego has a file creation race condition
The File Session Manager in Beego 1.10.0 allows local users to read session files because there is a race condition involving file creation within a directory with weak permissions.
Permalink: https://github.com/advisories/GHSA-f6px-w8rh-7r89JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWY2cHgtdzhyaC03cjg5
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: over 2 years ago
Updated: 7 months ago
CVSS Score: 4.7
CVSS vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
Identifiers: GHSA-f6px-w8rh-7r89, CVE-2019-16354
References:
- https://nvd.nist.gov/vuln/detail/CVE-2019-16354
- https://github.com/astaxie/beego/issues/3763
- https://github.com/beego/beego/issues/3763
- https://github.com/beego/beego/pull/3975/commits/f99cbe0fa40936f2f8dd28e70620c559b6e5e2fd
- https://github.com/beego/beego/pull/3975
- https://github.com/beego/beego/commit/bac2b31afecc65d9a89f9e473b8006c5edc0c8d1
- https://pkg.go.dev/vuln/GO-2021-0084
- https://github.com/astaxie/beego/commit/f99cbe0fa40936f2f8dd28e70620c559b6e5e2fd
- https://github.com/astaxie/beego/blob/v1.12.2/session/sess_file.go#L142
- https://github.com/advisories/GHSA-f6px-w8rh-7r89
Blast Radius: 15.2
Affected Packages
go:github.com/astaxie/beego
Dependent packages: 1,620Dependent repositories: 1,754
Downloads:
Affected Version Ranges: < 1.12.2
Fixed in: 1.12.2
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
All unaffected versions: 1.12.2, 1.12.3
go:github.com/beego/beego
Dependent packages: 23Dependent repositories: 83
Downloads:
Affected Version Ranges: < 1.12.2
Fixed in: 1.12.2
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
All unaffected versions: 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, 1.12.11, 1.12.12