Bug 1264033 - Partial RELRO for exim
Summary: Partial RELRO for exim
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: exim
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jaroslav Škarvada
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-17 11:24 UTC by Alexander Todorov
Modified: 2015-09-18 16:15 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1264035 (view as bug list)
Environment:
Last Closed: 2015-09-18 16:15:12 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Alexander Todorov 2015-09-17 11:24:29 UTC
Description of problem:


FESCo requires some packages to use PIE and relro hardening by default. This page contains that list:
https://fedoraproject.org/wiki/Hardened_Packages

A few exim packages use only Partial RELRO instead of Full RELRO. Please comment if this is acceptable or should be changed ? 


----------
exim-4.86-1.fc24.src.rpm
/mnt/fedora/Packages/e/exim-mon-4.86-1.fc24.x86_64.rpm
RELRO           STACK CANARY      NX            PIE             RPATH      RUNPATH      FILE
Partial RELRO   Canary found      NX enabled    PIE enabled     No RPATH   No RUNPATH   ./usr/sbin/eximon.bin



----------
exim-4.86-1.fc24.src.rpm
/mnt/fedora/Packages/e/exim-mysql-4.86-1.fc24.x86_64.rpm
RELRO           STACK CANARY      NX            PIE             RPATH      RUNPATH      FILE
Partial RELRO   Canary found      NX enabled    DSO             No RPATH   No RUNPATH   ./usr/lib64/exim/4.86-1.fc24/lookups/mysql.so



----------
exim-4.86-1.fc24.src.rpm
/mnt/fedora/Packages/e/exim-pgsql-4.86-1.fc24.x86_64.rpm
RELRO           STACK CANARY      NX            PIE             RPATH      RUNPATH      FILE
Partial RELRO   Canary found      NX enabled    DSO             No RPATH   No RUNPATH   ./usr/lib64/exim/4.86-1.fc24/lookups/pgsql.so


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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Jaroslav Škarvada 2015-09-18 16:12:30 UTC
I am taking it.

I think it's enough to do full RELRO on the exim daemon and not on all support binaries (could affect performance, so probably better to keep them partial RELRO). So fixing it this way.

If you think it's not enough, let me know, but it would require patching of the exim buildscripts.


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