CVE-2019-16354 json
Incorrect Default Permissions in Beego
published 2019-09-16 7 y ago modified 2026-06-17 4 mo ago also CVE-2019-16355 , GHSA-f6px-w8rh-7r89 , GHSA-hf4p-4j9r-3cvx , GO-2021-0084 , EUVD-2021-1694
- cvss
- 4.7
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 9%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/beego/beego 1.12.2
- go github.com/astaxie/beego 1.12.2
- github.com/beego/beego#3975 commit
- github.com/beego/beego@bac2b31 commit
- github.com/astaxie/beego@f99cbe0 commit
- github.com/beego/beego#3975 pull request
Exploit prediction
0.20% chance of exploitation in the next 30 days, higher than 9% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 4.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 1.9 | AV:L/AC:M/Au:N/C:P/I:N/A:N |
| GitHub | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 4.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/beego/beego | <1.12.2 |
1.12.2 |
| go | github.com/astaxie/beego | <1.12.2 |
1.12.2 |
Classification
References
-
github.com
/beego/beego/pull/3975
web, patch
-
github.com
/beego/beego/pull/3975/commits/f99cbe0fa40936f2f8dd28e70620c559b6e5e2fd
web
-
github.com
/beego/beego/commit/bac2b31afecc65d9a89f9e473b8006c5edc0c8d1
web, patch
-
github.com
/astaxie/beego/commit/f99cbe0fa40936f2f8dd28e70620c559b6e5e2fd
web
-
github.com
/astaxie/beego/issues/3763
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2019-16355
advisory
-
github.com
/beego/beego/issues/3763
web
-
nvd.nist.gov
/vuln/detail/CVE-2019-16354
advisory
-
github.com
/astaxie/beego
package
-
github.com
/astaxie/beego/blob/v1.12.2/session/sess_file.go#L142
web
-
pkg.go.dev
/vuln/GO-2021-0084
web
Sources
- CVE List CVE-2019-16354
- GitHub Advisory GHSA-hf4p-4j9r-3cvx
- GitHub Advisory GHSA-f6px-w8rh-7r89
- NVD CVE-2019-16354
- OSV GO-2021-0084
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.