Bug 435905 - [feature] add fortification for vasprintf etc
[feature] add fortification for vasprintf etc
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: glibc (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-03-04 07:16 EST by Mark J. Cox (Product Security)
Modified: 2008-03-11 05:22 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-03-11 05:22:25 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Mark J. Cox (Product Security) 2008-03-04 07:16:58 EST
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 05:22:25 EDT
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.