Vulnerabilities / CVE-2017-20005

critical

CVE-2017-20005

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

Published Modified CWE 190, 120
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (high), Ubuntu (medium).

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.

Affected packages and fixed versions

SourcePackageFixed in
debian 11nginx1.13.6-1
debian 12nginx1.13.6-1
debian 13nginx1.13.6-1
debian 14nginx1.13.6-1
debian 9nginx1.10.3-1+deb9u7
echonginx1.13.6-1
root.io debian 12rootio-nginx1.13.6-1
ubuntu 14.04-ESMnginx1.4.6-1ubuntu3.9+esm3
ubuntu 16.04-ESMnginx1.10.3-0ubuntu0.16.04.5+esm2

References

All 10 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.