CVE-2017-20005
NGINX before 1.13.6 has a buffer overflow for years that exceed four digits, as demonstrated by a...
NGINX before 1.13.6 has a buffer overflow for years that exceed four digits, as demonstrated by a file with a modification date in 1969 that causes an integer overflow (or a false modification date far in the future), when encountered by the autoindex module.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
NGINX before 1.13.6 has a buffer overflow for years that exceed four digits, as demonstrated by a file with a modification date in 1969 that causes an integer overflow (or a false modification date far in the future), when encountered by the autoindex module.
- Record
CVE-2017-20005- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-190, CWE-120
- Updated
- 2026-11-02
CVE List
9.8
NGINX before 1.13.6 has a buffer overflow for years that exceed four digits, as demonstrated by a file with a modification date in 1969 that causes an integer overflow (or a false modification date far in the future), when encountered by the autoindex module.
- Record
CVE-2017-20005- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-120, CWE-190
- Updated
- 2026-11-02
EUVDEUVD-2017-11020
9.8
NGINX before 1.13.6 has a buffer overflow for years that exceed four digits, as demonstrated by a file with a modification date in 1969 that causes an integer overflow (or a false modification date far in the future), when encountered by the autoindex module.
- Record
EUVD-2017-11020- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-6g54-r3q8-8jvq
9.8
NGINX before 1.13.6 has a buffer overflow for years that exceed four digits, as demonstrated by a...
NGINX before 1.13.6 has a buffer overflow for years that exceed four digits, as demonstrated by a file with a modification date in 1969 that causes an integer overflow (or a false modification date far in the future), when encountered by the autoindex module.
- Record
GHSA-6g54-r3q8-8jvq- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-120, CWE-190
- Updated
- 2026-11-02
OSV
9.8
NGINX before 1.13.6 has a buffer overflow for years that exceed four digits, as demonstrated by a file with a modification date in 1969 that causes an integer overflow (or a false modification date far in the future), when encountered by the autoindex module.
- Record
CVE-2017-20005- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2017-20005
9.8
NGINX before 1.13.6 has a buffer overflow for years that exceed four digits, as demonstrated by a file with a modification date in 1969 that causes an integer overflow (or a false modification date far in the future), when encountered by the autoindex module.
- Record
DEBIAN-CVE-2017-20005- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 5 moreShow less
OSVUBUNTU-CVE-2017-20005
9.8
NGINX before 1.13.6 has a buffer overflow for years that exceed four digits, as demonstrated by a file with a modification date in 1969 that causes an integer overflow (or a false modification date far in the future), when encountered by the autoindex module.
- Record
UBUNTU-CVE-2017-20005- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVCLSA-2021-1635427159 No score
Fixed CVE-2017-20005 in nginx
- CVE-2017-20005: fix buffer overflow for years that exceed four digits
- Record
CLSA-2021-1635427159- Updated
- 2026-11-02
OSVCLSA-2021-1635430310 No score
Fix CVE(s): CVE-2017-20005
- SECURITY UPDATE: Fix buffer overflow for years that exceed four digits.
- debian/patches/CVE-2017-20005.patch
- CVE-2017-20005
- Record
CLSA-2021-1635430310- Updated
- 2026-11-02
OSVCLSA-2021-1636378490 No score
Fix of CVE: CVE-2017-20005
- CVE-2017-20005: fix buffer overflow for years that exceed four digits
- Record
CLSA-2021-1636378490- Updated
- 2026-11-02
OSVUSN-5109-1 No score
nginx vulnerability
It was discovered that nginx incorrectly handled files with certain modification dates. A remote attacker could possibly use this issue to cause a denial of service or other unspecified impact.
- Record
USN-5109-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
nginxTuxCare:OracleLinux:6 |
before 1.10.3-4.el6.cloudlinux.els | 1.10.3-4.el6.cloudlinux.els |
nginx-all-modulesTuxCare:OracleLinux:6 |
before 1.10.3-4.el6.cloudlinux.els | 1.10.3-4.el6.cloudlinux.els |
nginx-filesystemTuxCare:OracleLinux:6 |
before 1.10.3-4.el6.cloudlinux.els | 1.10.3-4.el6.cloudlinux.els |
nginx-mod-http-geoipTuxCare:OracleLinux:6 |
before 1.10.3-4.el6.cloudlinux.els | 1.10.3-4.el6.cloudlinux.els |
nginx-mod-http-image-filterTuxCare:OracleLinux:6 |
before 1.10.3-4.el6.cloudlinux.els | 1.10.3-4.el6.cloudlinux.els |
nginx-mod-http-perlTuxCare:OracleLinux:6 |
before 1.10.3-4.el6.cloudlinux.els | 1.10.3-4.el6.cloudlinux.els |
nginx-mod-http-xslt-filterTuxCare:OracleLinux:6 |
before 1.10.3-4.el6.cloudlinux.els | 1.10.3-4.el6.cloudlinux.els |
nginx-mod-mailTuxCare:OracleLinux:6 |
before 1.10.3-4.el6.cloudlinux.els | 1.10.3-4.el6.cloudlinux.els |
nginx-mod-streamTuxCare:OracleLinux:6 |
before 1.10.3-4.el6.cloudlinux.els | 1.10.3-4.el6.cloudlinux.els |
nginxTuxCare:Ubuntu:16.04 |
before 1.10.3-0ubuntu0.16.04.8 | 1.10.3-0ubuntu0.16.04.8 |
Show 21 moreShow less
| Package | Affected | Fixed |
|---|---|---|
nginx-commonTuxCare:Ubuntu:16.04 |
before 1.10.3-0ubuntu0.16.04.8 | 1.10.3-0ubuntu0.16.04.8 |
nginx-coreTuxCare:Ubuntu:16.04 |
before 1.10.3-0ubuntu0.16.04.8 | 1.10.3-0ubuntu0.16.04.8 |
nginx-docTuxCare:Ubuntu:16.04 |
before 1.10.3-0ubuntu0.16.04.8 | 1.10.3-0ubuntu0.16.04.8 |
nginx-extrasTuxCare:Ubuntu:16.04 |
before 1.10.3-0ubuntu0.16.04.8 | 1.10.3-0ubuntu0.16.04.8 |
nginx-fullTuxCare:Ubuntu:16.04 |
before 1.10.3-0ubuntu0.16.04.8 | 1.10.3-0ubuntu0.16.04.8 |
nginx-lightTuxCare:Ubuntu:16.04 |
before 1.10.3-0ubuntu0.16.04.8 | 1.10.3-0ubuntu0.16.04.8 |
nginxTuxCare:CentOS:6 |
before 1.10.3-4.el6.cloudlinux.els | 1.10.3-4.el6.cloudlinux.els |
nginx-all-modulesTuxCare:CentOS:6 |
before 1.10.3-4.el6.cloudlinux.els | 1.10.3-4.el6.cloudlinux.els |
nginx-filesystemTuxCare:CentOS:6 |
before 1.10.3-4.el6.cloudlinux.els | 1.10.3-4.el6.cloudlinux.els |
nginx-mod-http-geoipTuxCare:CentOS:6 |
before 1.10.3-4.el6.cloudlinux.els | 1.10.3-4.el6.cloudlinux.els |
nginx-mod-http-image-filterTuxCare:CentOS:6 |
before 1.10.3-4.el6.cloudlinux.els | 1.10.3-4.el6.cloudlinux.els |
nginx-mod-http-perlTuxCare:CentOS:6 |
before 1.10.3-4.el6.cloudlinux.els | 1.10.3-4.el6.cloudlinux.els |
nginx-mod-http-xslt-filterTuxCare:CentOS:6 |
before 1.10.3-4.el6.cloudlinux.els | 1.10.3-4.el6.cloudlinux.els |
nginx-mod-mailTuxCare:CentOS:6 |
before 1.10.3-4.el6.cloudlinux.els | 1.10.3-4.el6.cloudlinux.els |
nginx-mod-streamTuxCare:CentOS:6 |
before 1.10.3-4.el6.cloudlinux.els | 1.10.3-4.el6.cloudlinux.els |
nginxDebian:12 |
before 1.13.6-1 | 1.13.6-1 |
nginxDebian:13 |
before 1.13.6-1 | 1.13.6-1 |
nginxDebian:14 |
before 1.13.6-1 | 1.13.6-1 |
nginxDebian:9 |
before 1.10.3-1+deb9u7, plus listed versions 1.10.3-11.10.3-1+deb9u11.10.3-1+deb9u1~bpo8+11.10.3-1+deb9u1~bpo8+21.10.3-1+deb9u2 Show 4 moreShow less1.10.3-1+deb9u31.10.3-1+deb9u41.10.3-1+deb9u51.10.3-1+deb9u6 |
1.10.3-1+deb9u7 |
nginxUbuntu:Pro:14.04:LTS |
before 1.4.6-1ubuntu3.9+esm3, plus listed versions 1.4.1-3ubuntu11.4.3-2ubuntu11.4.4-1ubuntu11.4.4-2ubuntu11.4.4-4ubuntu1 Show 14 moreShow less1.4.5-1ubuntu11.4.6-1ubuntu21.4.6-1ubuntu31.4.6-1ubuntu3.11.4.6-1ubuntu3.21.4.6-1ubuntu3.31.4.6-1ubuntu3.41.4.6-1ubuntu3.51.4.6-1ubuntu3.61.4.6-1ubuntu3.71.4.6-1ubuntu3.81.4.6-1ubuntu3.91.4.6-1ubuntu3.9+esm11.4.6-1ubuntu3.9+esm2 |
1.4.6-1ubuntu3.9+esm3 |
nginxUbuntu:Pro:16.04:LTS |
before 1.10.3-0ubuntu0.16.04.5+esm2, plus listed versions 1.9.3-1ubuntu11.9.6-2ubuntu11.9.6-2ubuntu21.9.9-0ubuntu11.9.9-1ubuntu1 Show 18 moreShow less1.9.10-0ubuntu11.9.10-1ubuntu11.9.11-0ubuntu11.9.11-0ubuntu21.9.12-0ubuntu11.9.13-0ubuntu11.9.14-0ubuntu11.9.15-0ubuntu11.10.0-0ubuntu0.16.04.11.10.0-0ubuntu0.16.04.21.10.0-0ubuntu0.16.04.31.10.0-0ubuntu0.16.04.41.10.3-0ubuntu0.16.04.11.10.3-0ubuntu0.16.04.21.10.3-0ubuntu0.16.04.31.10.3-0ubuntu0.16.04.41.10.3-0ubuntu0.16.04.51.10.3-0ubuntu0.16.04.5+esm1 |
1.10.3-0ubuntu0.16.04.5+esm2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2017-20005 is a critical vulnerability (CVSS 9.8) in F5 Nginx, published June 6, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.26%, the 88th percentile. Fixed in nginx 1.10.3-4.el6.cloudlinux.els.
References
nginx.org/en/CHANGES
trac.nginx.org/nginx/ticket/1368
github.com/nginx/nginx/commit/0206ebe76f748bb39d9de4dd4b3fce777fdfdccf
github.com/nginx/nginx/commit/b900cc28fcbb4cf5a32ab62f80b59292e1c85b4b
lists.debian.org/debian-lts-announce/2021/06/msg00009.html
security.netapp.com/advisory/ntap-20210805-0006
Show 9 moreShow less
nvd.nist.gov/vuln/detail/CVE-2017-20005
github.com/advisories/GHSA-6g54-r3q8-8jvq
errata.cloudlinux.com/ol6/CLSA-2021-1635427159.html
errata.cloudlinux.com/ubuntu16_04/CLSA-2021-1635430310
errata.cloudlinux.com/els6/CLSA-2021-1636378490.html
security-tracker.debian.org/tracker/CVE-2017-20005
ubuntu.com/security/CVE-2017-20005
ubuntu.com/security/notices/USN-5109-1
cve.org/CVERecord?id=CVE-2017-20005