CVE-2025-2506

Vulnérabilité moyenne dans pglogical (EnterpriseDB)

CVSS 5.3 · Moyenne
EPSS 0.3%
EnterpriseDB•pglogical•Versions : 4, <3.7.26-ELS, 5, <5.8.0, 3, <4.3.8-ELS

Description

When pglogical attempts to replicate data, it does not verify it is using a replication connection, which means a user with CONNECT access to a database configured for replication can execute the pglogical command to obtain read access to replicated tables. When pglogical runs it should verify it is running on a replication connection but does not perform this check. This vulnerability was introduced in the pglogical 3.x codebase, which is proprietary to EDB. The same code base has been integrated into BDR/PGD 4 and 5. To exploit the vulnerability the attacker needs at least CONNECT permissions to a database configured for replication and must understand a number of pglogical3/BDR specific commands and be able to decode the binary protocol.

Gravité et risque d'exploitation

CVE-2025-2506 obtient un score CVSS de 5.3/10, soit une gravité moyenne. Selon le modèle EPSS, la probabilité qu'elle soit exploitée dans les 30 prochains jours est de 0.33 %, ce qui la place devant 24.1 % des CVE référencées.

Que faire ?

  • Vérifiez si pglogical (versions 4, <3.7.26-ELS, 5, <5.8.0, 3, <4.3.8-ELS) est présent sur votre parc.
  • Appliquez le correctif ou la version corrigée indiqués dans les références de l'éditeur.
  • À défaut de correctif, limitez l'exposition (filtrage réseau, désactivation du composant).
  • Automatisez la détection : les agents CVE Heimdall (gratuits, open source) corrèlent l'inventaire de vos serveurs avec la base CVE.

Références