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

High 8.1 Published Updated

Attackers can escalate privileges by exploiting incorrect use of privileged APIs in 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-4687?

CVE-2022-4687 is a high-severity vulnerability in Usememos Memos, published on 23 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.0.

Weakness: CWE-269, CWE-648

Which versions are affected by CVE-2022-4687?

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.0
github.com/usememos/memos GoAll versions0.9.0
github.com/usememos/memos GoAll versions0.9.0

Products include Usememos Memos.

How do I fix CVE-2022-4687?

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

Is CVE-2022-4687 being exploited?

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

All Usememos Memos vulnerabilities

Sources

Also known as GHSA-fv6c-rfg3-gvjw, GO-2022-1217.

Is CVE-2022-4687 in your software?

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

Check your SBOMs for free