{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-31671","published":"2021-04-27T03:15:07.647000Z","last_modified":"2026-06-17T03:52:08.363000Z","status":"Modified","cvss":{"version":"3.1","score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-319"],"cpes":[{"criteria":"cpe:2.3:a:pgsync_project:pgsync:*:*:*:*:*:*:*:*","part":"a","vendor":"pgsync_project","product":"pgsync","version_end_excluding":"0.6.7"}],"cpes_truncated":false,"vendors":["pgsync_project"],"products":["pgsync_project/pgsync"],"epss":{"score":0.00731,"percentile":0.50284,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-72rj-36qc-47g7","ecosystem":"RubyGems","name":"pgsync","purl":"pkg:gem/pgsync","ranges":[{"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"],"versions_truncated":false}],"severity":"high","priority_score":60,"links":{"html_es":"/es/cve/CVE-2021-31671/","html_en":"/en/cve/CVE-2021-31671/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-31671","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-31671"},"untrusted":{"vendor_name":"Pgsync Project","product_name":"Pgsync","desc_en":"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.","affected":[],"references":[{"url":"https://github.com/ankane/pgsync/issues/121","tags":["Exploit","Issue Tracking","Third Party Advisory"]}]}}