CVE-2007-3726: crafted RAR archive may cause crash

Related Vulnerabilities: CVE-2007-3726   CVE-2007-3725  

Debian Bug report logs - #437703
CVE-2007-3726: crafted RAR archive may cause crash

version graph

Package: unrar; Maintainer for unrar is Martin Meredith <mez@debian.org>; Source for unrar is src:unrar-nonfree (PTS, buildd, popcon).

Reported by: Stefan Fritsch <sf@sfritsch.de>

Date: Mon, 13 Aug 2007 19:09:01 UTC

Severity: normal

Tags: patch, security

Found in version unrar-nonfree/1:3.7.3-1

Fixed in version unrar-nonfree/1:3.7.3-1.1

Done: Nico Golde <nion@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Security Team <team@security.debian.org>, Martin Meredith <mez@ubuntu.com>:
Bug#437703; Package unrar. (full text, mbox, link).


Acknowledgement sent to Stefan Fritsch <sf@sfritsch.de>:
New Bug report received and forwarded. Copy sent to Debian Security Team <team@security.debian.org>, Martin Meredith <mez@ubuntu.com>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Stefan Fritsch <sf@sfritsch.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: CVE-2007-3726: crafted RAR archive may cause crash
Date: Mon, 13 Aug 2007 21:06:39 +0200
Package: unrar
Version: 1:3.7.3-1
Severity: normal
Tags: security

>From CVE-2007-3726:

"Integer signedness error in the SET_VALUE function in rarvm.cpp in
unrar 3.70 beta 3, as used in products including WinRAR and RAR for OS
X, allows user-assisted remote attackers to cause a denial of service
(crash) via a crafted RAR archive that causes a negative signed number
to be cast to a large unsigned number."

This is the same issue as CVE-2007-3725 for clamav (and you can likely use the
patch from there). However for the standalone rar, a DoS is usually not much of
a problem.

Please mention the CVE id in the changelog.



