{"id":"GHSA-f6px-w8rh-7r89","summary":"Beego has a file creation race condition","details":"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.","aliases":["CVE-2019-16354","CVE-2019-16355","GHSA-hf4p-4j9r-3cvx","GO-2021-0084"],"modified":"2024-02-13T18:41:29.594887Z","published":"2021-08-02T17:15:05Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2021-07-22T21:51:41Z","nvd_published_at":"2019-09-16T15:15:00Z","cwe_ids":["CWE-362","CWE-732"],"severity":"MODERATE"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-16354"},{"type":"WEB","url":"https://github.com/astaxie/beego/issues/3763"},{"type":"WEB","url":"https://github.com/beego/beego/issues/3763"},{"type":"WEB","url":"https://github.com/beego/beego/pull/3975"},{"type":"WEB","url":"https://github.com/beego/beego/pull/3975/commits/f99cbe0fa40936f2f8dd28e70620c559b6e5e2fd"},{"type":"WEB","url":"https://github.com/astaxie/beego/commit/f99cbe0fa40936f2f8dd28e70620c559b6e5e2fd"},{"type":"WEB","url":"https://github.com/beego/beego/commit/bac2b31afecc65d9a89f9e473b8006c5edc0c8d1"},{"type":"PACKAGE","url":"https://github.com/astaxie/beego"},{"type":"WEB","url":"https://github.com/astaxie/beego/blob/v1.12.2/session/sess_file.go#L142"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2021-0084"}],"affected":[{"package":{"name":"github.com/beego/beego","ecosystem":"Go","purl":"pkg:golang/github.com/beego/beego"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.12.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-f6px-w8rh-7r89/GHSA-f6px-w8rh-7r89.json"}},{"package":{"name":"github.com/astaxie/beego","ecosystem":"Go","purl":"pkg:golang/github.com/astaxie/beego"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.12.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-f6px-w8rh-7r89/GHSA-f6px-w8rh-7r89.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"}]}