CVE-2022-24307 Missing authorization in n/a

Critical 9.8 Published Updated

Attackers can bypass access controls in Mastodon by exploiting improper handling of signed JSON-LD activities, potentially accessing unauthorized data.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-24307?

CVE-2022-24307 is a critical missing authorization vulnerability in n/a, published on 3 Feb 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Mastodon before 3.3.2 and 3.4.x before 3.4.6 has incorrect access control because it does not compact incoming signed JSON-LD activities. (JSON-LD signing has been supported since version 1.6.0.)

Weakness: CWE-863

Which versions are affected by CVE-2022-24307?

1 open source package ship an affected version, including mastodon. It affects 1 product.

PackageAffectedFixed in
mastodon BitnamiAll versions3.3.2, 3.4.6

Products include Joinmastodon Mastodon.

How do I fix CVE-2022-24307?

Upgrade mastodon to a fixed version for your release line: 3.3.2 or 3.4.6.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2022-24307 being exploited?

There is no known exploitation of CVE-2022-24307 in the wild and no public exploit code.

Sources

Also known as BIT-mastodon-2022-24307, GHSA-x7fq-6476-543v.

Is CVE-2022-24307 in your software?

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

Check your SBOMs for free