CVE-2022-0905 Missing Authorization in go-gitea/gitea
Attackers can access or modify data without proper authorization in Gitea Git service instances.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-0905?
CVE-2022-0905 is a medium-severity missing authorization vulnerability in Gitea Gitea, published on 10 Mar 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Missing Authorization in GitHub repository go-gitea/gitea prior to 1.16.4.
Weakness: CWE-862
Which versions are affected by CVE-2022-0905?
4 open source packages ship an affected version, including code.gitea.io/gitea and gitea. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
code.gitea.io/gitea Go | All versions | 1.16.4 |
code.gitea.io/gitea Go | All versions | 1.16.4 |
code.gitea.io/gitea Go | All versions | 1.16.4 |
gitea Bitnami | All versions | 1.16.4 |
Products include Gitea Gitea.
How do I fix CVE-2022-0905?
Upgrade code.gitea.io/gitea to 1.16.4 or later.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2022-0905 being exploited?
There is no known exploitation of CVE-2022-0905 in the wild and no public exploit code.
Other vulnerabilities in Gitea Gitea
Sources
Also known as BIT-gitea-2022-0905, GHSA-jr9c-h74f-2v28, GO-2022-0609.