pg.ddx.io  pgpool-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgpool: Fix watchdog WD_INFO_MESSAGE processing to check wd_authkey.
6+ messages / 1 participants
[nested] [flat]

* pgpool: Fix watchdog WD_INFO_MESSAGE processing to check wd_authkey.
@ 2026-09-29 04:41  Taiki Koshino <koshino@sraoss.co.jp>
  0 siblings, 0 replies; 6+ messages in thread

From: Taiki Koshino @ 2026-09-29 04:41 UTC (permalink / raw)
  To: pgpool-committers@lists.postgresql.org

Fix watchdog WD_INFO_MESSAGE processing to check wd_authkey.

While processing WD_INFO_MESSAGE, standard_packet_processor() failed
to check wd_authkey before copying peer supplied fields (state,
startup_time, wd_priority, current_state_time, escalated,
standby_nodes_count, quorum_status, lifecheck_started, nodeName) into
the local WatchdogNode *before* validating the packet's authhash.  As
a result, an attacker was able to influence leader election with
invalid wd_authkey.

To fix this, call verify_authhash_for_node() before copying
peer-supplied state into the local WatchdogNode. If the verification
fails, emit a warning meesage and return.

Note that empty wd_authkey is still valid because
verify_authhash_for_node() returns success (true) if wd_authkey is an
empty string.

Reported-by: Emond Papegaaij <emond.papegaaij@topicus.nl>
Reported-by: Claude
Author: Tatsuo Ishii <ishii@postgresql.org>
CVE-2026-92873
Backpatch-through: v4.3

Branch
------
V4_7_STABLE

Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=6a875e7060eed39b977c85793b6bd839c5041...

Modified Files
--------------
src/watchdog/watchdog.c | 17 +++++++++++++++++
1 file changed, 17 insertions(+)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgpool: Fix watchdog WD_INFO_MESSAGE processing to check wd_authkey.
@ 2026-09-29 04:43  Taiki Koshino <koshino@sraoss.co.jp>
  0 siblings, 0 replies; 6+ messages in thread

From: Taiki Koshino @ 2026-09-29 04:43 UTC (permalink / raw)
  To: pgpool-committers@lists.postgresql.org

Fix watchdog WD_INFO_MESSAGE processing to check wd_authkey.

While processing WD_INFO_MESSAGE, standard_packet_processor() failed
to check wd_authkey before copying peer supplied fields (state,
startup_time, wd_priority, current_state_time, escalated,
standby_nodes_count, quorum_status, lifecheck_started, nodeName) into
the local WatchdogNode *before* validating the packet's authhash.  As
a result, an attacker was able to influence leader election with
invalid wd_authkey.

To fix this, call verify_authhash_for_node() before copying
peer-supplied state into the local WatchdogNode. If the verification
fails, emit a warning meesage and return.

Note that empty wd_authkey is still valid because
verify_authhash_for_node() returns success (true) if wd_authkey is an
empty string.

Reported-by: Emond Papegaaij <emond.papegaaij@topicus.nl>
Reported-by: Claude
Author: Tatsuo Ishii <ishii@postgresql.org>
CVE-2026-92873
Backpatch-through: v4.3

Branch
------
V4_6_STABLE

Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=b0e83ed75fba9df8d9cc0c957ce834ca7133f...

Modified Files
--------------
src/watchdog/watchdog.c | 17 +++++++++++++++++
1 file changed, 17 insertions(+)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgpool: Fix watchdog WD_INFO_MESSAGE processing to check wd_authkey.
@ 2026-09-29 04:43  Taiki Koshino <koshino@sraoss.co.jp>
  0 siblings, 0 replies; 6+ messages in thread

From: Taiki Koshino @ 2026-09-29 04:43 UTC (permalink / raw)
  To: pgpool-committers@lists.postgresql.org

Fix watchdog WD_INFO_MESSAGE processing to check wd_authkey.

While processing WD_INFO_MESSAGE, standard_packet_processor() failed
to check wd_authkey before copying peer supplied fields (state,
startup_time, wd_priority, current_state_time, escalated,
standby_nodes_count, quorum_status, lifecheck_started, nodeName) into
the local WatchdogNode *before* validating the packet's authhash.  As
a result, an attacker was able to influence leader election with
invalid wd_authkey.

To fix this, call verify_authhash_for_node() before copying
peer-supplied state into the local WatchdogNode. If the verification
fails, emit a warning meesage and return.

Note that empty wd_authkey is still valid because
verify_authhash_for_node() returns success (true) if wd_authkey is an
empty string.

Reported-by: Emond Papegaaij <emond.papegaaij@topicus.nl>
Reported-by: Claude
Author: Tatsuo Ishii <ishii@postgresql.org>
CVE-2026-92873
Backpatch-through: v4.3

Branch
------
V4_5_STABLE

Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=b6d8e384c7021890b074ebd0bd96fc991ef0f...

Modified Files
--------------
src/watchdog/watchdog.c | 17 +++++++++++++++++
1 file changed, 17 insertions(+)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgpool: Fix watchdog WD_INFO_MESSAGE processing to check wd_authkey.
@ 2026-09-29 04:43  Taiki Koshino <koshino@sraoss.co.jp>
  0 siblings, 0 replies; 6+ messages in thread

From: Taiki Koshino @ 2026-09-29 04:43 UTC (permalink / raw)
  To: pgpool-committers@lists.postgresql.org

Fix watchdog WD_INFO_MESSAGE processing to check wd_authkey.

