1. 16 Feb, 2015 3 commits
  2. 14 Feb, 2015 3 commits
    • Mike DePaulo's avatar
      CVE-2014-0209: integer overflow of realloc() size in lexAlias() from… · 36f1dae7
      Mike DePaulo authored
      CVE-2014-0209: integer overflow of realloc() size in lexAlias() from xorg/lib/libXfont commit 05c8020a49416dd8b7510cbba45ce4f3fc81a7dc
      
      lexAlias() reads from a file in a loop. It does this by starting with a
      64 byte buffer.  If that size limit is hit, it does a realloc of the
      buffer size << 1, basically doubling the needed length every time the
      length limit is hit.
      
      Eventually, this will shift out to 0 (for a length of ~4gig), and that
      length will be passed on to realloc().  A length of 0 (with a valid
      pointer) causes realloc to free the buffer on most POSIX platforms,
      but the caller will still have a pointer to it, leading to use after
      free issues.
      36f1dae7
    • Mike DePaulo's avatar
      CVE-2014-0209: integer overflow of realloc() size in FontFileAddEntry() from… · f53f2474
      Mike DePaulo authored
      CVE-2014-0209: integer overflow of realloc() size in FontFileAddEntry() from xorg/lib/libXfont commit 2f5e57317339c526e6eaee1010b0e2ab8089c42e
      
      FontFileReadDirectory() opens a fonts.dir file, and reads over every
      line in an fscanf loop.  For each successful entry read (font name,
      file name) a call is made to FontFileAddFontFile().
      
      FontFileAddFontFile() will add a font file entry (for the font name
      and file) each time it’s called, by calling FontFileAddEntry().
      FontFileAddEntry() will do the actual adding.  If the table it has
      to add to is full, it will do a realloc, adding 100 more entries
      to the table size without checking to see if that will overflow the
      int used to store the size.
      f53f2474
    • Mike DePaulo's avatar
      LZW decompress: fix for CVE-2011-2895 From xorg/lib/Xfont commit… · af55da1e
      Mike DePaulo authored
      LZW decompress: fix for CVE-2011-2895 From xorg/lib/Xfont commit d11ee5886e9d9ec610051a206b135a4cdc1e09a0
      
          Specially crafted LZW stream can crash an application using libXfont
          that is used to open untrusted font files.  With X server, this may
          allow privilege escalation when exploited
      af55da1e
  3. 02 Feb, 2015 1 commit
  4. 10 Oct, 2011 2 commits