Firebird: Multiple buffer overflows

Security Team  Contact Address

Updated December 09, 2007

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200712-06 / firebird
Release Date December 09, 2007
Latest Revision December 09, 2007: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
dev-db/firebird < 2.0.3.12981.0-r2 >= 2.0.3.12981.0-r2 All supported architectures

Related bugreports: #195569

Synopsis

Multiple stack-based buffer overflows were discovered in Firebird.

2.  Impact Information

Background

Firebird is a multi-platfrom, open source relational database.

Description

Adriano Lima and Ramon de Carvalho Valle reported that functions isc_attach_database() and isc_create_database() do not perform proper boundary checking when processing their input.

Impact

A remote attacker could send specially crafted requests to the Firebird server on TCP port 3050, possibly resulting in the execution of arbitrary code with the privileges of the user running Firebird (usually firebird).

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All Firebird users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-db/firebird-2.0.3.12981.0-r2"

4.  References