CVE-2022-0905 Missing Authorization in go-gitea/gitea

Medium 6.5 Published Updated

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.

PackageAffectedFixed in
code.gitea.io/gitea GoAll versions1.16.4
code.gitea.io/gitea GoAll versions1.16.4
code.gitea.io/gitea GoAll versions1.16.4
gitea BitnamiAll versions1.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.

All Gitea Gitea vulnerabilities

Sources

Also known as BIT-gitea-2022-0905, GHSA-jr9c-h74f-2v28, GO-2022-0609.

Is CVE-2022-0905 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free