CVE-2022-4796 Incorrect Use of Privileged APIs in usememos/memos

High 8.1 Published Updated

Attackers can exploit incorrect use of privileged APIs to escalate privileges within the Memos application.

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-4796?

CVE-2022-4796 is a high-severity vulnerability in Usememos Memos, published on 28 Dec 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Incorrect Use of Privileged APIs in GitHub repository usememos/memos prior to 0.9.1.

Weakness: CWE-648

Which versions are affected by CVE-2022-4796?

3 open source packages ship an affected version, including github.com/usememos/memos. It affects 1 product.

PackageAffectedFixed in
github.com/usememos/memos GoAll versions0.9.1
github.com/usememos/memos GoAll versions0.9.1
github.com/usememos/memos GoAll versions0.9.1

Products include Usememos Memos.

How do I fix CVE-2022-4796?

Upgrade github.com/usememos/memos to 0.9.1 or later.

Is CVE-2022-4796 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-4796 exists.

All Usememos Memos vulnerabilities

Sources

Also known as GHSA-ghx2-6v4g-9wmm, GO-2022-1236.

Is CVE-2022-4796 in your software?

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

Check your SBOMs for free