OESA-2025-1228

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2025-1228
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2025-1228.json
JSON Data
https://api.test.osv.dev/v1/vulns/OESA-2025-1228
Upstream
Published
2025-02-28T15:34:52Z
Modified
2025-08-12T05:48:47.476040Z
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):

Improper neutralization of quoting syntax in PostgreSQL libpq functions PQescapeLiteral(), PQescapeIdentifier(), PQescapeString(), and PQescapeStringConn() allows a database input provider to achieve SQL injection in certain usage patterns. Specifically, SQL injection requires the application to use the function result to construct input to psql, the PostgreSQL interactive terminal. Similarly, improper neutralization of quoting syntax in PostgreSQL command line utility programs allows a source of command line arguments to achieve SQL injection when clientencoding is BIG5 and serverencoding is one of EUCTW or MULEINTERNAL. Versions before PostgreSQL 17.3, 16.7, 15.11, 14.16, and 13.19 are affected.(CVE-2025-1094)

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

Affected packages

openEuler:22.03-LTS-SP4 / libpq

Package

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

Affected ranges

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

Ecosystem specific

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