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.
The 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.
Link | Tags |
---|---|
http://nginx.org/en/CHANGES | release notes vendor advisory |
https://trac.nginx.org/nginx/ticket/1368 | exploit patch vendor advisory |
https://github.com/nginx/nginx/commit/0206ebe76f748bb39d9de4dd4b3fce777fdfdccf | third party advisory patch |
https://github.com/nginx/nginx/commit/b900cc28fcbb4cf5a32ab62f80b59292e1c85b4b | third party advisory patch |
https://lists.debian.org/debian-lts-announce/2021/06/msg00009.html | third party advisory mailing list |
https://security.netapp.com/advisory/ntap-20210805-0006/ | third party advisory |