Bug 437703 cloned as bug 437704. Request was from Stefan Fritsch <sf@debian.org> to control@bugs.debian.org. (Mon, 13 Aug 2007 19:18:01 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Martin Meredith <mez@ubuntu.com>:
Bug#437703; Package unrar. (full text, mbox, link).


Acknowledgement sent to Stefan Fritsch <sf@sfritsch.de>:
Extra info received and forwarded to list. Copy sent to Martin Meredith <mez@ubuntu.com>. (full text, mbox, link).


Message #12 received at 437703@bugs.debian.org (full text, mbox, reply):

From: Stefan Fritsch <sf@sfritsch.de>
To: 437703@bugs.debian.org, 437704@bugs.debian.org
Subject: patch from clamav
Date: Mon, 13 Aug 2007 21:26:09 +0200
[Message part 1 (text/plain, inline)]
For completeness, here is the patch from clamav, which can probably be 
adapted for rar/unrar.

Cheers,
Stefan
[32_unrarvm.c.CVE-2007-3725.dpatch (application/x-shellscript, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Martin Meredith <mez@ubuntu.com>:
Bug#437703; Package unrar. (full text, mbox, link).


Acknowledgement sent to Luciano Bello <luciano@debian.org>:
Extra info received and forwarded to list. Copy sent to Martin Meredith <mez@ubuntu.com>. (full text, mbox, link).


Message #17 received at 437703@bugs.debian.org (full text, mbox, reply):

From: Luciano Bello <luciano@debian.org>
To: 437703@bugs.debian.org, control@bugs.debian.org
Subject: CVE-2007-3726: crafted RAR archive may cause crash
Date: Sat, 1 Sep 2007 01:12:35 -0300
[Message part 1 (text/plain, inline)]
tags 437703 patch
stop

The adaptation attached.

luciano
[CVE-2007-3726.patch (text/x-diff, attachment)]

Tags added: patch Request was from Luciano Bello <luciano@debian.org> to control@bugs.debian.org. (Sat, 01 Sep 2007 04:15:05 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Martin Meredith <mez@ubuntu.com>:
Bug#437703; Package unrar. (full text, mbox, link).


Acknowledgement sent to Nico Golde <nion@debian.org>:
Extra info received and forwarded to list. Copy sent to Martin Meredith <mez@ubuntu.com>. (full text, mbox, link).


Message #24 received at 437703@bugs.debian.org (full text, mbox, reply):

From: Nico Golde <nion@debian.org>
To: 437703@bugs.debian.org
Subject: Re: CVE-2007-3726: crafted RAR archive may cause crash
Date: Thu, 6 Sep 2007 13:46:22 +0200
[Message part 1 (text/plain, inline)]
Hi,
I am going to 0-day NMU this package. The attached patch 
fixes the problem.
It will be also archived on:
http://people.debian.org/~nion/nmu-diff/unrar-nonfree-3.7.3-1_3.7.3-1.1.patch

Kind regards
Nico

-- 
Nico Golde - http://ngolde.de - nion@jabber.ccc.de - GPG: 0x73647CFF
For security reasons, all text in this mail is double-rot13 encrypted.
[unrar-nonfree-3.7.3-1_3.7.3-1.1.patch (text/x-diff, attachment)]
[Message part 3 (application/pgp-signature, inline)]

Reply sent to Nico Golde <nion@debian.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Stefan Fritsch <sf@sfritsch.de>:
Bug acknowledged by developer. (full text, mbox, link).


Message #29 received at 437703-close@bugs.debian.org (full text, mbox, reply):

From: Nico Golde <nion@debian.org>
To: 437703-close@bugs.debian.org
Subject: Bug#437703: fixed in unrar-nonfree 1:3.7.3-1.1
Date: Thu, 06 Sep 2007 12:02:05 +0000
Source: unrar-nonfree
Source-Version: 1:3.7.3-1.1

We believe that the bug you reported is fixed in the latest version of
unrar-nonfree, which is due to be installed in the Debian FTP archive:

unrar-nonfree_3.7.3-1.1.diff.gz
  to pool/non-free/u/unrar-nonfree/unrar-nonfree_3.7.3-1.1.diff.gz
unrar-nonfree_3.7.3-1.1.dsc
  to pool/non-free/u/unrar-nonfree/unrar-nonfree_3.7.3-1.1.dsc
unrar_3.7.3-1.1_i386.deb
  to pool/non-free/u/unrar-nonfree/unrar_3.7.3-1.1_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 437703@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Nico Golde <nion@debian.org> (supplier of updated unrar-nonfree package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu, 06 Sep 2007 13:30:31 +0200
Source: unrar-nonfree
Binary: unrar
Architecture: source i386
Version: 1:3.7.3-1.1
Distribution: unstable
Urgency: high
Maintainer: Martin Meredith <mez@ubuntu.com>
Changed-By: Nico Golde <nion@debian.org>
Description: 
 unrar      - Unarchiver for .rar files (non-free version)
Closes: 437703
Changes: 
 unrar-nonfree (1:3.7.3-1.1) unstable; urgency=high
 .
   * Non-maintainer upload by testing security team.
   * Fixed integer signedness error in SET_VALUE function in
     rarvm.cpp (CVE-2007-3726) (Closes: #437703).
Files: 
 8f40eeede093c67bf80a8e86bd86b606 593 non-free/utils optional unrar-nonfree_3.7.3-1.1.dsc
 46bcf2324531d6d5b4cfa7caf4995c71 4647 non-free/utils optional unrar-nonfree_3.7.3-1.1.diff.gz
 0bee2237381b1c3481e35f65b16a900a 95118 non-free/utils optional unrar_3.7.3-1.1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFG3+ieHYflSXNkfP8RAu5oAKCRwba8gH9B4KyrvXtDQRR347YrcwCfQnZ+
WhoKHJwXetIC45ltTbgh8/o=
=Gn1u
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 19 Nov 2007 07:25:26 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Jun 19 18:44:12 2019; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.