Live threats

All CVEs / Pgsync Project

CVE-2021-31671Pgsync Project Pgsync

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
0.7%
probability of exploitation in 30 days · percentile 50
Auth required
No
Published
Apr 27, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-319
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

What happens

pgsync before 0.6.7 is affected by Information Disclosure of sensitive information. Syncing the schema with the --schema-first and --schema-only options is mishandled. For example, the sslmode connection parameter may be lost, which means that SSL would not be used.

Original NVD text.

What to do

  1. Apply the vendor's security update for Pgsync.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems pgsync < 0.6.7 0.6.7 gem "pgsync", ">= 0.6.7"

Per OSV / GitHub Advisories (GHSA-72rj-36qc-47g7). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
pgsync_projectpgsync< 0.6.7

Official sources

References

Links published by the sources. Open them with care.

  • github.com Exploit Issue Tracking Third Party Advisory