{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "0.6.7"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "c48f9376f49092a3e9ae2743589bf1532fc62572"
            }
          ],
          "repo": "https://github.com/ankane/pgsync",
          "type": "GIT"
        }
      ]
    }
  ],
  "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.",
  "id": "CVE-2021-31671",
  "modified": "2026-03-13T21:52:37.723222540Z",
  "published": "2021-04-27T03:15:07.647Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://github.com/ankane/pgsync/issues/121"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    }
  ]
}