SANE Strings Memory Allocation Denial Of Service Vulnerability
BID:8600
Info
SANE Strings Memory Allocation Denial Of Service Vulnerability
| Bugtraq ID: | 8600 |
| Class: | Failure to Handle Exceptional Conditions |
| CVE: |
CVE-2003-0775 |
| Remote: | Yes |
| Local: | No |
| Published: | Feb 09 2003 12:00AM |
| Updated: | Jul 11 2009 11:56PM |
| Credit: | Discovery credited to Alexander Hvostov, Julien Blache, and Aurelien Jarno. |
| Vulnerable: |
SGI ProPack 2.3 SGI ProPack 2.2.1 SANE sane-backend 1.0.10 SANE SANE 1.0.9 SANE SANE 1.0.8 SANE SANE 1.0.7 -beta2 SANE SANE 1.0.7 -beta1 SANE SANE 1.0.7 SANE SANE 1.0.6 SANE SANE 1.0.5 SANE SANE 1.0.4 SANE SANE 1.0.3 SANE SANE 1.0.2 SANE SANE 1.0.1 SANE SANE 1.0 .0 Redhat sane-devel-1.0.3-10.pseries.rpm Redhat sane-devel-1.0.3-10.iseries.rpm Redhat sane-devel-1.0.3-10.i386.rpm Redhat sane-backends-devel-1.0.8-5.i386.rpm Redhat sane-backends-devel-1.0.7-6.i386.rpm Redhat sane-backends-devel-1.0.5-4.ia64.rpm Redhat sane-backends-devel-1.0.5-4.i386.rpm Redhat sane-backends-1.0.8-5.i386.rpm Redhat sane-backends-1.0.7-6.i386.rpm Redhat sane-backends-1.0.5-4.ia64.rpm Redhat sane-backends-1.0.5-4.i386.rpm Redhat sane-1.0.3-10.pseries.rpm Redhat sane-1.0.3-10.iseries.rpm Redhat sane-1.0.3-10.i386.rpm |
| Not Vulnerable: |
SANE sane-backend 1.0.11 |
Discussion
SANE Strings Memory Allocation Denial Of Service Vulnerability
SANE is prone to a memory management vulnerability that may potentially cause a denial of service. This could occur when saned is running as a service, for example, through a super-server such as inetd or xinetd. saned may incorrectly allocate memory when a connection is dropped when string input is expected. This could result in too much memory being allocated or a failure in the malloc operation.
It is not known if an attacker could exploit this issue to corrupt memory with attacker-supplied values, though this could make it theoretically possible to execute arbitrary code.
SANE is prone to a memory management vulnerability that may potentially cause a denial of service. This could occur when saned is running as a service, for example, through a super-server such as inetd or xinetd. saned may incorrectly allocate memory when a connection is dropped when string input is expected. This could result in too much memory being allocated or a failure in the malloc operation.
It is not known if an attacker could exploit this issue to corrupt memory with attacker-supplied values, though this could make it theoretically possible to execute arbitrary code.
Exploit / POC
SANE Strings Memory Allocation Denial Of Service 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
SANE Strings Memory Allocation Denial Of Service Vulnerability
Solution:
The Sane project has released a new version to address this issue.
SuSE Linux has released a security advisory (SuSE-SA:2003:046) and fixes to address this issue. Users who are potentially affected by this vulnerability are advised to apply appropriate fixes as soon as possible. Please see the referenced advisory for additional details regarding the application of applicable fixes. Fixes are linked below.
Debian has released an advisory (DSA 379-1) containing fixes. Please see reference advisory for more details.
Red Hat has released advisory RHSA-2003:285-03 to address this issue.
Mandrake has released an advisory (MDKSA-2003:099) to address this issue. Please see the attached advisory for details on obtaining and applying fixes.
Conectiva Linux has released an advisory (CLA-2003:769) to address this issue. Please see the attached advisory for details on obtaining and applying fixes.
SGI has released an advisory (20031002-01-U) pertaining to their ProPack Linux distribution. The advisory has been released in response to a number of RHSA advisories, and includes a patch (Patch 10027) containing updated RPM packages relating to 22 different BIDS.
Patch 10027 can be obtained via the following link:
http://support.sgi.com/
For information regarding how to obtain individual RPM packages included in Patch 10027, please see the attached advisory.
SCO has released an advisory (CSSA-2004-005.0) and fixes to address this issue for OpenLinux. See the referenced advisory for links to fixes.
Red Hat has released an advisory (RHBA-2004:043-01) to obsolete Red Hat 9 fixes previously released with the RHSA-2003:278-01 advisory. Affected users are advised to apply the fixes as soon as possible. Further details regarding obtaining and applying relevant fixes is available in the referenced advisory.
SANE SANE 1.0 .0
SANE SANE 1.0.1
SANE sane-backend 1.0.10
SANE SANE 1.0.2
SANE SANE 1.0.3
SANE SANE 1.0.4
SANE SANE 1.0.5
SANE SANE 1.0.6
SANE SANE 1.0.7 -beta2
SANE SANE 1.0.7
SANE SANE 1.0.7 -beta1
SANE SANE 1.0.8
SANE SANE 1.0.9
Solution:
The Sane project has released a new version to address this issue.
SuSE Linux has released a security advisory (SuSE-SA:2003:046) and fixes to address this issue. Users who are potentially affected by this vulnerability are advised to apply appropriate fixes as soon as possible. Please see the referenced advisory for additional details regarding the application of applicable fixes. Fixes are linked below.
Debian has released an advisory (DSA 379-1) containing fixes. Please see reference advisory for more details.
Red Hat has released advisory RHSA-2003:285-03 to address this issue.
Mandrake has released an advisory (MDKSA-2003:099) to address this issue. Please see the attached advisory for details on obtaining and applying fixes.
Conectiva Linux has released an advisory (CLA-2003:769) to address this issue. Please see the attached advisory for details on obtaining and applying fixes.
SGI has released an advisory (20031002-01-U) pertaining to their ProPack Linux distribution. The advisory has been released in response to a number of RHSA advisories, and includes a patch (Patch 10027) containing updated RPM packages relating to 22 different BIDS.
Patch 10027 can be obtained via the following link:
http://support.sgi.com/
For information regarding how to obtain individual RPM packages included in Patch 10027, please see the attached advisory.
SCO has released an advisory (CSSA-2004-005.0) and fixes to address this issue for OpenLinux. See the referenced advisory for links to fixes.
Red Hat has released an advisory (RHBA-2004:043-01) to obsolete Red Hat 9 fixes previously released with the RHSA-2003:278-01 advisory. Affected users are advised to apply the fixes as soon as possible. Further details regarding obtaining and applying relevant fixes is available in the referenced advisory.
SANE SANE 1.0 .0
-
sane sane-backends-1.0.11.tar.gz
ftp://ftp.mostang.com/pub/sane/old-versions/sane-backends-1.0.11/sane- backends-1.0.11.tar.gz
SANE SANE 1.0.1
-
sane sane-backends-1.0.11.tar.gz
ftp://ftp.mostang.com/pub/sane/old-versions/sane-backends-1.0.11/sane- backends-1.0.11.tar.gz
SANE sane-backend 1.0.10
-
sane sane-backends-1.0.11.tar.gz
ftp://ftp.mostang.com/pub/sane/old-versions/sane-backends-1.0.11/sane- backends-1.0.11.tar.gz
SANE SANE 1.0.2
-
sane sane-backends-1.0.11.tar.gz
ftp://ftp.mostang.com/pub/sane/old-versions/sane-backends-1.0.11/sane- backends-1.0.11.tar.gz
SANE SANE 1.0.3
-
sane sane-backends-1.0.11.tar.gz
ftp://ftp.mostang.com/pub/sane/old-versions/sane-backends-1.0.11/sane- backends-1.0.11.tar.gz
SANE SANE 1.0.4
-
Conectiva sane-1.0.4-3U70_1cl.i386.rpm
Upgrade for Conectiva Linux 7.
ftp://atualizacoes.conectiva.com.br/7.0/RPMS/sane-1.0.4-3U70_1cl.i386. rpm -
Conectiva sane-devel-1.0.4-3U70_1cl.i386.rpm
Upgrade for Conectiva Linux 7.
ftp://atualizacoes.conectiva.com.br/7.0/RPMS/sane-devel-1.0.4-3U70_1cl .i386.rpm -
Conectiva sane-devel-static-1.0.4-3U70_1cl.i386.rpm
Upgrade for Conectiva Linux 7.
ftp://atualizacoes.conectiva.com.br/7.0/RPMS/sane-devel-static-1.0.4-3 U70_1cl.i386.rpm -
sane sane-backends-1.0.11.tar.gz
ftp://ftp.mostang.com/pub/sane/old-versions/sane-backends-1.0.11/sane- backends-1.0.11.tar.gz
SANE SANE 1.0.5
-
Red Hat sane-backends-1.0.5-4.3.i386.rpm
Red Hat Enterprise Linux AS
http://rhn.redhat.com -
Red Hat sane-backends-1.0.5-4.3.i386.rpm
Red Hat Enterprise Linux ES
http://rhn.redhat.com -
Red Hat sane-backends-1.0.5-4.3.i386.rpm
Red Hat Enterprise Linux WS
http://rhn.redhat.com -
Red Hat sane-backends-1.0.5-4.3.ia64.rpm
Red Hat Enterprise Linux AS
http://rhn.redhat.com -
Red Hat sane-backends-1.0.5-4.3.ia64.rpm
Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor
http://rhn.redhat.com -
Red Hat sane-backends-devel-1.0.5-4.3.i386.rpm
Red Hat Enterprise Linux AS
http://rhn.redhat.com -
Red Hat sane-backends-devel-1.0.5-4.3.i386.rpm
Red Hat Enterprise Linux ES
http://rhn.redhat.com -
Red Hat sane-backends-devel-1.0.5-4.3.i386.rpm
Red Hat Enterprise Linux WS
http://rhn.redhat.com -
Red Hat sane-backends-devel-1.0.5-4.3.ia64.rpm
Red Hat Enterprise Linux AS
http://rhn.redhat.com -
Red Hat sane-backends-devel-1.0.5-4.3.ia64.rpm
Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor
http://rhn.redhat.com -
sane sane-backends-1.0.11.tar.gz
ftp://ftp.mostang.com/pub/sane/old-versions/sane-backends-1.0.11/sane- backends-1.0.11.tar.gz
SANE SANE 1.0.6
-
Conectiva sane-1.0.6-3U80_1cl.i386.rpm
Upgrade for Conectiva Linux 8.
ftp://atualizacoes.conectiva.com.br/8/RPMS/sane-1.0.6-3U80_1cl.i386.rp m -
Conectiva sane-devel-1.0.6-3U80_1cl.i386.rpm
Upgrade for Conectiva Linux 8.
ftp://atualizacoes.conectiva.com.br/8/RPMS/sane-devel-1.0.6-3U80_1cl.i 386.rpm -
Conectiva sane-devel-static-1.0.6-3U80_1cl.i386.rpm
Upgrade for Conectiva Linux 8.
ftp://atualizacoes.conectiva.com.br/8/RPMS/sane-devel-static-1.0.6-3U8 0_1cl.i386.rpm -
sane sane-backends-1.0.11.tar.gz
ftp://ftp.mostang.com/pub/sane/old-versions/sane-backends-1.0.11/sane- backends-1.0.11.tar.gz
SANE SANE 1.0.7 -beta2
-
sane sane-backends-1.0.11.tar.gz
ftp://ftp.mostang.com/pub/sane/old-versions/sane-backends-1.0.11/sane- backends-1.0.11.tar.gz
SANE SANE 1.0.7
-
sane sane-backends-1.0.11.tar.gz
ftp://ftp.mostang.com/pub/sane/old-versions/sane-backends-1.0.11/sane- backends-1.0.11.tar.gz
SANE SANE 1.0.7 -beta1
-
sane sane-backends-1.0.11.tar.gz
ftp://ftp.mostang.com/pub/sane/old-versions/sane-backends-1.0.11/sane- backends-1.0.11.tar.gz
SANE SANE 1.0.8
-
sane sane-backends-1.0.11.tar.gz
ftp://ftp.mostang.com/pub/sane/old-versions/sane-backends-1.0.11/sane- backends-1.0.11.tar.gz
SANE SANE 1.0.9
-
Conectiva sane-1.0.9-23360U90_1cl.i386.rpm
Upgrade for Conectiva Linux 9.
ftp://atualizacoes.conectiva.com.br/9/RPMS/sane-1.0.9-23360U90_1cl.i38 6.rpm -
Conectiva sane-devel-1.0.9-23360U90_1cl.i386.rpm
Upgrade for Conectiva Linux 9.
ftp://atualizacoes.conectiva.com.br/9/RPMS/sane-devel-1.0.9-23360U90_1 cl.i386.rpm -
Conectiva sane-devel-static-1.0.9-23360U90_1cl.i386.rpm
Upgrade for Conectiva Linux 9.
ftp://atualizacoes.conectiva.com.br/9/RPMS/sane-devel-static-1.0.9-233 60U90_1cl.i386.rpm -
Mandrake libsane1-1.0.9-3.3.90mdk.i586.rpm
Mandrake Corporate Server 2.1
http://www.mandrakesecure.net/en/ftp.php -
Mandrake libsane1-1.0.9-3.3.90mdk.i586.rpm
Mandrake Linux 9.0
http://www.mandrakesecure.net/en/ftp.php -
Mandrake libsane1-1.0.9-3.3.90mdk.x86_64.rpm
Mandrake Corporate Server 2.1/x86_64
http://www.mandrakesecure.net/en/ftp.php -
Mandrake libsane1-devel-1.0.9-3.3.90mdk.i586.rpm
Mandrake Corporate Server 2.1
http://www.mandrakesecure.net/en/ftp.php -
Mandrake libsane1-devel-1.0.9-3.3.90mdk.i586.rpm
Mandrake Linux 9.0
http://www.mandrakesecure.net/en/ftp.php -
Mandrake libsane1-devel-1.0.9-3.3.90mdk.x86_64.rpm
Mandrake Corporate Server 2.1/x86_64
http://www.mandrakesecure.net/en/ftp.php -
Mandrake sane-backends-1.0.9-3.3.90mdk.i586.rpm
Mandrake Corporate Server 2.1
http://www.mandrakesecure.net/en/ftp.php -
Mandrake sane-backends-1.0.9-3.3.90mdk.i586.rpm
Mandrake Linux 9.0
http://www.mandrakesecure.net/en/ftp.php -
Mandrake sane-backends-1.0.9-3.3.90mdk.x86_64.rpm
Mandrake Corporate Server 2.1/x86_64
http://www.mandrakesecure.net/en/ftp.php -
sane sane-backends-1.0.11.tar.gz
ftp://ftp.mostang.com/pub/sane/old-versions/sane-backends-1.0.11/sane- backends-1.0.11.tar.gz
References
SANE Strings Memory Allocation Denial Of Service Vulnerability
References:
References:
- RHSA-2003:285-03 Updated SANE packages fix remote vulnerabilities (Red Hat)
- saned bug: possible remote DoS (denial of service) (Henning Meier-Geinitz)