Bug 1289734 - Harden all packages: rpm binaries should use PIE, canaries and full RELRO
Summary: Harden all packages: rpm binaries should use PIE, canaries and full RELRO
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: harden-failure
TreeView+ depends on / blocked
 
Reported: 2015-12-08 20:37 UTC by Christian Stadelmann
Modified: 2016-02-01 02:20 UTC (History)
6 users (show)

Fixed In Version: rpm-4.13.0-0.rc1.10.fc23
Clone Of:
Environment:
Last Closed: 2016-02-01 02:20:55 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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