Bug 435905 - [feature] add fortification for vasprintf etc
Summary: [feature] add fortification for vasprintf etc
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: glibc
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-03-04 12:16 UTC by Mark J. Cox
Modified: 2008-03-11 09:22 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-03-11 09:22:25 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Mark J. Cox 2008-03-04 12:16:58 UTC
Whilst testing various format string exploits today, the security response team
 noticed that %n in a writable format string was not being captured by
FORTIFY_SOURCE=2 as we expected.  This was because the application was using
vasprintf, a function that hasn't been fortified.  Jakub confirmed this is true
and there is no fortification for asprintf, __asprintf, vasprintf, dprintf,
vdprintf, obstack_printf, obstack_vprint.

Can we get vasprintf fortified in time for F9 at a minimum?

Comment 2 Jakub Jelinek 2008-03-11 09:22:25 UTC
Implemented in 2.7.90-8 and above.


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