CVE-2024-24213 SQL injection in n/a

Critical 9.8 Published Updated

A SQL injection vulnerability in Supabase PostgreSQL allows authorized users to execute arbitrary queries via the dashboard, though the vendor considers this an intended feature.

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

What is CVE-2024-24213?

CVE-2024-24213 is a critical SQL injection vulnerability in n/a, published on 8 Feb 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Supabase PostgreSQL v15.1 was discovered to contain a SQL injection vulnerability via the component /pg_meta/default/query. NOTE: the vendor's position is that this is an intended feature; also, it exists in the Supabase dashboard product, not the Supabase PostgreSQL product. Specifically, /pg_meta/default/query is for SQL queries that are entered in an intended UI by an authorized user. Nothing is injected.

Weakness: CWE-89

Which versions are affected by CVE-2024-24213?

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

PackageAffectedFixed in
postgresql BitnamiFrom 15.1.0 to 15.1.0None

Products include Supabase Postgres.

How do I fix CVE-2024-24213?

No fix has been published for CVE-2024-24213 yet. Limit exposure of the affected software until one is available.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2024-24213 being exploited?

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

Sources

Also known as BIT-postgresql-2024-24213, GHSA-vq84-wx4w-6r76.

Is CVE-2024-24213 in your software?

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

Check your SBOMs for free