Bug 224445 - CVE-2007-0493 BIND might crash after attempting to read free()-ed memory
CVE-2007-0493 BIND might crash after attempting to read free()-ed memory
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: bind (Show other bugs)
5.0
All Linux
low Severity low
: ---
: ---
Assigned To: Adam Tkac
Ben Levenson
http://marc.theaimsgroup.com/?l=bind-...
impact=low,source=gentoo,public=20070...
: Security
: 238117 (view as bug list)
Depends On:
Blocks: CVE-2007-0493 238117
  Show dependency treegraph
 
Reported: 2007-01-25 14:06 EST by Lubomir Kundrak
Modified: 2013-04-30 19:35 EDT (History)
2 users (show)

See Also:
Fixed In Version: RHSA-2007-0057
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-03-14 10:55:27 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
proposed fix (2.72 KB, patch)
2007-01-31 09:12 EST, Martin Stransky
no flags Details | Diff

  None (edit)
Description Lubomir Kundrak 2007-01-25 14:06:43 EST
+++ This bug was initially created as a clone of Bug #224443 +++

Description of problem:

fetchctx structures,  not keeping count of its uses, might be read
even after beind deallocated resulting in name server denial of
service under certain circumstances.

Version-Release number of selected component (if applicable):

Unclear whether this issue also affects 3.2 BIND, besides 3.3.
For sure affects FC-5, FC-6 and RHEL-5

How reproducible:

Hardly ever.

Steps to Reproduce:

No known way to reproduce. The advisory notes, that the issue can be
partly mitigated by disabling recursion, so probably some deep recursive
queries might trigger the bug?
  
Actual results:

Server DoS?

Expected results:

What would you expect from read of deallocated memory? :)

Additional info:

ISC is not particularly good at providing either patches or information
about the flaws. The attached patch incorporates another fix which
changes roughly the same code.

-- Additional comment from lkundrak@redhat.com on 2007-01-25 14:04 EST --
Created an attachment (id=146596)
Fix for BIND out-of bound read DoS sucked from upstream BIND release
Comment 1 Martin Stransky 2007-01-31 09:12:05 EST
Created attachment 147023 [details]
proposed fix
Comment 5 Red Hat Bugzilla 2007-03-14 10:55:27 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2007-0057.html
Comment 7 Adam Tkac 2007-05-24 08:46:27 EDT
*** Bug 238117 has been marked as a duplicate of this bug. ***

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