CVE-2023-23554 Code injection in pg ivm

High 8.8 Published Updated

Attackers can execute arbitrary code with materialized view owner privileges by exploiting uncontrolled search path elements in pg_ivm.

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

What is CVE-2023-23554?

CVE-2023-23554 is a high-severity code injection vulnerability in pg_ivm, published on 7 Mar 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Uncontrolled search path element vulnerability exists in pg_ivm versions prior to 1.5.1. When refreshing an IMMV, pg_ivm executes functions without specifying schema names. Under certain conditions, pg_ivm may be tricked to execute unexpected functions from other schemas with the IMMV owner's privilege. If this vulnerability is exploited, an unexpected function provided by an attacker may be executed with the privilege of the materialized view owner.

Weakness: CWE-427

Which versions are affected by CVE-2023-23554?

It affects 1 product.

Products include Sraoss Pg Ivm.

How do I fix CVE-2023-23554?

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

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2023-23554 being exploited?

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

Sources

Also known as GHSA-jwqx-q9h3-4q35.

Is CVE-2023-23554 in your software?

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

Check your SBOMs for free