Bug 965493 - maildrop package should be built with PIE flags
Summary: maildrop package should be built with PIE flags
Keywords:
Status: CLOSED DUPLICATE of bug 965487
Alias: None
Product: Fedora
Classification: Fedora
Component: maildrop
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Axel Thimm
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-21 10:03 UTC by Dhiru Kholia
Modified: 2014-03-25 03:44 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-05-21 10:19:30 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Dhiru Kholia 2013-05-21 10:03:49 UTC
Description of problem:

http://fedoraproject.org/wiki/Packaging:Guidelines#PIE says that "you MUST
enable the PIE compiler flags if your package has suid binaries...".

However, currently maildrop is not being built with PIE flags. This is a
clear violation of the packaging guidelines.

This issue (in its wider scope) is being discussed at,

https://fedorahosted.org/fesco/ticket/1104

https://lists.fedoraproject.org/pipermail/devel/2013-March/180827.html

Version-Release number of selected component (if applicable):

maildrop-2.6.0-1.fc19.x86_64.rpm

How reproducible:

You can use following programs to check if a package is hardened:

http://people.redhat.com/sgrubb/files/rpm-chksec

OR

https://github.com/kholia/checksec

Steps to Reproduce:

Get scanner.py from https://github.com/kholia/checksec

$ ./scanner.py maildrop-2.6.0-1.fc19.x86_64.rpm
maildrop,maildrop-2.6.0-1.fc19.x86_64.rpm,/usr/bin/deliverquota,mode=0100755,NX=Enabled,CANARY=Enabled,RELRO=Partial,PIE=Disabled,RPATH=Disabled,RUNPATH=Disabled,FORTIFY=Enabled,CATEGORY=None
maildrop,maildrop-2.6.0-1.fc19.x86_64.rpm,/usr/bin/lockmail,mode=0106755,NX=Enabled,CANARY=Enabled,RELRO=Partial,PIE=Disabled,RPATH=Disabled,RUNPATH=Disabled,FORTIFY=Enabled,CATEGORY=None
maildrop,maildrop-2.6.0-1.fc19.x86_64.rpm,/usr/bin/mailbot,mode=0100755,NX=Enabled,CANARY=Enabled,RELRO=Partial,PIE=Disabled,RPATH=Disabled,RUNPATH=Disabled,FORTIFY=Enabled,CATEGORY=None
maildrop,maildrop-2.6.0-1.fc19.x86_64.rpm,/usr/bin/maildirmake,mode=0100755,NX=Enabled,CANARY=Enabled,RELRO=Partial,PIE=Disabled,RPATH=Disabled,RUNPATH=Disabled,FORTIFY=Enabled,CATEGORY=None
maildrop,maildrop-2.6.0-1.fc19.x86_64.rpm,/usr/bin/maildrop,mode=0106755,NX=Enabled,CANARY=Enabled,RELRO=Partial,PIE=Disabled,RPATH=Disabled,RUNPATH=Disabled,FORTIFY=Enabled,CATEGORY=None
maildrop,maildrop-2.6.0-1.fc19.x86_64.rpm,/usr/bin/makedatprog,mode=0100755,NX=Enabled,CANARY=Disabled,RELRO=Partial,PIE=Disabled,RPATH=Disabled,RUNPATH=Disabled,FORTIFY=NA,CATEGORY=None
maildrop,maildrop-2.6.0-1.fc19.x86_64.rpm,/usr/bin/makemime,mode=0100755,NX=Enabled,CANARY=Enabled,RELRO=Partial,PIE=Disabled,RPATH=Disabled,RUNPATH=Disabled,FORTIFY=Enabled,CATEGORY=None
maildrop,maildrop-2.6.0-1.fc19.x86_64.rpm,/usr/bin/reformail,mode=0100755,NX=Enabled,CANARY=Enabled,RELRO=Partial,PIE=Disabled,RPATH=Disabled,RUNPATH=Disabled,FORTIFY=Enabled,CATEGORY=None
maildrop,maildrop-2.6.0-1.fc19.x86_64.rpm,/usr/bin/reformime,mode=0100755,NX=Enabled,CANARY=Enabled,RELRO=Partial,PIE=Disabled,RPATH=Disabled,RUNPATH=Disabled,FORTIFY=Enabled,CATEGORY=None

Comment 1 Dhiru Kholia 2013-05-21 10:19:30 UTC

*** This bug has been marked as a duplicate of bug 965487 ***


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