CVE-2019-14544 Insecure Permissions in Gogs
Attackers can modify deploy keys, collaborators, and hooks without permission checks in Gogs, leading to unauthorized repository changes.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2019-14544?
CVE-2019-14544 is a critical missing authorization vulnerability in n/a, published on 2 Aug 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
routes/api/v1/api.go in Gogs 0.11.86 lacks permission checks for routes: deploy keys, collaborators, and hooks.
Weakness: CWE-862
Which versions are affected by CVE-2019-14544?
3 open source packages ship an affected version, including gogs.io/gogs. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
gogs.io/gogs Go | All versions | 0.11.91 |
gogs.io/gogs Go | All versions | 0.11.91 |
gogs.io/gogs Go | All versions | 0.11.91 |
Products include Gogs Gogs.
How do I fix CVE-2019-14544?
Upgrade gogs.io/gogs to 0.11.91 or later.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2019-14544 being exploited?
There is no known exploitation of CVE-2019-14544 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-5r2v-6gm6-vpvh, GO-2022-0797.