{"schemaVersion":3,"id":"CVE-2017-20005","aliases":["UBUNTU-CVE-2017-20005","USN-5109-1","DEBIAN-CVE-2017-20005","DLA-2680-1"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2021-06-06T21:04:06.000Z","modified":"2025-12-05T14:54:13.321Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.5,"severity":"high","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true}]},"epss":{"probability":0.03258,"percentile":0.88211,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":-0.02699999999999994,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.03285},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.03285,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.03285,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.03285,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.03285,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.03285,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.03285,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03285,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03285,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03285,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03285,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03285,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03258,"percentile":0.88211}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.03285,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03285,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03285,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03285,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03285,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03285,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03258,"percentile":0.88211}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_95001BB2086B3D9D","name":"Exploit Reference (trac.nginx.org)","source":"reference","url":"https://trac.nginx.org/nginx/ticket/1368","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-190","name":"Integer Overflow or Wraparound","description":"The product performs a calculation that can\n         produce an integer overflow or wraparound when the logic\n         assumes that the resulting value will always be larger than\n         the original value. This occurs when an integer value is\n         incremented to a value that is too large to store in the\n         associated representation. When this occurs, the value may\n         become a very small or negative number.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/190.html"},{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')","description":"The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/120.html"}],"affected":[{"vendor":"debian","product":"nginx","name":"nginx","label":"nginx","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/nginx","purlType":"deb","versions":[{"text":"< 1.13.6-1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.10.3-1+deb9u7","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.13.6-1 | < 1.10.3-1+deb9u7","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"nginx","name":"nginx","label":"nginx","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/nginx","purlType":"deb","versions":[{"text":"< 1.4.6-1ubuntu3.9+esm3","noFixRecorded":false,"fixedIn":null},{"text":"< 1.10.3-0ubuntu0.16.04.5+esm2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.4.6-1ubuntu3.9+esm3 | < 1.10.3-0ubuntu0.16.04.5+esm2","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"9.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"9.0","eol":{"isEol":true,"eolDate":"2022-07-01T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"9","label":"9 (Stretch)","eolFrom":"2022-07-01T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"9.13"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"f5","product":"nginx","name":"nginx","label":"nginx","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.13.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.13.6","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"nginx","label":"nginx","category":"server-app"}},"hubHref":"/vendor/f5/nginx"}],"affectedCount":4,"eol":{"hasEol":true,"count":1},"references":[{"url":"http://nginx.org/en/CHANGES","label":"nginx.org/en/CHANGES","hostname":"nginx.org","tags":["X Refsource MISC","Release Notes","Vendor Advisory","REPORT"]},{"url":"https://trac.nginx.org/nginx/ticket/1368","label":"trac.nginx.org/nginx/ticket/1368","hostname":"trac.nginx.org","tags":["X Refsource MISC","Exploit","Patch","Vendor Advisory","REPORT"]},{"url":"https://github.com/nginx/nginx/commit/0206ebe76f748bb39d9de4dd4b3fce777fdfdccf","label":"github.com/nginx/nginx/commit/0206ebe76f748bb39d9de4dd4b3fce777fdfdccf","hostname":"github.com","tags":["X Refsource MISC","Patch","Third Party Advisory","REPORT"]},{"url":"https://github.com/nginx/nginx/commit/b900cc28fcbb4cf5a32ab62f80b59292e1c85b4b","label":"github.com/nginx/nginx/commit/b900cc28fcbb4cf5a32ab62f80b59292e1c85b4b","hostname":"github.com","tags":["X Refsource MISC","Patch","Third Party Advisory","REPORT"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/06/msg00009.html","label":"lists.debian.org/debian-lts-announce/2021/06/msg00009.html","hostname":"lists.debian.org","tags":["Mailing List","X Refsource MLIST","Third Party Advisory","REPORT"]},{"url":"https://security.netapp.com/advisory/ntap-20210805-0006/","label":"security.netapp.com/advisory/ntap-20210805-0006/","hostname":"security.netapp.com","tags":["X Refsource CONFIRM","Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2017-20005","label":"ubuntu.com/security/CVE-2017-20005","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-5109-1","label":"ubuntu.com/security/notices/USN-5109-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-20005","label":"www.cve.org/CVERecord?id=CVE-2017-20005","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-20005","label":"security-tracker.debian.org/tracker/CVE-2017-20005","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2021-06-06T21:04:06.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-12-05T14:54:13.321Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T07:19:54.905Z","stale":false,"partial":false}}