Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 577438 - app-text/ghostscript-gpl add more hardening flags
Summary: app-text/ghostscript-gpl add more hardening flags
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-14 22:28 UTC by Agostino Sarubbo
Modified: 2017-02-18 11:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2016-03-14 22:28:24 UTC
I discovered that ghostscript-gpl has ~180 unresolved bugs derived from fuzzing. So it is really dangerous for the security side.

I'd suggest to add some flags to make it hardened.

What do you think?
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2017-02-17 20:29:45 UTC
(In reply to Agostino Sarubbo from comment #0)
> I discovered that ghostscript-gpl has ~180 unresolved bugs derived from
> fuzzing. So it is really dangerous for the security side.
> 
> I'd suggest to add some flags to make it hardened.
> 
> What do you think?

That you should probably provide more information on what you precisely want.
Comment 2 Agostino Sarubbo gentoo-dev 2017-02-18 11:31:49 UTC
I guess CFLAGS="-fPIE -fstack-protector-all -fstack-check=specific" and LDFLAGS="-pie" are enough.
What I said are the default in openssh. You can check the flags with hardening-check tool(in portage) or checksec