pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Security hole in 8.1.3 with respect to invalidly-encoded multibyte characters
2+ messages / 2 participants
[nested] [flat]

* Security hole in 8.1.3 with respect to invalidly-encoded multibyte characters
@ 2006-05-29 06:31  Bernd Kappler <Bernd.Kappler@genedata.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Bernd Kappler @ 2006-05-29 06:31 UTC (permalink / raw)
  To: pgsql-jdbc

Hi,

we are using the postgresql jdbc driver build version 404 in conjunction with 
postgresql 8.1.3. Could you please tell me, if this combination is safe with 
respect to the security hole described in 

http://www.postgresql.org/docs/techdocs.50

I guess so - but better safe than sorry :-)

Thanks and Regards

Bernd


-- 



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Security hole in 8.1.3 with respect to invalidly-encoded
@ 2006-05-29 07:54  Markus Schaber <schabi@logix-tt.com>
  parent: Bernd Kappler <Bernd.Kappler@genedata.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Markus Schaber @ 2006-05-29 07:54 UTC (permalink / raw)
  To: Bernd Kappler <Bernd.Kappler@genedata.com>; +Cc: pgsql-jdbc

Hi, Bernd,

Bernd Kappler wrote:

> we are using the postgresql jdbc driver build version 404 in conjunction with 
> postgresql 8.1.3. Could you please tell me, if this combination is safe with 
> respect to the security hole described in 
> 
> http://www.postgresql.org/docs/techdocs.50
> 
> I guess so - but better safe than sorry :-)

The pgsql-jdbc driver uses the 16-bit java encoding internally, and the
jvm-provided UTF8-encoder. Usually, the JVMs do not accept invalidly
encoded strings on input, and will not generate invalid ones on output,
so you should be save, if java is the only way for hostile people to
access the database.

I'm not shure what happens if you insane enough to use bytea and casting
inside the database, however, as this bypasses the JVM encodings, you'll
need to update your backend in this case.

HTH,
Markus
-- 
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf.     | Software Development GIS

Fight against software patents in EU! www.ffii.org www.nosoftwarepatents.org



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2006-05-29 07:54 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-05-29 06:31 Security hole in 8.1.3 with respect to invalidly-encoded multibyte characters Bernd Kappler <Bernd.Kappler@genedata.com>
2006-05-29 07:54 ` Re: Security hole in 8.1.3 with respect to invalidly-encoded Markus Schaber <schabi@logix-tt.com>

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