Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#52547 - [nginx-mainline] [Security] privilege escalation (CVE-2016-1247)

Attached to Project: Arch Linux
Opened by Levente Polyak (anthraxx) - Saturday, 14 January 2017, 17:19 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Sunday, 15 January 2017, 13:03 GMT
Task Type Bug Report
Category Security
Status Closed
Assigned To Bartłomiej Piotrowski (Barthalion)
Architecture All
Severity High
Priority High
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No



The package nginx-mainline is vulnerable to privilege escalation via CVE-2016-1247.


The current permission setup on /var/log/nginx/ allows the privilege escalation to happen. We should adapt (like nearly all distros).

> ls -ld /var/log/nginx
drwxr-x--- 2 http log 4096 Jan 8 00:00 /var/log/nginx

To mitigate this issue, this should be:

> ls -ld /var/log/nginx
drwxr-xr-x 2 root root 20480 Jan 14 06:25 /var/log/nginx/

This task depends upon

Closed by  Bartłomiej Piotrowski (Barthalion)
Sunday, 15 January 2017, 13:03 GMT
Reason for closing:  Fixed
Additional comments about closing:  nginx-mainline 1.11.8-2