{"id":"UBUNTU-CVE-2017-20005","details":"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.","modified":"2026-02-04T03:49:07.236631Z","published":"2021-06-06T22:15:00Z","related":["USN-5109-1"],"upstream":["CVE-2017-20005"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-20005"},{"type":"REPORT","url":"https://github.com/nginx/nginx/commit/0206ebe76f748bb39d9de4dd4b3fce777fdfdccf"},{"type":"REPORT","url":"https://github.com/nginx/nginx/commit/b900cc28fcbb4cf5a32ab62f80b59292e1c85b4b"},{"type":"REPORT","url":"https://trac.nginx.org/nginx/ticket/1368"},{"type":"REPORT","url":"http://nginx.org/en/CHANGES"},{"type":"REPORT","url":"https://lists.debian.org/debian-lts-announce/2021/06/msg00009.html"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5109-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-20005"}],"affected":[{"package":{"name":"nginx","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/nginx@1.4.6-1ubuntu3.9+esm3?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.6-1ubuntu3.9+esm3"}]}],"versions":["1.4.1-3ubuntu1","1.4.3-2ubuntu1","1.4.4-1ubuntu1","1.4.4-2ubuntu1","1.4.4-4ubuntu1","1.4.5-1ubuntu1","1.4.6-1ubuntu2","1.4.6-1ubuntu3","1.4.6-1ubuntu3.1","1.4.6-1ubuntu3.2","1.4.6-1ubuntu3.3","1.4.6-1ubuntu3.4","1.4.6-1ubuntu3.5","1.4.6-1ubuntu3.6","1.4.6-1ubuntu3.7","1.4.6-1ubuntu3.8","1.4.6-1ubuntu3.9","1.4.6-1ubuntu3.9+esm1","1.4.6-1ubuntu3.9+esm2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"nginx","binary_version":"1.4.6-1ubuntu3.9+esm3"},{"binary_name":"nginx-common","binary_version":"1.4.6-1ubuntu3.9+esm3"},{"binary_name":"nginx-core","binary_version":"1.4.6-1ubuntu3.9+esm3"},{"binary_name":"nginx-extras","binary_version":"1.4.6-1ubuntu3.9+esm3"},{"binary_name":"nginx-full","binary_version":"1.4.6-1ubuntu3.9+esm3"},{"binary_name":"nginx-light","binary_version":"1.4.6-1ubuntu3.9+esm3"},{"binary_name":"nginx-naxsi","binary_version":"1.4.6-1ubuntu3.9+esm3"},{"binary_name":"nginx-naxsi-ui","binary_version":"1.4.6-1ubuntu3.9+esm3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-20005.json"}},{"package":{"name":"nginx","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/nginx@1.10.3-0ubuntu0.16.04.5+esm2?arch=source&distro=esm-infra/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.3-0ubuntu0.16.04.5+esm2"}]}],"versions":["1.9.3-1ubuntu1","1.9.6-2ubuntu1","1.9.6-2ubuntu2","1.9.9-0ubuntu1","1.9.9-1ubuntu1","1.9.10-0ubuntu1","1.9.10-1ubuntu1","1.9.11-0ubuntu1","1.9.11-0ubuntu2","1.9.12-0ubuntu1","1.9.13-0ubuntu1","1.9.14-0ubuntu1","1.9.15-0ubuntu1","1.10.0-0ubuntu0.16.04.1","1.10.0-0ubuntu0.16.04.2","1.10.0-0ubuntu0.16.04.3","1.10.0-0ubuntu0.16.04.4","1.10.3-0ubuntu0.16.04.1","1.10.3-0ubuntu0.16.04.2","1.10.3-0ubuntu0.16.04.3","1.10.3-0ubuntu0.16.04.4","1.10.3-0ubuntu0.16.04.5","1.10.3-0ubuntu0.16.04.5+esm1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"nginx","binary_version":"1.10.3-0ubuntu0.16.04.5+esm2"},{"binary_name":"nginx-common","binary_version":"1.10.3-0ubuntu0.16.04.5+esm2"},{"binary_name":"nginx-core","binary_version":"1.10.3-0ubuntu0.16.04.5+esm2"},{"binary_name":"nginx-extras","binary_version":"1.10.3-0ubuntu0.16.04.5+esm2"},{"binary_name":"nginx-full","binary_version":"1.10.3-0ubuntu0.16.04.5+esm2"},{"binary_name":"nginx-light","binary_version":"1.10.3-0ubuntu0.16.04.5+esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-20005.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}