Re: [SECURITY] DoS attack on backend possible (was: Re:

Поиск
Список
Период
Сортировка
От Florian Weimer
Тема Re: [SECURITY] DoS attack on backend possible (was: Re:
Дата
Msg-id 878z3c4hh4.fsf@CERT.Uni-Stuttgart.DE
обсуждение исходный текст
Ответ на Re: [SECURITY] DoS attack on backend possible (was: Re:  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [SECURITY] DoS attack on backend possible (was: Re:
Список pgsql-hackers
Tom Lane <tgl@sss.pgh.pa.us> writes:

> Justin Clift <justin@postgresql.org> writes:
>> Am I understanding this right:
>>  - A PostgreSQL 7.2.1 server can be crashed if it gets passed certain
>> date values which would be accepted by standard "front end" parsing? 
>
> AFAIK it's a buffer overrun issue, so anything that looks like a
> reasonable date would *not* cause the problem.

Yes, but if you just check that the date given by the user matches the
regular expression "[0-9]+-[0-9]+-[0-9]+", it's still possible to
crash the backend.

-- 
Florian Weimer                       Weimer@CERT.Uni-Stuttgart.DE
University of Stuttgart           http://CERT.Uni-Stuttgart.DE/people/fw/
RUS-CERT                          fax +49-711-685-5898


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Curt Sampson
Дата:
Сообщение: Re: OOP real life example (was Re: Why is MySQL more chosen
Следующее
От: Florian Weimer
Дата:
Сообщение: Re: [SECURITY] DoS attack on backend possible (was: Re: