CVE-2023-39418

MEDIUMCVSS 4.3/10EPSS 0.96%

Last modified

CVE-2023-39418 is a medium-severity vulnerability rated 4.3/10 on the CVSS scale. A vulnerability was found in PostgreSQL with the use of the MERGE command, which fails to test new rows against row security policies defined for UPDATE and SELECT. If UPDATE and SELECT policies forbid some rows that INSERT policies do not forbid, a user could store such rows.. EPSS estimates a 0.96% chance of exploitation in the next 30 days.

Description

A vulnerability was found in PostgreSQL with the use of the MERGE command, which fails to test new rows against row security policies defined for UPDATE and SELECT. If UPDATE and SELECT policies forbid some rows that INSERT policies do not forbid, a user could store such rows.

Metrics

CVSS 3.1
4.3/10

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

EPSS Probability
0.96%

57.1th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
PostgresqlPostgresql>= 15.0, < 15.4
RedhatEnterprise Linux8.0
RedhatEnterprise Linux9.0
DebianDebian Linux12.0

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2023-39418?
A vulnerability was found in PostgreSQL with the use of the MERGE command, which fails to test new rows against row security policies defined for UPDATE and SELECT. If UPDATE and SELECT policies forbid some rows that INSERT policies do not forbid, a user could store such rows.
How severe is CVE-2023-39418?
CVE-2023-39418 has a CVSS score of 4.3/10 (MEDIUM severity). The EPSS model estimates a 0.96% probability of exploitation in the next 30 days.
How do I fix CVE-2023-39418?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2023-39418?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST