CVE-2019-14544 Insecure Permissions in Gogs

Critical 9.8 Published Updated

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.

PackageAffectedFixed in
gogs.io/gogs GoAll versions0.11.91
gogs.io/gogs GoAll versions0.11.91
gogs.io/gogs GoAll versions0.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.

Sources

Also known as GHSA-5r2v-6gm6-vpvh, GO-2022-0797.

Is CVE-2019-14544 in your software?

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

Check your SBOMs for free