CVE-2021-31671 Pgsync Contains Cleartext Transmission of Sensitive Information
Attackers can intercept sensitive data because pgsync fails to enforce SSL connections during specific schema synchronization operations.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-31671?
CVE-2021-31671 is a high-severity vulnerability in n/a, published on 27 Apr 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-319
Which versions are affected by CVE-2021-31671?
2 open source packages ship an affected version, including pgsync. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
pgsync RubyGems | All versions | 0.6.7 |
pgsync RubyGems | All versions | 0.6.7 |
Products include Pgsync Project Pgsync.
How do I fix CVE-2021-31671?
Upgrade pgsync to 0.6.7 or later.
Is CVE-2021-31671 being exploited?
There is no known exploitation of CVE-2021-31671 in the wild and no public exploit code.
Sources
Also known as GHSA-72rj-36qc-47g7.