Bug 600740 - MaraDNS: Usa-after-free when parsing csv2 zone file, containing hostnames not ending with '.' character
Summary: MaraDNS: Usa-after-free when parsing csv2 zone file, containing hostnames not...
Alias: None
Product: Fedora
Classification: Fedora
Component: maradns
Version: 12
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Michael Fleming
QA Contact: Fedora Extras Quality Assurance
URL: http://bugs.debian.org/cgi-bin/bugrep...
Depends On: 600738 600739
Blocks: 600741 CVE-2010-2444
TreeView+ depends on / blocked
Reported: 2010-06-05 20:30 UTC by Jan Lieskovsky
Modified: 2010-12-03 14:01 UTC (History)
1 user (show)

Clone Of: 600739
: 600741 (view as bug list)
Last Closed: 2010-12-03 14:01:23 UTC

Attachments (Terms of Use)
Local copy of "maradns-1.4.02-parse_segfault.patch" from [2] (3.39 KB, patch)
2010-06-05 20:32 UTC, Jan Lieskovsky
no flags Details | Diff

Description Jan Lieskovsky 2010-06-05 20:30:48 UTC
+++ This bug was initially created as a clone of Bug #600739 +++

+++ This bug was initially created as a clone of Bug #600738 +++

Maradns upstream, in version v1.4.03 fixed following bug (from
patch changelog):

<begin quote>

This fixes a bug introduced in MaraDNS 1.3.03 (January 2007) when
I allowed '.' to be in a hostname: Hostnames that incorrectily not
end with a dot result in a string being deallocated then used.

MaraDNS 1.2 does not have this issue.

This issue can not be exploited from zones loaded using DNS's zone
transfer mechanism; fetchzone filters data obtained this way.  This issue
can only be exploited in the unusual case of an attacker having control
of the contents of a csv2 zone file to be parsed by MaraDNS.

This issue, on Linux systems, results in a null pointer dereference that
does not appear to be exploitable.

This patch cleanly patches MaraDNS 1.4.02 and against

<end quote>

Red Hat Security Response Team wouldn't consider this to bei a security
issue, as it's just NULL pointer dereference and requires the attacker
to have control of the contenst of a csv2 zone file to be parsed
by MaraDNS (which is quite unlikely). But it's still a bug / deficiency,
which should be addressed.

  [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=584587
  [2] http://maradns.org/download/maradns-1.4.02-parse_segfault.patch

--- Additional comment from jlieskov@redhat.com on 2010-06-05 16:27:48 EDT ---

Created an attachment (id=421489)
Local copy of "maradns-1.4.02-parse_segfault.patch" from [2]

While current F-12 version of MaraDNS seems to already contain
some hunks of this patch, Michael, please double-check && rebuild
if necessary (at least first hunk seems applicable).

Thanks, Jan.

--- Additional comment from jlieskov@redhat.com on 2010-06-05 16:29:22 EDT ---

Created an attachment (id=421490)
Local copy of "maradns-1.4.02-parse_segfault.patch" from [2]

Comment 1 Jan Lieskovsky 2010-06-05 20:32:02 UTC
Created attachment 421491 [details]
Local copy of "maradns-1.4.02-parse_segfault.patch" from [2]

Comment 2 Bug Zapper 2010-11-03 13:32:00 UTC
This message is a reminder that Fedora 12 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 12.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '12'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 12's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 12 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 

Comment 3 Bug Zapper 2010-12-03 14:01:23 UTC
Fedora 12 changed to end-of-life (EOL) status on 2010-12-02. Fedora 12 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.

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