# CVE-2019-16355: GO-2021-0084 - Incorrect permissions for critical resource in github.com/astaxie/beego

Source: https://junglewise.ai/threats/cve-2019-16354-beego-has-a-file-creation-race-condition  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2021-04-14  
License: CC BY 4.0 with a link back

CVE-2019-16355 · Severity: low · CVSS 3.1 · Published 2021-04-14

Incorrect permissions for critical resource in github.com/astaxie/beego

Technologies: [github.com/astaxie/beego (Go)](https://junglewise.ai/threats/technologies/github-com-astaxie-beego), [github.com/beego/beego (Go)](https://junglewise.ai/threats/technologies/github-com-beego-beego). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2019-16355 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2019-16355 being exploited in the wild.

**How severe is CVE-2019-16355?** Low severity, with a CVSS score of 3.1, published 14 April 2021.

**Which products and versions are affected?** github.com/astaxie/beego (Go) SEMVER:introduced=0,fixed=1.12.2; github.com/beego/beego (Go) SEMVER:introduced=0,fixed=1.12.2.

**Is there a fix for CVE-2019-16355?** Yes. github.com/astaxie/beego (Go): upgrade to 1.12.2 or later; github.com/beego/beego (Go): upgrade to 1.12.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2019-16355?** Check whether you run github.com/astaxie/beego (Go) or github.com/beego/beego (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/astaxie/beego (Go): upgrade to 1.12.2 or later

  ```sh
  go get github.com/astaxie/beego@v1.12.2
  ```

- github.com/beego/beego (Go): upgrade to 1.12.2 or later

  ```sh
  go get github.com/beego/beego@v1.12.2
  ```


## Affected products

- github.com/astaxie/beego (Go) SEMVER:introduced=0,fixed=1.12.2
- github.com/beego/beego (Go) SEMVER:introduced=0,fixed=1.12.2

## Identifiers

- CVE-2019-16355
- CVE-2019-16354
- GHSA-f6px-w8rh-7r89
- GHSA-hf4p-4j9r-3cvx
- GO-2021-0084

## Related threats

- [Beego allows Reflected/Stored XSS in Beego's RenderForm() Function Due to Unescaped User Input](https://junglewise.ai/threats/cve-2025-30223-beego-allows-reflected-stored-xss-in-beego-s-renderform-function)
- [GO-2024-3331 - Beego has Collision Hazards of MD5 in Cache Key Filenames in github.com/beego/beego](https://junglewise.ai/threats/cve-2024-55885-beego-has-collision-hazards-of-md5-in-cache-key-filenames)
- [GO-2022-0569 - Path traversal in github.com/beego/beego and beego/v2](https://junglewise.ai/threats/cve-2022-31836-path-traversal-in-beego)
- [GO-2022-0572 - Access control bypass via incorrect route lookup in github.com/beego/beego and beego/v2](https://junglewise.ai/threats/cve-2021-30080-access-control-bypass-in-beego)
- [GO-2022-0463 - Access control bypass due to broad route matching in github.com/beego/beego and beego/v2](https://junglewise.ai/threats/cve-2022-31259-access-control-bypass-in-beego)
