{"id":"CVE-2021-31671","aliases":["CVE-2021-31671","GHSA-72rj-36qc-47g7"],"related":[],"kind":"vulnerability","state":"published","title":"Pgsync Contains Cleartext Transmission of Sensitive Information","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"pgsync versiones anteriores a 0.6.7 está afectado por la divulgación de información confidencial.&#xa0;La sincronización del esquema con las opciones --schema-first y --schema-only no es manejado apropiadamente.&#xa0;Por ejemplo, es posible que se pierda el parámetro sslmode connection, lo que significa que no es usado SSL","source":"nvd"}],"published":"2021-04-27T02:43:32.000Z","modified":"2026-06-17T03:52:08.363Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","score":5,"rating":"MEDIUM"}],"cwes":["CWE-319"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.6.7"}],"ecosystem":"RubyGems","package":"pgsync","purl":"pkg:gem/pgsync","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"0.6.7"}],"vendor":"pgsync_project","product":"pgsync","cpe":"cpe:2.3:a:pgsync_project:pgsync:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/ankane/pgsync/issues/121","tags":["exploit","issue-tracking","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-31671","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/ankane/pgsync/commit/05cd18f5fc09407e4b544f2c12f819cabc50c40e","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/ankane/pgsync/blob/master/CHANGELOG.md#067-2021-04-26","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/pgsync/CVE-2021-31671.yml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-31671","url":"https://www.cve.org/CVERecord?id=CVE-2021-31671","licence":"CVE Terms of Use","modified":"2024-08-03T23:03:33.788Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-72rj-36qc-47g7","url":"https://github.com/advisories/GHSA-72rj-36qc-47g7","licence":"CC-BY-4.0","modified":"2024-02-16T08:16:40.229Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-31671","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-31671","licence":"Public domain","modified":"2026-06-17T03:52:08.363Z"}],"updatedAt":"2026-11-25T22:58:01.054Z","epss":{"score":0.00731,"percentile":0.55517,"date":"2026-12-01T12:00:22.000Z"}}