{"schemaVersion":4,"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.88766,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.03258},"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":null},{"date":"2026-10-20T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.03258,"percentile":0.88766}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.03258,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.03258,"percentile":0.88766}]},"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","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,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.13.6-1","endInclusive":false}},{"text":"< 1.10.3-1+deb9u7","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.10.3-1+deb9u7","endInclusive":false}}],"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,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.4.6-1ubuntu3.9+esm3","endInclusive":false}},{"text":"< 1.10.3-0ubuntu0.16.04.5+esm2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.10.3-0ubuntu0.16.04.5+esm2","endInclusive":false}}],"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,"bounds":{"kind":"exact","version":"9.0"}}],"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,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.13.6","endInclusive":false}}],"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}],"priority":{"label":"prioritise","tag":"public-exploit","reason":"Public exploit (reference, Date unknown)","nextStep":"Check applicability and the vendor advisory: no fix release is recorded here","rank":[0,0,0,1,3,98],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.03258,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2025-12-05T14:54:13.321Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1","headline":true},{"type":"cvss","source":"nvd","date":"2025-12-05T14:54:13.321Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"nvd","date":"2025-12-05T14:54:13.321Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","version":"2.0"},{"type":"cvss","source":"osv_ubuntu","date":"2025-12-05T14:54:13.321Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"osv_debian","date":"2025-12-05T14:54:13.321Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2025-12-04T13:25:48.777Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"},{"type":"exploit","source":"reference","date":null,"status":"valid","statusDate":null,"statusSource":null,"disputes":[],"maturity":"unknown","verified":false}],"epss":{"value":0.03258,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T03:02:07.274Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T03:02:07.824Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T03:02:08.009Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T03:00:58.365Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T03:02:05.166Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T03:02:04.195Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T03:35:23.292Z","stale":false,"partial":false}}