NVD Vulnerability Detail
Search Exploit, PoC
CVE-2008-1685
Summary

gcc 4.2.0 through 4.3.0 in GNU Compiler Collection, when casts are not used, considers the sum of a pointer and an int to be greater than or equal to the pointer, which might lead to removal of length testing code that was intended as a protection mechanism against integer overflow and buffer overflow attacks, and provide no diagnostic message about this removal. NOTE: the vendor has determined that this compiler behavior is correct according to section 6.5.6 of the C99 standard (aka ISO/IEC 9899:1999)

Publication Date April 7, 2008, 8:44 a.m.
Registration Date Jan. 29, 2021, 1:34 p.m.
Last Update Aug. 7, 2024, 6:15 p.m.
CVSS2.0 : MEDIUM
Score 6.8
Vector AV:N/AC:M/Au:N/C:P/I:P/A:P
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃前の認証要否(Au) 不要
機密性への影響(C)
完全性への影響(I)
可用性への影響(A)
Get all privileges. いいえ
Get user privileges いいえ
Get other privileges はい
User operation required いいえ
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:gnu:gcc:4.2.4:*:*:*:*:*:*:*
cpe:2.3:a:gnu:gcc:4.2.0:*:*:*:*:*:*:*
cpe:2.3:a:gnu:gcc:4.2.1:*:*:*:*:*:*:*
cpe:2.3:a:gnu:gcc:4.2.3:*:*:*:*:*:*:*
cpe:2.3:a:gnu:gcc:4.3.0:*:*:*:*:*:*:*
cpe:2.3:a:gnu:gcc:4.2.2:*:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List