CVEfocus › CVE database › CVE-2017-20005

CVE-2017-20005

CVSS 9.8 CriticalEPSS 3.3% (higher than 89% of CVEs)Published 2021-06-06Updated 2025-12-05Assigner: mitre

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.

CWE-120CWE-190

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
2Fix pending
20Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04nginxNot affected
vulnerable_code_not_present
Ubuntu 16.04nginxFix pending1.10.3-0ubuntu0.16.04.5+esm2 (Ubuntu Pro)UBUNTU-CVE-2017-20005
Ubuntu 14.04nginxFix pending1.4.6-1ubuntu3.9+esm3 (Ubuntu Pro)UBUNTU-CVE-2017-20005
Debian 14nginxFixed1.13.6-1DEBIAN-CVE-2017-20005
Debian 13nginxFixed1.13.6-1DEBIAN-CVE-2017-20005
Debian 12nginxFixed1.13.6-1DEBIAN-CVE-2017-20005
Red Hat Enterprise Linux 9nginxNot affected
Red Hat Enterprise Linux 9nginx-all-modulesNot affected
Red Hat Enterprise Linux 9nginx-coreNot affected
Red Hat Enterprise Linux 9nginx-filesystemNot affected
Red Hat Enterprise Linux 9nginx-mod-develNot affected
Red Hat Enterprise Linux 9nginx-mod-http-image-filterNot affected
Red Hat Enterprise Linux 9nginx-mod-http-perlNot affected
Red Hat Enterprise Linux 9nginx-mod-http-xslt-filterNot affected
Red Hat Enterprise Linux 9nginx-mod-mailNot affected
Red Hat Enterprise Linux 9nginx-mod-streamNot affected
Red Hat Enterprise Linux 8nginxNot affected
Red Hat Enterprise Linux 8nginx-all-modulesNot affected
Red Hat Enterprise Linux 8nginx-filesystemNot affected
Red Hat Enterprise Linux 8nginx-mod-develNot affected
Red Hat Enterprise Linux 8nginx-mod-http-image-filterNot affected
Red Hat Enterprise Linux 8nginx-mod-http-perlNot affected
Red Hat Enterprise Linux 8nginx-mod-http-xslt-filterNot affected
Red Hat Enterprise Linux 8nginx-mod-mailNot affected
Red Hat Enterprise Linux 8nginx-mod-streamNot affected

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.