Nginx Security Advisory: Update Your Nginx
Nginx has recently posted a major security advisory affecting versions 1.3.9-1.4.0.
The vulnerability relates to a stack-based buffer overflow attack which is susceptible with specially crafted requests to the Nginx web-server.
How to implement the latest Nginx Security Advisory
In order to protect yourself against this vulnerability, simply upgrade or patch your Nginx version to the latest 1.5.0+ or 1.4.1+ release:
How to update Nginx to the latest version in RHEL / CentOS / Fedora:
yum update nginx
How to update Nginx to the latest version in Debian / Ubuntu:
apt-get update nginx
Notice: Backup your web server before updating. The update commands provided above are to be performed at the discretion of your System Administrator.