public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "fweimer at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug network/18007] New: nss_files file pointer reset during iteration causes application denial of service (CVE-2014-8121)
Date: Mon, 23 Feb 2015 11:24:00 -0000	[thread overview]
Message-ID: <bug-18007-131@http.sourceware.org/bugzilla/> (raw)

https://sourceware.org/bugzilla/show_bug.cgi?id=18007

            Bug ID: 18007
           Summary: nss_files file pointer reset during iteration causes
                    application denial of service (CVE-2014-8121)
           Product: glibc
           Version: 2.21
            Status: NEW
          Severity: normal
          Priority: P2
         Component: network
          Assignee: fweimer at redhat dot com
          Reporter: fweimer at redhat dot com
             Flags: security+

Robin Hack discovered that Samba would enter an infinite loop when processing
quota-related requests.  It turns out this is a bug in the nss_files database. 
Performing a lookup in the middle of an iteration (say, getwuid between
getpwent) effectively resets the file pointer, so that the iteration starts
again from the beginning.

I'll post a patch to libc-alpha shortly.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


             reply	other threads:[~2015-02-23 11:24 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-23 11:24 fweimer at redhat dot com [this message]
2015-02-23 12:03 ` [Bug network/18007] " schwab@linux-m68k.org
2015-02-23 12:06 ` fweimer at redhat dot com
2015-04-29 13:03 ` cvs-commit at gcc dot gnu.org
2015-04-29 13:22 ` schwab@linux-m68k.org
2015-04-29 13:26 ` fweimer at redhat dot com
2015-04-29 13:27 ` fweimer at redhat dot com
2015-04-29 13:32 ` schwab@linux-m68k.org
2015-05-11  8:45 ` cvs-commit at gcc dot gnu.org
2015-05-11  8:48 ` [Bug network/18007] nss state sharing " schwab@linux-m68k.org
2015-05-25 19:17 ` cvs-commit at gcc dot gnu.org
2015-05-26 14:20 ` cvs-commit at gcc dot gnu.org
2015-05-26 20:54 ` cvs-commit at gcc dot gnu.org
2015-07-21  3:11 ` vapier at gentoo dot org
2015-07-21  3:12 ` vapier at gentoo dot org
2015-09-22  9:59 ` schwab@linux-m68k.org
2015-10-19 11:13 ` cvs-commit at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-18007-131@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=glibc-bugs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).