Every CVE Search/ Get API key

CVE-2017-20005

NGINX before 1.13.6 has a buffer overflow for years that exceed four digits, as demonstrated by a...

9.8 CriticalFix available

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

3.26%Down 2.1 points since Jun 8, 2021
90%50%10%1%

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 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV: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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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

Affected packages
PackageAffectedFixed
nginx
TuxCare:OracleLinux:6
before 1.10.3-4.el6.cloudlinux.els
1.10.3-4.el6.cloudlinux.els
nginx-all-modules
TuxCare:OracleLinux:6
before 1.10.3-4.el6.cloudlinux.els
1.10.3-4.el6.cloudlinux.els
nginx-filesystem
TuxCare:OracleLinux:6
before 1.10.3-4.el6.cloudlinux.els
1.10.3-4.el6.cloudlinux.els
nginx-mod-http-geoip
TuxCare:OracleLinux:6
before 1.10.3-4.el6.cloudlinux.els
1.10.3-4.el6.cloudlinux.els
nginx-mod-http-image-filter
TuxCare:OracleLinux:6
before 1.10.3-4.el6.cloudlinux.els
1.10.3-4.el6.cloudlinux.els
nginx-mod-http-perl
TuxCare:OracleLinux:6
before 1.10.3-4.el6.cloudlinux.els
1.10.3-4.el6.cloudlinux.els
nginx-mod-http-xslt-filter
TuxCare:OracleLinux:6
before 1.10.3-4.el6.cloudlinux.els
1.10.3-4.el6.cloudlinux.els
nginx-mod-mail
TuxCare:OracleLinux:6
before 1.10.3-4.el6.cloudlinux.els
1.10.3-4.el6.cloudlinux.els
nginx-mod-stream
TuxCare:OracleLinux:6
before 1.10.3-4.el6.cloudlinux.els
1.10.3-4.el6.cloudlinux.els
nginx
TuxCare:Ubuntu:16.04
before 1.10.3-0ubuntu0.16.04.8
1.10.3-0ubuntu0.16.04.8
Show 21 moreShow less
Affected packages
PackageAffectedFixed
nginx-common
TuxCare:Ubuntu:16.04
before 1.10.3-0ubuntu0.16.04.8
1.10.3-0ubuntu0.16.04.8
nginx-core
TuxCare:Ubuntu:16.04
before 1.10.3-0ubuntu0.16.04.8
1.10.3-0ubuntu0.16.04.8
nginx-doc
TuxCare:Ubuntu:16.04
before 1.10.3-0ubuntu0.16.04.8
1.10.3-0ubuntu0.16.04.8
nginx-extras
TuxCare:Ubuntu:16.04
before 1.10.3-0ubuntu0.16.04.8
1.10.3-0ubuntu0.16.04.8
nginx-full
TuxCare:Ubuntu:16.04
before 1.10.3-0ubuntu0.16.04.8
1.10.3-0ubuntu0.16.04.8
nginx-light
TuxCare:Ubuntu:16.04
before 1.10.3-0ubuntu0.16.04.8
1.10.3-0ubuntu0.16.04.8
nginx
TuxCare:CentOS:6
before 1.10.3-4.el6.cloudlinux.els
1.10.3-4.el6.cloudlinux.els
nginx-all-modules
TuxCare:CentOS:6
before 1.10.3-4.el6.cloudlinux.els
1.10.3-4.el6.cloudlinux.els
nginx-filesystem
TuxCare:CentOS:6
before 1.10.3-4.el6.cloudlinux.els
1.10.3-4.el6.cloudlinux.els
nginx-mod-http-geoip
TuxCare:CentOS:6
before 1.10.3-4.el6.cloudlinux.els
1.10.3-4.el6.cloudlinux.els
nginx-mod-http-image-filter
TuxCare:CentOS:6
before 1.10.3-4.el6.cloudlinux.els
1.10.3-4.el6.cloudlinux.els
nginx-mod-http-perl
TuxCare:CentOS:6
before 1.10.3-4.el6.cloudlinux.els
1.10.3-4.el6.cloudlinux.els
nginx-mod-http-xslt-filter
TuxCare:CentOS:6
before 1.10.3-4.el6.cloudlinux.els
1.10.3-4.el6.cloudlinux.els
nginx-mod-mail
TuxCare:CentOS:6
before 1.10.3-4.el6.cloudlinux.els
1.10.3-4.el6.cloudlinux.els
nginx-mod-stream
TuxCare:CentOS:6
before 1.10.3-4.el6.cloudlinux.els
1.10.3-4.el6.cloudlinux.els
nginx
Debian:12
before 1.13.6-1
1.13.6-1
nginx
Debian:13
before 1.13.6-1
1.13.6-1
nginx
Debian:14
before 1.13.6-1
1.13.6-1
nginx
Debian: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 less
1.10.3-1+deb9u31.10.3-1+deb9u41.10.3-1+deb9u51.10.3-1+deb9u6
1.10.3-1+deb9u7
nginx
Ubuntu: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 less
1.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
nginx
Ubuntu: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 less
1.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

History
RecordedChangedSources
first indexedCVE 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

Show 9 moreShow less
MoveEnter Open