Bug 1330519

Summary: Harden all packages: funzip executable should use PIE and have RELRO enabled
Product: [Fedora] Fedora Reporter: Christian Stadelmann <fedora>
Component: unzipAssignee: Petr Stodulka <pstodulk>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: pstodulk
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: unzip-6.0-30.fc24 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-15 21:25:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1199775    

Description Christian Stadelmann 2016-04-26 12:02:20 UTC
Version-Release number of selected component (if applicable):
unzip-6.0-28.fc24.x86_64

How reproducible:
always, this is caused by the build flags

Steps to reproduce:
$ checksec --file /usr/bin/funzip
RELRO           STACK CANARY      NX            PIE             RPATH      RUNPATH      FILE
Partial RELRO   Canary found      NX enabled    No PIE          No RPATH   No RUNPATH   /usr/bin/funzip

Actual results:
funzip is not hardened

Expected results:
funzip should be hardened

Additional info:
https://fedoraproject.org//wiki/Changes/Harden_All_Packages

Comment 1 Petr Stodulka 2016-07-14 12:15:23 UTC
I guess that it should be set for all executables - includes unzip, funzip, ...

Comment 2 Fedora Update System 2016-07-14 12:30:51 UTC
unzip-6.0-30.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-cf29af2a1c

Comment 3 Fedora Update System 2016-07-14 22:27:59 UTC
unzip-6.0-30.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-cf29af2a1c

Comment 4 Fedora Update System 2016-07-15 21:25:38 UTC
unzip-6.0-30.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.