Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 746710 - (CVE-2011-3631) CVE-2011-3631 hardlink: Multiple integer overflows, when adding string lengths
CVE-2011-3631 hardlink: Multiple integer overflows, when adding string lengths
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
low Severity low
: ---
: ---
Assigned To: Red Hat Product Security
impact=low,public=20111015,reported=2...
: Security
Depends On: 746715
Blocks: 746750
  Show dependency treegraph
 
Reported: 2011-10-17 11:33 EDT by Jan Lieskovsky
Modified: 2018-06-21 04:50 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jan Lieskovsky 2011-10-17 11:33:22 EDT
Multiple integer overflows, leading to heap-based buffer overflows were found in the way hardlink, the tool for consolidation of duplicate files via hardlinks performed string lengths concatenation in the calculation of the required memory space to be used. A remote attacker could provide a specially-crafted directory tree (with long directory and / or file names), and trick the local user into consolidating it, leading to hardlink executable crash, or, potentially arbitrary code execution with the privileges of the user running the hardlink executable.

References:
[1] http://www.openwall.com/lists/oss-security/2011/10/15/2
[2] https://bugs.gentoo.org/show_bug.cgi?id=387269
[3] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=645516

Proposed patch (applied by the Owl Linux distribution):
[4] http://cvsweb.openwall.com/cgi/cvsweb.cgi/Owl/packages/hardlink/hardlink.c.diff?r1=1.2;r2=1.3
Comment 1 Jan Lieskovsky 2011-10-17 11:39:30 EDT
These issues affect the versions of the hardlink package, as shipped with Fedora release of 14 and 15. Please schedule an update.
Comment 2 Jan Lieskovsky 2011-10-17 11:41:57 EDT
Created hardlink tracking bugs for this issue

Affects: fedora-all [bug 746715]
Comment 3 Jan Lieskovsky 2011-10-17 12:49:59 EDT
These issues affect the versions of the hardlink package, as shipped with
Red Hat Enterprise Linux 5 and 6.
Comment 4 Jan Lieskovsky 2011-10-20 11:45:53 EDT
The CVE identifier of CVE-2011-3631 has been assigned to this issue:
[5] http://www.openwall.com/lists/oss-security/2011/10/20/6
Comment 6 Huzaifa S. Sidhpurwala 2011-10-28 01:17:02 EDT
Statement:

The Red Hat Security Response Team has rated this issue as having low security impact, a future update may address this flaw in hardlink.
Comment 7 Fedora Update System 2011-11-23 18:27:47 EST
hardlink-1.0-12.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 8 Fedora Update System 2011-12-11 16:50:02 EST
hardlink-1.0-12.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.