It was reported that the nginx web server packages in Debian suffered from a > privilege escalation vulnerability (www-data to root) due to the way log files > are handled.
Debian bug report:
Created nginx tracking bugs for this issue:
Affects: fedora-all [bug 1390183]
Affects: epel-all [bug 1390184]
Default SELinux policies on RHEL and Fedora protect against this flaw by limiting the files nginx's (uid 0) logging process can write to (httpd_log_t).
Only systems running with `setenforce 0` or running nginx unconfined are vulnerable to privilege escalation.
With SELinux enforcing, it may still be possible for an attacker to redirect nginx's access.log output to another file labelled with httpd_log_t, but the consequences of such an attack are minimal.
To exploit this flaw, an attacker must first be able to run code under the nginx uid. This is only possible if the attacker already has administrative privileges, or has used another vulnerability to gain such access.
Red Hat Product Security has rated this issue as having Low security impact. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.