While processing WD_INFO_MESSAGE, standard_packet_processor() failed
to check wd_authkey before copying peer supplied fields (state,
startup_time, wd_priority, current_state_time, escalated,
standby_nodes_count, quorum_status, lifecheck_started, nodeName) into
the local WatchdogNode *before* validating the packet's authhash.  As
a result, an attacker was able to influence leader election with
invalid wd_authkey.

To fix this, call verify_authhash_for_node() before copying
peer-supplied state into the local WatchdogNode. If the verification
fails, emit a warning meesage and return.

Note that empty wd_authkey is still valid because
verify_authhash_for_node() returns success (true) if wd_authkey is an
empty string.

Reported-by: Emond Papegaaij <emond.papegaaij@topicus.nl>
Reported-by: Claude
Author: Tatsuo Ishii <ishii@postgresql.org>
CVE-2026-92873
Backpatch-through: v4.3

Branch
------
V4_4_STABLE

Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=5822682a280cdf47c48bcfe51ed418b0ea076...

Modified Files
--------------
src/watchdog/watchdog.c | 17 +++++++++++++++++
1 file changed, 17 insertions(+)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgpool: Fix watchdog WD_INFO_MESSAGE processing to check wd_authkey.
@ 2026-09-29 04:44  Taiki Koshino <koshino@sraoss.co.jp>
  0 siblings, 0 replies; 6+ messages in thread

From: Taiki Koshino @ 2026-09-29 04:44 UTC (permalink / raw)
  To: pgpool-committers@lists.postgresql.org

Fix watchdog WD_INFO_MESSAGE processing to check wd_authkey.

While processing WD_INFO_MESSAGE, standard_packet_processor() failed
to check wd_authkey before copying peer supplied fields (state,
startup_time, wd_priority, current_state_time, escalated,
standby_nodes_count, quorum_status, lifecheck_started, nodeName) into
the local WatchdogNode *before* validating the packet's authhash.  As
a result, an attacker was able to influence leader election with
invalid wd_authkey.

To fix this, call verify_authhash_for_node() before copying
peer-supplied state into the local WatchdogNode. If the verification
fails, emit a warning meesage and return.

Note that empty wd_authkey is still valid because
verify_authhash_for_node() returns success (true) if wd_authkey is an
empty string.

Reported-by: Emond Papegaaij <emond.papegaaij@topicus.nl>
Reported-by: Claude
Author: Tatsuo Ishii <ishii@postgresql.org>
CVE-2026-92873
Backpatch-through: v4.3

Branch
------
V4_3_STABLE

Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=8240cb67846f64fbbe6123b80187b502517b1...

Modified Files
--------------
src/watchdog/watchdog.c | 17 +++++++++++++++++
1 file changed, 17 insertions(+)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgpool: Fix watchdog WD_INFO_MESSAGE processing to check wd_authkey.
@ 2026-09-29 04:47  Taiki Koshino <koshino@sraoss.co.jp>
  0 siblings, 0 replies; 6+ messages in thread

From: Taiki Koshino @ 2026-09-29 04:47 UTC (permalink / raw)
  To: pgpool-committers@lists.postgresql.org

Fix watchdog WD_INFO_MESSAGE processing to check wd_authkey.

While processing WD_INFO_MESSAGE, standard_packet_processor() failed
to check wd_authkey before copying peer supplied fields (state,
startup_time, wd_priority, current_state_time, escalated,
standby_nodes_count, quorum_status, lifecheck_started, nodeName) into
the local WatchdogNode *before* validating the packet's authhash.  As
a result, an attacker was able to influence leader election with
invalid wd_authkey.

To fix this, call verify_authhash_for_node() before copying
peer-supplied state into the local WatchdogNode. If the verification
fails, emit a warning meesage and return.

Note that empty wd_authkey is still valid because
verify_authhash_for_node() returns success (true) if wd_authkey is an
empty string.

Reported-by: Emond Papegaaij <emond.papegaaij@topicus.nl>
Reported-by: Claude
Author: Tatsuo Ishii <ishii@postgresql.org>
CVE-2026-92873
Backpatch-through: v4.3

Branch
------
master

Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=6117bb7f6ee97a76871607b657c9a26d3e924...

Modified Files
--------------
src/watchdog/watchdog.c | 17 +++++++++++++++++
1 file changed, 17 insertions(+)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2026-09-29 04:47 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-09-29 04:41 pgpool: Fix watchdog WD_INFO_MESSAGE processing to check wd_authkey. Taiki Koshino <koshino@sraoss.co.jp>
2026-09-29 04:43 pgpool: Fix watchdog WD_INFO_MESSAGE processing to check wd_authkey. Taiki Koshino <koshino@sraoss.co.jp>
2026-09-29 04:43 pgpool: Fix watchdog WD_INFO_MESSAGE processing to check wd_authkey. Taiki Koshino <koshino@sraoss.co.jp>
2026-09-29 04:43 pgpool: Fix watchdog WD_INFO_MESSAGE processing to check wd_authkey. Taiki Koshino <koshino@sraoss.co.jp>
2026-09-29 04:44 pgpool: Fix watchdog WD_INFO_MESSAGE processing to check wd_authkey. Taiki Koshino <koshino@sraoss.co.jp>
2026-09-29 04:47 pgpool: Fix watchdog WD_INFO_MESSAGE processing to check wd_authkey. Taiki Koshino <koshino@sraoss.co.jp>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox