Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1289734

Summary: Harden all packages: rpm binaries should use PIE, canaries and full RELRO
Product: [Fedora] Fedora Reporter: Christian Stadelmann <fedora>
Component: rpmAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: jzeleny, lkardos, moez.roy, novyjindrich, packaging-team-maint, pknirsch
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rpm-4.13.0-0.rc1.10.fc23 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-01 02:20:55 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 2015-12-08 20:37:15 UTC
Description of problem:
According to [1] packages should be hardened. rpm binaries are not, according to checksec:

Partial RELRO   No canary found   NX enabled    No PIE          No RPATH   No RUNPATH   /usr/bin/rpm
Partial RELRO   No canary found   NX enabled    No PIE          No RPATH   No RUNPATH   /usr/bin/rpm2archive
Partial RELRO   No canary found   NX enabled    No PIE          No RPATH   No RUNPATH   /usr/bin/rpm2cpio
Partial RELRO   No canary found   NX enabled    No PIE          No RPATH   No RUNPATH   /usr/bin/rpmdb
Partial RELRO   No canary found   NX enabled    No PIE          No RPATH   No RUNPATH   /usr/bin/rpmkeys

Version-Release number of selected component (if applicable):
rpm-4.13.0-0.rc1.7.fc23.x86_64

Additional info:
[1] https://fedoraproject.org//wiki/Changes/Harden_All_Packages

Comment 1 Fedora Update System 2016-01-29 16:43:15 UTC
rpm-4.13.0-0.rc1.10.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-8caca0b06d

Comment 2 Fedora Update System 2016-01-30 19:55:32 UTC
rpm-4.13.0-0.rc1.10.fc23 has been pushed to the Fedora 23 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-8caca0b06d

Comment 3 Fedora Update System 2016-02-01 02:20:48 UTC
rpm-4.13.0-0.rc1.10.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.