Vulnerability CVE-2007-0842


Published: 2007-02-13   Modified: 2012-02-12

Description:
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.

See advisories in our WLB2 database:
Topic
Author
Date
Low
Microsoft Visual C++ 8.0 standard library time functions invalid assertion DoS (Problem 3000).
3APA3A
14.02.2007

Type:

CWE-399

(Resource Management Errors)

CVSS2 => (AV:N/AC:L/Au:N/C:N/I:N/A:P)

CVSS Base Score
Impact Subscore
Exploitability Subscore
5/10
2.9/10
10/10
Exploit range
Attack complexity
Authentication
Remote
Low
No required
Confidentiality impact
Integrity impact
Availability impact
None
None
Partial
Affected software
Microsoft -> Visual c++ 
Microsoft -> Visual studio 

 References:
http://msdn2.microsoft.com/en-us/library/a442x3ye(VS.80).aspx
http://securityreason.com/securityalert/2237
http://www.securityfocus.com/archive/1/459847/100/0/threaded
https://exchange.xforce.ibmcloud.com/vulnerabilities/32454

Copyright 2024, cxsecurity.com

 

Back to Top