Skip to content
High 8.1

PostgreSQLの引用処理に脆弱性、SQLインジェクションのおそれ

CVE-2025-1094 First seen on SecPulse

Summary

2025年2月に公表された脆弱性で、PostgreSQLのlibpq関数で引用符の無害化が不十分なため、SQLインジェクションが起きるおそれがあります。影響するのは17.3より前の17系、16.7より前の16系、15.11より前の15系、14.16より前の14系、13.19より前の版です。17.3、16.7、15.11、14.16、13.19の修正版で直るため、修正版への更新をおすすめします。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

2025年2月に公表された脆弱性で、PostgreSQLのlibpq関数で引用符の無害化が不十分なため、SQLインジェクションが起きるおそれがあります。影響するのは17.3より前の17系、16.7より前の16系、15.11より前の15系、14.16より前の14系、13.19より前の版です。17.3、16.7、15.11、14.16、13.19の修正版で直るため、修正版への更新をおすすめします。

Affected packages

PackageAffected → Fixed
CVE の記録PostgreSQL
≥ 17, < 17.3→ 17.3
≥ 16, < 16.7→ 16.7
≥ 15, < 15.11→ 15.11
≥ 14, < 14.16→ 14.16
< 13.19→ 13.19

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

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 client_encoding is BIG5 and server_encoding is one of EUC_TW or MULE_INTERNAL. Versions before PostgreSQL 17.3, 16.7, 15.11, 14.16, and 13.19 are affected.

Source: CVE.org (CVE Program・cvelistV5) NVD

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details