Subversion SVN Protocol Parser Remote Integer Overflow Vulnerability
BID:10519
Info
Subversion SVN Protocol Parser Remote Integer Overflow Vulnerability
| Bugtraq ID: | 10519 |
| Class: | Boundary Condition Error |
| CVE: |
CVE-2004-0413 |
| Remote: | Yes |
| Local: | No |
| Published: | Jun 11 2004 12:00AM |
| Updated: | Jul 12 2009 05:16AM |
| Credit: | Discovery of this vulnerability is credited to ned <[email protected]>. |
| Vulnerable: |
Subversion Subversion 1.0.4 Subversion Subversion 1.0.3 Subversion Subversion 1.0.2 Subversion Subversion 1.0.1 Subversion Subversion 1.0 Subversion Subversion 0.27 OpenPKG OpenPKG 2.0 OpenPKG OpenPKG Current |
| Not Vulnerable: |
Subversion Subversion 1.0.5 |
Discussion
Subversion SVN Protocol Parser Remote Integer Overflow Vulnerability
It is reported that Subversion is prone to a remote integer overrun vulnerability. The issue exists in the svn protocol parser and is due to a lack of sufficient bounds checking performed on svn URI strings that are transmitted by the client.
If the URI string recieved is long enough an integer overrun may occur where the size value of the URI string will wrap and be misrepresented. This may potentially result in corruption of heap memory management structures.
It is reported that Subversion is prone to a remote integer overrun vulnerability. The issue exists in the svn protocol parser and is due to a lack of sufficient bounds checking performed on svn URI strings that are transmitted by the client.
If the URI string recieved is long enough an integer overrun may occur where the size value of the URI string will wrap and be misrepresented. This may potentially result in corruption of heap memory management structures.
Exploit / POC
Subversion SVN Protocol Parser Remote Integer Overflow Vulnerability
Currently we are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.
Currently we are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.
Solution / Fix
Subversion SVN Protocol Parser Remote Integer Overflow Vulnerability
Solution:
The vendor has released version 1.0.5 addressing this issue, all users are urged to upgrade.
Gentoo Linux has released advisory GLSA 200406-07 addressing this issue. Please see the referenced advisory for further information. Affected users are urged to execute the following commands as superuser:
emerge sync
emerge -pv ">=dev-util/subversion-1.0.4-r1"
emerge ">=dev-util/subversion-1.0.4-r1"
OpenPKG has released advisory OpenPKG-SA-2004.028 addressing this issue. Please see the referenced advisory for further information.
Fedora advisories FEDORA-2004-165 and FEDORA-2004-166 are available for Fedora Core 1 and 2 respectively. Please see these advisories to obtain fixes for Fedora.
SuSE has released an advisory (SuSE-SA:2004:018) to address this issue. Please see the referenced advisory for more information.
Fedora Legacy has made advisory FLSA:1748 available dealing with this issue in RedHat Linux 9.0. Please see the referenced advisory for more information.
Subversion Subversion 0.27
Subversion Subversion 1.0
Subversion Subversion 1.0.1
Subversion Subversion 1.0.2
Subversion Subversion 1.0.3
Subversion Subversion 1.0.4
Solution:
The vendor has released version 1.0.5 addressing this issue, all users are urged to upgrade.
Gentoo Linux has released advisory GLSA 200406-07 addressing this issue. Please see the referenced advisory for further information. Affected users are urged to execute the following commands as superuser:
emerge sync
emerge -pv ">=dev-util/subversion-1.0.4-r1"
emerge ">=dev-util/subversion-1.0.4-r1"
OpenPKG has released advisory OpenPKG-SA-2004.028 addressing this issue. Please see the referenced advisory for further information.
Fedora advisories FEDORA-2004-165 and FEDORA-2004-166 are available for Fedora Core 1 and 2 respectively. Please see these advisories to obtain fixes for Fedora.
SuSE has released an advisory (SuSE-SA:2004:018) to address this issue. Please see the referenced advisory for more information.
Fedora Legacy has made advisory FLSA:1748 available dealing with this issue in RedHat Linux 9.0. Please see the referenced advisory for more information.
Subversion Subversion 0.27
-
RedHat subversion-0.27.0-4.legacy.i386.rpm
RedHat Linux 9
http://download.fedoralegacy.org/redhat/9/updates/i386/subversion-0.27 .0-4.legacy.i386.rpm -
RedHat subversion-devel-0.27.0-4.legacy.i386.rpm
RedHat Linux 9
http://download.fedoralegacy.org/redhat/9/updates/i386/subversion-deve l-0.27.0-4.legacy.i386.rpm
Subversion Subversion 1.0
-
Subversion subversion-1.0.5.tar.gz
http://subversion.tigris.org/tarballs/subversion-1.0.5.tar.gz -
SuSE subversion-0.17.1-98.i586.patch.rpm
x86 Platform
ftp://ftp.suse.com/pub/suse/i386/update/8.2/rpm/i586/subversion-0.17.1 -98.i586.patch.rpm -
SuSE subversion-0.17.1-98.i586.rpm
x86 Platform
ftp://ftp.suse.com/pub/suse/i386/update/8.2/rpm/i586/subversion-0.17.1 -98.i586.rpm -
SuSE subversion-0.23.0-60.i586.patch.rpm
x86 Platform
ftp://ftp.suse.com/pub/suse/i386/update/8.1/rpm/i586/subversion-0.23.0 -60.i586.patch.rpm -
SuSE subversion-0.23.0-60.i586.rpm
x86 Platform
ftp://ftp.suse.com/pub/suse/i386/update/8.1/rpm/i586/subversion-0.23.0 -60.i586.rpm -
SuSE subversion-0.27.0-209.i586.patch.rpm
x86 Platform
ftp://ftp.suse.com/pub/suse/i386/update/9.0/rpm/i586/subversion-0.27.0 -209.i586.patch.rpm -
SuSE subversion-0.27.0-209.i586.rpm
x86 Platform
ftp://ftp.suse.com/pub/suse/i386/update/9.0/rpm/i586/subversion-0.27.0 -209.i586.rpm -
SuSE subversion-0.27.0-209.x86_64.patch.rpm
x86-64 Platform
ftp://ftp.suse.com/pub/suse/x86_64/update/9.0/rpm/x86_64/subversion-0. 27.0-209.x86_64.patch.rpm -
SuSE subversion-0.27.0-209.x86_64.rpm
x86-64 Platform
ftp://ftp.suse.com/pub/suse/x86_64/update/9.0/rpm/x86_64/subversion-0. 27.0-209.x86_64.rpm -
SuSE subversion-1.0.0-73.7.i586.patch.rpm
x86 Platform
ftp://ftp.suse.com/pub/suse/i386/update/9.1/rpm/i586/subversion-1.0.0- 73.7.i586.patch.rpm -
SuSE subversion-1.0.0-73.7.i586.rpm
x86 Platform
ftp://ftp.suse.com/pub/suse/i386/update/9.1/rpm/i586/subversion-1.0.0- 73.7.i586.rpm -
SuSE subversion-1.0.0-73.7.x86_64.patch.rpm
x86-64 Platform
ftp://ftp.suse.com/pub/suse/x86_64/update/9.1/rpm/x86_64/subversion-1. 0.0-73.7.x86_64.patch.rpm -
SuSE subversion-1.0.0-73.7.x86_64.rpm
x86-64 Platform
ftp://ftp.suse.com/pub/suse/x86_64/update/9.1/rpm/x86_64/subversion-1. 0.0-73.7.x86_64.rpm
Subversion Subversion 1.0.1
-
Subversion subversion-1.0.5.tar.gz
http://subversion.tigris.org/tarballs/subversion-1.0.5.tar.gz
Subversion Subversion 1.0.2
-
Subversion subversion-1.0.5.tar.gz
http://subversion.tigris.org/tarballs/subversion-1.0.5.tar.gz
Subversion Subversion 1.0.3
-
Fedora mod_dav_svn-0.32.1-5.i386.rpm
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/1/ -
Fedora mod_dav_svn-0.32.1-5.x86_64.rpm
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/1/ -
Fedora subversion-0.32.1-5.i386.rpm
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/1/ -
Fedora subversion-0.32.1-5.x86_64.rpm
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/1/ -
Fedora subversion-debuginfo-0.32.1-5.i386.rpm
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/1/ -
Fedora subversion-debuginfo-0.32.1-5.x86_64.rpm
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/1/ -
Fedora subversion-devel-0.32.1-5.i386.rpm
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/1/ -
Fedora subversion-devel-0.32.1-5.x86_64.rpm
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/1/ -
Subversion subversion-1.0.5.tar.gz
http://subversion.tigris.org/tarballs/subversion-1.0.5.tar.gz
Subversion Subversion 1.0.4
-
Fedora mod_dav_svn-1.0.4-2.i386.rpm
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/2/ -
Fedora mod_dav_svn-1.0.4-2.x86_64.rpm
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/2/ -
Fedora subversion-1.0.4-2.i386.rpms
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/2/ -
Fedora subversion-debuginfo-1.0.4-2.i386.rpm
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/2/ -
Fedora subversion-debuginfo-1.0.4-2.x86_64.rpm
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/2/ -
Fedora subversion-devel-1.0.4-2.i386.rpm
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/2/ -
Fedora subversion-devel-1.0.4-2.x86_64.rpm
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/2/ -
Fedora subversion-perl-1.0.4-2.i386.rpm
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/2/ -
Fedora subversion-perl-1.0.4-2.x86_64.rpm
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/2/ -
Subversion subversion-1.0.5.tar.gz
http://subversion.tigris.org/tarballs/subversion-1.0.5.tar.gz
References
Subversion SVN Protocol Parser Remote Integer Overflow Vulnerability
References:
References:
- Subversion Homepage (Subversion)
- Subversion svn:// protocol string parsing error. (SUbversion)
- [FMADV] Subversion <= 1.04 Heap Overflow (ned
)