CVE-2017-20005: debian debian_linux Integer Overflow or Wraparound
Vulnerability summary
CVE-2017-20005 is a critical (CVSS 9.8) Integer Overflow or Wraparound vulnerability in debian debian_linux. EPSS estimates a 3.26% chance of exploitation in the next 30 days, higher than 88.2% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 06-06-2021PublishedVulnerability first disclosed.
- 05-12-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 4 sources · 2 versions- NVDNIST9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
3.26%
Chance of exploitation in the next 30 days
Percentile
88%
Versus all other CVEs
30-day change
-0.03 pp
From 3.28% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (trac.nginx.org)
Maturity: unknown
Weaknesses
CWE · root cause- CWE-190Integer Overflow or WraparoundThe product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
- CWE-120Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')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.
Affected systems
Debian2 products
- nginx< 1.13.6-1 | < 1.10.3-1+deb9u7
- debian_linuxEOL9.0
F51 product
- nginx< 1.13.6
Ubuntu1 product
- nginx< 1.4.6-1ubuntu3.9+esm3 | < 1.10.3-0ubuntu0.16.04.5+esm2
3 vendors · 4 products
References
10 links- github.com/nginx/nginx/commit/0206ebe76f748bb39d9de4dd4b3fce777fdfdccfX Refsource MISCPatchThird Party AdvisoryREPORT
- github.com/nginx/nginx/commit/b900cc28fcbb4cf5a32ab62f80b59292e1c85b4bX Refsource MISCPatchThird Party AdvisoryREPORT
- lists.debian.org/debian-lts-announce/2021/06/msg00009.htmlMailing ListX Refsource MLISTThird Party AdvisoryREPORT