OESA-2023-1568

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2023-1568
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2023-1568.json
JSON Data
https://api.test.osv.dev/v1/vulns/OESA-2023-1568
Upstream
Published
2023-09-02T11:05:48Z
Modified
2025-08-12T05:05:36.915165Z
Summary
libpq security update
Details

PostgreSQL is a powerful, open source object-relational database system that uses and extends the SQL language combined with many features that safely store and scale the most complicated data workloads. This package provides the essential shared library for any PostgreSQL client program or interface.

Security Fix(es):

* DISPUTED * An issue was discovered in PostgreSQL 12.2 allows attackers to cause a denial of service via repeatedly sending SIGHUP signals. NOTE: this is disputed by the vendor because untrusted users cannot send SIGHUP signals; they can only be sent by a PostgreSQL superuser, a user with pgreloadconf access, or a user with sufficient privileges at the OS level (the postgres account or the root account).(CVE-2020-21469)

schemaelement defeats protective searchpath changes; It was found that certain database calls in PostgreSQL could permit an authed attacker with elevated database-level privileges to execute arbitrary code.(CVE-2023-2454)

Row security policies disregard user ID changes after inlining; PostgreSQL could permit incorrect policies to be applied in certain cases where role-specific policies are used and a given query is planned under one role and then executed under other roles. This scenario can happen under security definer functions or when a common user and query is planned initially and then re-used across multiple SET ROLEs. Applying an incorrect policy may permit a user to complete otherwise-forbidden reads and modifications. This affects only databases that have used CREATE POLICY to define a row security policy.(CVE-2023-2455)

IN THE EXTENSION SCRIPT, a SQL Injection vulnerability was found in PostgreSQL if it uses @extowner@, @extschema@, or @extschema:...@ inside a quoting construct (dollar quoting, '', or ""). If an administrator has installed files of a vulnerable, trusted, non-bundled extension, an attacker with database-level CREATE privilege can execute arbitrary code as the bootstrap superuser.(CVE-2023-39417)

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.(CVE-2023-39418)

Database specific
{
    "severity": "High"
}
References

Affected packages

openEuler:22.03-LTS-SP2 / libpq

Package

Name
libpq
Purl
pkg:rpm/openEuler/libpq&distro=openEuler-22.03-LTS-SP2

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
13.12-1.oe2203sp2

Ecosystem specific

{
    "aarch64": [
        "libpq-debuginfo-13.12-1.oe2203sp2.aarch64.rpm",
        "libpq-devel-13.12-1.oe2203sp2.aarch64.rpm",
        "libpq-debugsource-13.12-1.oe2203sp2.aarch64.rpm",
        "libpq-13.12-1.oe2203sp2.aarch64.rpm"
    ],
    "x86_64": [
        "libpq-debuginfo-13.12-1.oe2203sp2.x86_64.rpm",
        "libpq-debugsource-13.12-1.oe2203sp2.x86_64.rpm",
        "libpq-13.12-1.oe2203sp2.x86_64.rpm",
        "libpq-devel-13.12-1.oe2203sp2.x86_64.rpm"
    ],
    "src": [
        "libpq-13.12-1.oe2203sp2.src.rpm"
    ]
}