CVE-2023-49946

In Forgejo before 1.20.5-1, certain endpoints do not check whether an object belongs to a repository for which permissions are being checked

published December 3, 2023

CVSS
—
EPSS
1%
Percentile
58.1
In the wild
Unconfirmed
What it is

⚠️ Some sneaky endpoints have left the door ajar! In Forgejo versions before 1.20.5-1, attackers can sneakily access private repositories without the right keys — and that’s just not cool! Think of it like a library where certain books are marked 'private', but a rogue visitor can casually stroll in and check them out without a librarian's approval. You definitely don’t want your confidential issues and pull requests being read by anyone who doesn’t belong in the stacks! If an attacker exploits this flaw, they can read private issues and pull requests, delete issues, and perform a host of unauthorized actions. This means sensitive project information could be leaked or manipulated, putting your repository’s integrity on the line!

Put simply

Think of it like a library where certain books are marked 'private', but a rogue visitor can casually stroll in and check them out without a librarian's approval. You definitely don’t want your confidential issues and pull requests being read by anyone who doesn’t belong in the stacks! This vulnerability is due to insufficient permission checks on specific Forgejo endpoints, allowing unauthorized actions on repository objects. Essentially, it doesn’t verify if the user has the right permissions for the repositories they’re trying to access.

What to do

If an attacker exploits this flaw, they can read private issues and pull requests, delete issues, and perform a host of unauthorized actions. This means sensitive project information could be leaked or manipulated, putting your repository’s integrity on the line! Update Forgejo to version 1.20.5-1 or later to close this security gap. Additionally, review your repository permissions and confirm that they are set correctly to prevent unauthorized access. Don’t wait — tighten those security bolts! You've got this! Patch up and secure your repositories like a pro! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00860 · 58.1th percentile
Published
2023-12-03T00:00Z
EPSS history
Timeline
  • 03 DEC 00:00Z
    In Forgejo before 1.20.5-1, certain endpoints do not check whether an object belongs to a repository for which permissions are being checked
    cvelistv5