[Bug stdio/23236] New: Harden function pointers in _IO_str_fields

fweimer at redhat dot com sourceware-bugzilla@sourceware.org
Fri May 25 14:33:00 GMT 2018


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

            Bug ID: 23236
           Summary: Harden function pointers in _IO_str_fields
           Product: glibc
           Version: 2.28
            Status: NEW
          Severity: normal
          Priority: P2
         Component: stdio
          Assignee: unassigned at sourceware dot org
          Reporter: fweimer at redhat dot com
  Target Milestone: ---
             Flags: security-

This is discussed here:

https://dhavalkapil.com/blogs/FILE-Structure-Exploitation/
http://blog.rh0gue.com/2017-12-31-34c3ctf-300/

The function pointers are only ever initialized to malloc and free (or they are
NULL), so I think we can call these functions directly, with perhaps very
little impact on backwards compatibility.

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


More information about the Glibc-bugs mailing list