{"id":"GHSA-72rj-36qc-47g7","summary":"Pgsync Contains Cleartext Transmission of Sensitive Information","details":"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.","aliases":["CVE-2021-31671"],"modified":"2024-02-16T08:16:40.229764Z","published":"2021-04-27T15:54:52Z","database_specific":{"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2021-04-27T15:54:16Z","nvd_published_at":"2021-04-27T03:15:00Z","cwe_ids":["CWE-319"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-31671"},{"type":"WEB","url":"https://github.com/ankane/pgsync/issues/121"},{"type":"WEB","url":"https://github.com/ankane/pgsync/commit/05cd18f5fc09407e4b544f2c12f819cabc50c40e"},{"type":"WEB","url":"https://github.com/ankane/pgsync/blob/master/CHANGELOG.md#067-2021-04-26"},{"type":"WEB","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/pgsync/CVE-2021-31671.yml"}],"affected":[{"package":{"name":"pgsync","ecosystem":"RubyGems","purl":"pkg:gem/pgsync"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.7"}]}],"versions":["0.1.0","0.1.1","0.2.0","0.2.1","0.2.2","0.2.3","0.2.4","0.3.0","0.3.1","0.3.2","0.3.3","0.3.4","0.3.5","0.3.6","0.3.7","0.3.8","0.3.9","0.4.0","0.4.1","0.4.2","0.4.3","0.5.0","0.5.1","0.5.2","0.5.3","0.5.4","0.5.5","0.6.0","0.6.1","0.6.2","0.6.3","0.6.4","0.6.5","0.6.6"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/04/GHSA-72rj-36qc-47g7/GHSA-72rj-36qc-47g7.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}