GitHub Advisoryadvisory · Go
GHSA-f6px-w8rh-7r89 Beego has a file creation race condition
MEDIUM
Official page ↗
- Aliases
- CVE-2019-16354
- Ecosystem
- Go
- Packages
- github.com/beego/beego, github.com/astaxie/beego
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-362, CWE-732
- Reviewed
- 2021-07-22
Affected packages
• Go github.com/beego/beego: < 1.12.2 → fixed in 1.12.2
• Go github.com/astaxie/beego: < 1.12.2 → fixed in 1.12.2
Description
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.
Related
Alias · CVE (1)
- CVE-2019-16354 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… vulnerability
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-16354 advisory
- https://github.com/astaxie/beego/issues/3763 web
- https://github.com/beego/beego/issues/3763 web
- https://github.com/beego/beego/pull/3975 web
- https://github.com/beego/beego/pull/3975/commits/f99cbe0fa40936f2f8dd28e70620c559b6e5e2fd web
- https://github.com/astaxie/beego/commit/f99cbe0fa40936f2f8dd28e70620c559b6e5e2fd web
- https://github.com/beego/beego/commit/bac2b31afecc65d9a89f9e473b8006c5edc0c8d1 web
- https://github.com/astaxie/beego package
- https://github.com/astaxie/beego/blob/v1.12.2/session/sess_file.go#L142 web
- https://pkg.go.dev/vuln/GO-2021-0084 web