Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iKrqe-0002BT-CG for pgsql-general@arkaria.postgresql.org; Wed, 16 Oct 2019 22:32:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iKrpe-0001MM-W0 for pgsql-general@arkaria.postgresql.org; Wed, 16 Oct 2019 22:31:50 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iKrpe-0001M0-LA for pgsql-general@lists.postgresql.org; Wed, 16 Oct 2019 22:31:50 +0000 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iKrpY-00067C-4J for pgsql-general@postgresql.org; Wed, 16 Oct 2019 22:31:50 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id B96CB14B4; Wed, 16 Oct 2019 18:31:41 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Wed, 16 Oct 2019 18:31:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=B gCKp5CwW+BBExRuhi3w54vjeJ2XV+jB5zQ8rqj08hU=; b=wI4eplvSsEmk0Hg/1 cv1jPVUECeDkHKWRkGFrBcxTr9i6tcHVKSHeDWsOjv8/w92t1N2oO6n1ImwcTnZD n6FG6qw5ITis3ZfFQqitNqVt0DbE+ptm32eiEl8yUxW/4pF8Fr+VDF7axktyhVrJ 0UsZnfJmAiLNa+dfdCgP1HrYOwxwJwaw+QPYcOGDrwsX3iCkk6gpYz8QSdQvNZ21 j2CuIKPhJcglngLJ73oDcZl4+iQ9ldIpof8sUaGrK0ZuuHqNJOoSI6KN3bIqg0cv 6b/dBJr/Vu8wFSkpsn0LPRaht2temEpe+g7Dvdx0Mnh54tlpAbsXz4B6PxYwRjGq /J8nA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=BgCKp5CwW+BBExRuhi3w54vjeJ2XV+jB5zQ8rqj08 hU=; b=a/un9Zc7q/7NHyz18FUneaQ/UutQwvEJmmCZxO7S+ILY7S8FCCKKpBRAi n0AxAqAcxsPoypAEiSMDqtqg4PNwOXrSF1/v9Hk2/9mF7HdAcjXYux2VywZ3mvY5 FPHS5P6lRKE03uqqQ48nbigsgNJl9s23UKBb2Wptd9VjoxW69LdpA3ANOwHovvYa KjAfBDgisMWvB88yAbmt/2Z/cLwMaw3mLUz/zGMiEZUbuHZd7yY3WA0ee8YETdAD pebaJf6JfclvvpHQKl1O5fTdPuQ6XBsp5knoRk1pTUn+llmjUtGv+Hl1QxeRDzL4 IYOsM7VId7SrvdTyY4BWiJKFymxDQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrjeeigddtkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefuvfhfhffkffgfgggjtgfgsehtkeertddtfeejnecuhfhrohhmpeetughrihgr nhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh eqnecukfhppeehtddrudeljedrkedtrddvnecurfgrrhgrmhepmhgrihhlfhhrohhmpegr ughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhmnecuvehluhhsthgvrhfuih iivgeptd X-ME-Proxy: Received: from ranger.suse (50-197-80-2-static.hfc.comcastbusiness.net [50.197.80.2]) by mail.messagingengine.com (Postfix) with ESMTPA id 46C338005A; Wed, 16 Oct 2019 18:31:39 -0400 (EDT) Subject: Re: CVE-2018-1058 To: Lizeth Solis Aramayo , "pgsql-general@postgresql.org" References: <3C49F7CCD612624598582C9A70E6B18001C94782C1@ELFMEX01.elfec.com> <6130c77a-76d5-9600-2716-bb4464012bc7@aklaver.com> <3C49F7CCD612624598582C9A70E6B18001C9479F85@ELFMEX01.elfec.com> From: Adrian Klaver Message-ID: Date: Wed, 16 Oct 2019 15:31:38 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.1 MIME-Version: 1.0 In-Reply-To: <3C49F7CCD612624598582C9A70E6B18001C9479F85@ELFMEX01.elfec.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 10/16/19 1:05 PM, Lizeth Solis Aramayo wrote: > What commands did you use to dump the 9.6.15 version and restore to the > 9.6.5 version? > > Pg_dump -p 5433 -U postgres -Fc -d dbkerp -n param > param.dump > And > Pg_restore -p 5432 -U postgres -d dbkerp param.dump > > > Server with pg_dump is Linux red hat 7.6 > > Server with pg_restore is linux red hat 6.5 > > > In both servers I have postgresql 9.6, but in pg_dump is 9.6.15, and in pg_restore is 9.6.5. > > > The pg_dump is correct, everything goes ok., but when I do the pg_restore I gota n error : pg_restore: [archiver] unsupported version (1.13) in file header Forgot a fourth option: 4) Use the 9.6.15 pg_restore to restore the 9.6.15 pg_dump to the 9.6.5 database. > > > I searched solutions, and I found that I can apply a patch CVE-2018-1058, but I don¡t know how. > How to download, and install, I dont find documents about it. > > he reason why you can't upgrade the 9.6.5 to 9.6.15? I dont know how. > -- Adrian Klaver adrian.klaver@aklaver.com