squid3 missing pie and bind-now hardening options
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
squid3 (Debian) |
Fix Released
|
Unknown
|
|||
squid3 (Ubuntu) |
Fix Released
|
High
|
Jamie Strandboge | ||
Precise |
Fix Released
|
High
|
Unassigned |
Bug Description
The squid (v2) package had all of the hardening options enabled (see http://
STEPS TO REPRODUCE:
1) install the hardening-includes package
2) run '/usr/bin/
If all the hardening options were enabled at compile time, the output and return code should be:
$ hardening-check /usr/sbin/squid3
/usr/sbin/squid3:
Position Independent Executable: yes
Stack protected: yes
Fortify Source functions: yes (some protected functions found)
Read-only relocations: yes
Immediate binding: yes
$ echo $?
0
However, with the current squid3 version in precise(
$ /usr/bin/
/usr/sbin/squid3:
Position Independent Executable: no, normal executable!
Stack protected: yes
Fortify Source functions: yes (some protected functions found)
Read-only relocations: yes
Immediate binding: no not found!
$ echo $?
1
You can also use the test-built-
$ nosetests test-built-
Testing squid ... ok
-----
Ran 1 test in 3.699s
OK
Changed in squid3 (Ubuntu): | |
importance: | Undecided → High |
tags: | added: qa-r-t regression-release |
Changed in squid3 (Debian): | |
status: | Unknown → New |
Changed in squid3 (Debian): | |
status: | New → Fix Released |
For more details on the hardening options, please see http:// wiki.debian. org/Hardening
Attached is a debdiff for precise-proposed SRU that addresses the issue as well as fixes the file descriptor limit in bug 986159. I've built and confirmed both issues locally, as well as performed a modicum of testing to verify that squid3 still functions as expected.
Thanks.