CVE-2017-20005
published critical CVSS 3.1 · 9.8nginx: buffer overflow in ngx_gmtime() triggered by 5 digit years
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Debian | stretch | nginx | Advisory build | 1.10.3-1+deb9u7 | DLA-2680-1 |
| Ubuntu | esm | nginx | Advisory build | 1.4.6-1ubuntu3.9+esm3 | USN-5109-1 |
| Ubuntu | esm | nginx-common | Advisory build | 1.4.6-1ubuntu3.9+esm3 | USN-5109-1 |
| Ubuntu | esm | nginx-core | Advisory build | 1.4.6-1ubuntu3.9+esm3 | USN-5109-1 |
| Ubuntu | esm | nginx-extras | Advisory build | 1.4.6-1ubuntu3.9+esm3 | USN-5109-1 |
| Ubuntu | esm | nginx-full | Advisory build | 1.4.6-1ubuntu3.9+esm3 | USN-5109-1 |
| Ubuntu | esm | nginx-light | Advisory build | 1.4.6-1ubuntu3.9+esm3 | USN-5109-1 |
Show 8 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | esm | nginx-naxsi | Advisory build | 1.4.6-1ubuntu3.9+esm3 | USN-5109-1 |
| Ubuntu | esm | nginx-naxsi-ui | Advisory build | 1.4.6-1ubuntu3.9+esm3 | USN-5109-1 |
| Ubuntu | xenial | nginx | Advisory build | 1.10.3-0ubuntu0.16.04.5+esm2 | USN-5109-1 |
| Ubuntu | xenial | nginx-common | Advisory build | 1.10.3-0ubuntu0.16.04.5+esm2 | USN-5109-1 |
| Ubuntu | xenial | nginx-core | Advisory build | 1.10.3-0ubuntu0.16.04.5+esm2 | USN-5109-1 |
| Ubuntu | xenial | nginx-extras | Advisory build | 1.10.3-0ubuntu0.16.04.5+esm2 | USN-5109-1 |
| Ubuntu | xenial | nginx-full | Advisory build | 1.10.3-0ubuntu0.16.04.5+esm2 | USN-5109-1 |
| Ubuntu | xenial | nginx-light | Advisory build | 1.10.3-0ubuntu0.16.04.5+esm2 | USN-5109-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
3- n/a
- CWE-120 CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
- CWE-190 CWE-190 Integer Overflow or Wraparound
References
6- http://nginx.org/en/CHANGES
- https://github.com/nginx/nginx/commit/0206ebe76f748bb39d9de4dd4b3fce777fdfdccf
- https://github.com/nginx/nginx/commit/b900cc28fcbb4cf5a32ab62f80b59292e1c85b4b
- [debian-lts-announce] 20210607 [SECURITY] [DLA 2680-1] nginx security update https://lists.debian.org/debian-lts-announce/2021/06/msg00009.html
- https://security.netapp.com/advisory/ntap-20210805-0006/
- https://trac.nginx.org/nginx/ticket/1368
Provider assertions
3mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- bc8a4026720b8fdbe32bd82de8783e1cb2bfa616a632db3990b4aa38629e2759
- Ingested
- 23 Sep 2026, 07:42:31 UTC
- Source record
- Official CVE record