<title>Release date:</title> リリース日: 2025-02-20
This release contains a few fixes from 17.3. For information about new features in major release 17, see <xref linkend="release-17"/>. このリリースは17.3に対し、いくつかの不具合を修正したものです。 17メジャーリリースにおける新機能については、E.6を参照してください。
A dump/restore is not required for those running 17.X. 17.Xからの移行ではダンプ/リストアは不要です。
However, if you are upgrading from a version earlier than 17.1, see <xref linkend="release-17-1"/>. また、17.1より前のバージョンからアップグレードする場合は、E.5を参照してください。
Improve behavior of <application>libpq</application>'s quoting functions (Andres Freund, Tom Lane) libpqの引用符付け関数の動作が改善されました。 (Andres Freund, Tom Lane) § § §
The changes made for CVE-2025-1094 had one serious oversight:
<function>PQescapeLiteral()</function>
and <function>PQescapeIdentifier()</function> failed to honor their
string length parameter, instead always reading to the input
string's trailing null. This resulted in including unwanted text in
the output, if the caller intended to truncate the string via the
length parameter. With very bad luck it could cause a crash due to
reading off the end of memory.
CVE-2025-1094に対する変更には、重大な見落としが1つありました。
PQescapeLiteral()
とPQescapeIdentifier()
は、文字列長パラメータを考慮せず、常に入力文字列の末尾のNULLを読み込んでいました。
その結果、呼び出し元が長さパラメータを介して文字列を切り捨てる意図があったとしても、出力に不要なテキストが含まれていました。
非常に運が悪いと、メモリの終端を読み込んでクラッシュが発生する可能性がありました。
In addition, modify all these quoting functions so that when invalid encoding is detected, an invalid sequence is substituted for just the first byte of the presumed character, not all of it. This reduces the risk of problems if a calling application performs additional processing on the quoted string. さらに、これらの引用関数をすべて修正し、無効なエンコーディングが検出された場合に、想定される文字の全体ではなく最初のバイトのみ無効なシーケンスに置き換えます。 これにより、呼び出し元のアプリケーションが引用文字列に対して追加処理を実行した場合に問題が発生するリスクが軽減されます。
Fix small memory leak in <application>pg_createsubscriber</application> (Ranier Vilela) pg_createsubscriberの小さなメモリリークが修正されました。 (Ranier Vilela) §
Fix meson build system to correctly detect availability of
the <filename>bsd_auth.h</filename> system header
(Nazir Bilal Yavuz)
Mesonビルドシステムでbsd_auth.h
システムヘッダが利用可能かどうかを正しく検出するように修正されました。
(Nazir Bilal Yavuz)
§