CVE-2021-33204 Privilege escalation in n/a

Critical 9.8 Published Updated

Attackers can achieve arbitrary code execution and privilege escalation in the pg_partman PostgreSQL extension due to missing search_path settings in SECURITY DEFINER functions.

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

What is CVE-2021-33204?

CVE-2021-33204 is a critical vulnerability in n/a, published on 19 May 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In the pg_partman (aka PG Partition Manager) extension before 4.5.1 for PostgreSQL, arbitrary code execution can be achieved via SECURITY DEFINER functions because an explicit search_path is not set.

Which versions are affected by CVE-2021-33204?

It affects 1 product.

Products include Pgxn Pg Partman.

How do I fix CVE-2021-33204?

Upgrade to a fixed version.

Is CVE-2021-33204 being exploited?

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

Sources

Also known as DEBIAN-CVE-2021-33204, GHSA-p3fg-5jpr-hm49, UBUNTU-CVE-2021-33204.

Is CVE-2021-33204 in your software?

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

Check your SBOMs for free