 |
|
|
|
| DoS против 64-битных функций времени в Microsoft Visual Studio | | Опубликовано: |  | 13 февраля 2007 г. | | Источник: |  | SECURITYVULNS | | SecurityVulns ID: |  | 7216 | | Тип: |  | библиотека | | Опасность: |  | 5/10 | | Описание: |  | Некорректное использование макроса типа assert() приводит к аварийному завершению приложения, при использования значений time_t выше _MAX__TIME64_T (1 января 3000 года). |
| CVE: |  | CVE-2007-0842 (The 64-bit versions of Microsoft Visual C++ 8.0 standard library (MSVCR80.DLL) time functions, including (1) localtime, (2) localtime_s, (3) gmtime, (4) gmtime_s, (5) ctime, (6) ctime_s, (7) wctime, (8) wctime_s, and (9) fstat, trigger an assertion error instead of a NULL pointer or EINVAL when processing a time argument later than Jan 1, 3000, which might allow context-dependent attackers to cause a denial of service (application exit) via large time values. NOTE: it could be argued that this is a design limitation of the functions, and the vulnerability lies with any application that does not validate arguments to these functions. However, this behavior is inconsistent with documentation, which does not list assertions as a possible result of an error condition.) |
|
|
|
|
|
|
|
|