This document provides an overview of security concerns related to nginx deployments, focusing on confidentiality, integrity, availability, and the implications of configurations and misconfigurations.
Please report any vulnerabilities via one of the following methods (in order of preference):
Report a vulnerability within this repository. We are using the GitHub workflow that allows us to manage vulnerabilities in a private manner and interact with reporters securely.
Report via email to security-alert@nginx.org. This method will be deprecated in the future.
The nginx team expects that all suspected vulnerabilities be reported privately via the Reporting a Vulnerability guidelines. If a publicly released vulnerability is reported, we may request to handle it according to the private disclosure process. If the reporter agrees, we will follow the private disclosure process.
Security fixes will be applied to all supported stable releases, as well as the mainline version, as applicable. We recommend using the most recent mainline or stable release of nginx. Fixes are created and tested by the core team using a GitHub private fork for security. If necessary, the reporter may be invited to contribute to the fork and assist with the solution.
The nginx team is committed to responsible information disclosure with sufficient detail, such as the CVSS score and vector. Privately disclosed vulnerabilities are embargoed by default until the fix is released. Communications and fixes remain private until made public. As nginx is supported by F5, we generally follow the F5 security vulnerability response policy.
Vulnerabilities compromising data confidentiality or integrity are considered the highest priority. Any issue leading to unauthorized data access, leaks, or manipulation will trigger the security release process.
Availability issues must meet the following criteria to trigger the security release process:
Availability issues excluded from the security release process:
In nginx, configuration files, modules, certificate/key pairs, nginx JavaScript, and local file content are considered trusted sources. Issues arising from loading or execution of these trusted components are not considered vulnerabilities. Operators are responsible for securing and maintaining the integrity of these sources. Misconfigurations can create vulnerabilities, and operators should implement configurations according to best practices, review them regularly, and apply security updates.
The data plane handles traffic through nginx, directly interacting with user data. nginx inherently trusts the content and instructions from upstream servers. The control plane governs configuration, management, and orchestration. Misconfigurations or vulnerabilities in the control plane can cause improper behavior in the data plane.
The policy applies to all nginx modules included in this repository. Security considerations and attack vectors for each module will be identified, with recommended configurations to mitigate risks.
Debug logs and core files produced by nginx may contain un-sanitized data, including sensitive information like client requests, server configurations, and private key material. These artifacts must be handled carefully to avoid exposing confidential data.