CVE-2017-20005

nginx: buffer overflow in ngx_gmtime() triggered by 5 digit years

Published Jun 6, 2021 CVSS 3.1 · 9.8 Critical EPSS 3.3% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-2680-1 nginx security update
EUVD EUVD EUVD-2017-11020 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.
Ubuntu USN Ubuntu USN USN-5109-1 nginx vulnerability
History
Type Values Removed Values Added
Weaknesses CWE-120
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Dec 5, 2025, 2:54 PM
Reserved
Jun 6, 2021, 12:00 AM
Status
Modified
Published
Jun 6, 2021, 10:15 PM
Modified
Jun 17, 2026, 1:14 AM
Severity
Important
Public date
Sep 13, 2017, 12:00 AM