CVE-2022-38183 Gitea allowed assignment of private issues
Attackers can assign private issues to projects without permission, exposing private issue titles in Gitea.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-38183?
CVE-2022-38183 is a medium-severity missing authorization vulnerability in Gitea Gitea, published on 12 Aug 2022. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
In Gitea before 1.16.9, it was possible for users to add existing issues to projects. Due to improper access controls, an attacker could assign any issue to any project in Gitea (there was no permission check for fetching the issue). As a result, the attacker would get access to private issue titles.
Weakness: CWE-862
Which versions are affected by CVE-2022-38183?
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.9 |
code.gitea.io/gitea Go | All versions | 1.16.9 |
code.gitea.io/gitea Go | All versions | 1.16.9 |
gitea Bitnami | All versions | 1.16.9 |
Products include Gitea Gitea.
How do I fix CVE-2022-38183?
Upgrade code.gitea.io/gitea to 1.16.9 or later.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2022-38183 being exploited?
There is no known exploitation of CVE-2022-38183 in the wild and no public exploit code.
Other vulnerabilities in Gitea Gitea
Sources
Also known as BIT-gitea-2022-38183, GHSA-fhv8-m4j4-cww2, GO-2024-2769, UBUNTU-CVE-2022-38183.