CVE-2019-16354
MEDIUM4.7EPSS 0.03%Beego has a file creation race condition
Published: 8/2/2021Modified: 2/13/2024
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.
Affected packages (5)
- Go/github.com/astaxie/beegofrom 0, < 1.12.2
- Go/github.com/astaxie/beegofrom 0, < 1.12.2
- Go/github.com/astaxie/beegofrom 0, < 1.12.2
- Go/github.com/beego/beegofrom 0, < 1.12.2
- Go/github.com/beego/beegofrom 0, < 1.12.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM4.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N |
References (11)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2019-16354
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2019-16355
- PATCHhttps://github.com/astaxie/beego
- WEBhttps://github.com/astaxie/beego/blob/v1.12.2/session/sess_file.go#L142
- WEBhttps://github.com/astaxie/beego/commit/f99cbe0fa40936f2f8dd28e70620c559b6e5e2fd
- WEBhttps://github.com/astaxie/beego/issues/3763
- WEBhttps://github.com/beego/beego/commit/bac2b31afecc65d9a89f9e473b8006c5edc0c8d1
- WEBhttps://github.com/beego/beego/issues/3763
- WEBhttps://github.com/beego/beego/pull/3975
- WEBhttps://github.com/beego/beego/pull/3975/commits/f99cbe0fa40936f2f8dd28e70620c559b6e5e2fd
- WEBhttps://pkg.go.dev/vuln/GO-2021-0084