CVE-2021-41558

The set_user extension module before 3.0.0 for PostgreSQL allows ProcessUtility_hook bypass via set_config

published September 27, 2021

CVSS
—
EPSS
1%
Percentile
69.6
In the wild
Unconfirmed
What it is

🚨 A crafty little bypass lurks in the set_user extension for PostgreSQL versions before 3.0.0! Think of it like a restaurant where the chef can change the menu without permission — suddenly, the special of the day might include whatever the chef fancies, regardless of what the customers ordered! If exploited, this vulnerability could allow an unauthorized user to manipulate configurations on the database, leading to unexpected behavior or even privilege escalation. While it’s not confirmed as exploited, the potential for chaos is absolutely there!

Put simply

Think of it like a restaurant where the chef can change the menu without permission — suddenly, the special of the day might include whatever the chef fancies, regardless of what the customers ordered! This vulnerability arises from the ProcessUtility_hook in the set_user extension, which can be bypassed via set_config, allowing attackers to change settings without proper authorization checks.

What to do

If exploited, this vulnerability could allow an unauthorized user to manipulate configurations on the database, leading to unexpected behavior or even privilege escalation. While it’s not confirmed as exploited, the potential for chaos is absolutely there! To secure your setup, upgrade PostgreSQL to version 3.0.0 or later immediately. It’s also wise to review configuration settings and user permissions to ensure they align with your security policies. You've got this! Just follow these steps and ensure your database remains a fortress! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01270 · 69.6th percentile
Published
2021-09-27T17:00Z
EPSS history
Timeline
  • 27 SEP 17:00Z
    The set_user extension module before 3.0.0 for PostgreSQL allows ProcessUtility_hook bypass via set_config
    cvelistv5