pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: David G. Johnston <david.g.johnston@gmail.com>
Cc: Michael <asper@tagan.ru>
Cc: Rainer Pruy <Rainer.Pruy@acrys.com>
Cc: Pavan Teja <pavan.postgresdba@gmail.com>
Cc: Mike Porter <mike@udel.edu>
Cc: Postgres Bug <pgsql-bugs@postgresql.org>
Subject: Re: crypt function crash on postgresql 9.3.20 and 10
Date: Fri, 02 Feb 2018 18:38:11 -0500
Message-ID: <2008.1517614691@sss.pgh.pa.us> (raw)
In-Reply-To: <CAKFQuwa3uBiXhr=bCdb1NGDC8BHJU70zgKoncmXiP3=6ZqzRNA@mail.gmail.com>
References: <5059192d-2ff7-41c2-1070-708cb65f33e9@tagan.ru>
	<nycvar.BFK.7.76.1802020943030.95299@qbp.aff.hqry.rqh>
	<CACh9nsbCQzqt4ZJ7wsau-zS8eeHK+kDdGJQBwN-u3Cvvu6F20Q@mail.gmail.com>
	<CAKFQuwZBcDJbe2TTqVq1bu=8fU17S_6gV5vSKmeZ9KwdNP=40A@mail.gmail.com>
	<c8ae1d9d-afb6-4cfc-324b-641be0beb0f1@tagan.ru>
	<965ca7cd-1c5c-ebdd-0fb1-1d7dbc1c7038@acrys.com>
	<CAKFQuwbrY47BaU6-ERwsGr8btxwY4m2ubAB43nzCB2XT9k9qkg@mail.gmail.com>
	<20180202214746.10221aea@ahpeb>
	<CAKFQuwa3uBiXhr=bCdb1NGDC8BHJU70zgKoncmXiP3=6ZqzRNA@mail.gmail.com>

"David G. Johnston" <david.g.johnston@gmail.com> writes:
> If you are saying 9.3.2 gives a result and 9.3.20 raises an error I suspect
> the response in 9.3.2 was bogus and giving an error instead of a bogus
> result was deemed the best fix.

A bit of diving in the git history says that behavior changed here:

Author: Noah Misch <noah@leadboat.com>
Branch: master Release: REL9_6_BR [1d812c8b0] 2015-10-05 10:06:29 -0400
Branch: REL9_5_STABLE Release: REL9_5_0 [4d6752277] 2015-10-05 10:06:33 -0400
Branch: REL9_4_STABLE Release: REL9_4_5 [4d95419e8] 2015-10-05 10:06:34 -0400
Branch: REL9_3_STABLE Release: REL9_3_10 [cc1210f0a] 2015-10-05 10:06:34 -0400
Branch: REL9_2_STABLE Release: REL9_2_14 [56232f987] 2015-10-05 10:06:35 -0400
Branch: REL9_1_STABLE Release: REL9_1_19 [48f6310bc] 2015-10-05 10:06:35 -0400
Branch: REL9_0_STABLE Release: REL9_0_23 [188e081ef] 2015-10-05 10:06:36 -0400

    pgcrypto: Detect and report too-short crypt() salts.
    
    Certain short salts crashed the backend or disclosed a few bytes of
    backend memory.  For existing salt-induced error conditions, emit a
    message saying as much.  Back-patch to 9.0 (all supported versions).
    
    Josh Kupershmidt
    
    Security: CVE-2015-5288


The 9.3.10 release notes do contain an entry about this.

			regards, tom lane




view thread (13+ messages)

Message-ID: <2008.1517614691@sss.pgh.pa.us>
Permalink:  ../2008.1517614691@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2008.1517614691@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, david.g.johnston@gmail.com, asper@tagan.ru, Rainer.Pruy@acrys.com, pavan.postgresdba@gmail.com, mike@udel.edu
  Subject: Re: crypt function crash on postgresql 9.3.20 and 10
  In-Reply-To: <2008.1517614691@sss.pgh.pa.us>
  References: <5059192d-2ff7-41c2-1070-708cb65f33e9@tagan.ru> <nycvar.BFK.7.76.1802020943030.95299@qbp.aff.hqry.rqh> <CACh9nsbCQzqt4ZJ7wsau-zS8eeHK+kDdGJQBwN-u3Cvvu6F20Q@mail.gmail.com> <CAKFQuwZBcDJbe2TTqVq1bu=8fU17S_6gV5vSKmeZ9KwdNP=40A@mail.gmail.com> <c8ae1d9d-afb6-4cfc-324b-641be0beb0f1@tagan.ru> <965ca7cd-1c5c-ebdd-0fb1-1d7dbc1c7038@acrys.com> <CAKFQuwbrY47BaU6-ERwsGr8btxwY4m2ubAB43nzCB2XT9k9qkg@mail.gmail.com> <20180202214746.10221aea@ahpeb> <CAKFQuwa3uBiXhr=bCdb1NGDC8BHJU70zgKoncmXiP3=6ZqzRNA@mail.gmail.com> <2008.1517614691@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox