CVE-2008-1685

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)

公開: 2008-04-06 最後更新: 2026-06-16 指派方: [email protected] 來源: [email protected]

結論預警: CVE-2008-1685 綜合評估為中等風險(49.4/100):CVSS 技術影響為中級,利用機率(EPSS 1.25%) 強制指令: 梳理受影響資產並納入修補計畫。

風險隨態勢動態變化;本站持續評估並同步更新本頁展示內容。

CVE-2008-1685 的 EPSS(利用預測評分)

EPSS 日更估計相對被利用可能性;百分位表示該 CVE 在已評分漏洞中的相對排名(越高表示相對更嚴重)。

# 日期 舊 EPSS 分數 新 EPSS 分數 變化(新 − 舊)
1 2026-06-15 2.01% 1.25% -0.76%
2 2025-09-15 0.49% 2.01% +1.53%
3 2025-03-17 0.49%

完整 EPSS 歷史 (共 5 筆)

CVE-2008-1685 的 CVSS 指標

該 CVE 的 CVSS 指標。

底座分 版本 嚴重度 向量 可利用性 影響 分數來源
6.8 2.0 MEDIUM
AV:N/AC:M/Au:N/C:P/I:P/A:P 點擊展開
存取路徑 (AV:N)
只要路由可達,即可從遠端發動利用。
存取複雜度 (AC:M)
需要若干有利條件,但不必「千年一遇」。
認證 (AU:N)
全程無需有效身分。
機密性影響 (C:P)
機密性受到部分損害。
完整性影響 (I:P)
完整性受到部分損害。
可用性影響 (A:P)
可用性受到部分損害。
8.6 6.4 [email protected]

CVE-2008-1685 的弱點列舉

CVE-2008-1685 的 OS 追蹤

vendor priority summary link
redhat low https://access.redhat.com/security/cve/CVE-2008-1685
ubuntu low CVE-2008-1685 low priority: Ubuntu including 2 source packages (gcc-4.2, gcc-4.3), 18 status rows across 9 suites (dapper, edgy, feisty, gutsy, hardy, intrepid, jaunty, karmic, upstream): ignored 10, DNE 8. https://ubuntu.com/security/CVE-2008-1685

CVE-2008-1685 的廠商評論(NVD)

  • Red Hat (2008-07-24T00:00:00)

    The Red Hat Security Response Team is aware of this new gcc behavior and is currently working to determine what impact these changes will have on the source code processed by the compiler. These changes do not affect Red Hat Enterprise Linux 2, 3, 4, or 5.

CVE-2008-1685 的影響軟體 / 設定

廠商 產品 版本 原始 CPE
gnu gcc 4.2.0 cpe:2.3:a:gnu:gcc:4.2.0:*:*:*:*:*:*:*
gnu gcc 4.2.1 cpe:2.3:a:gnu:gcc:4.2.1:*:*:*:*:*:*:*
gnu gcc 4.2.2 cpe:2.3:a:gnu:gcc:4.2.2:*:*:*:*:*:*:*
gnu gcc 4.2.3 cpe:2.3:a:gnu:gcc:4.2.3:*:*:*:*:*:*:*
gnu gcc 4.2.4 cpe:2.3:a:gnu:gcc:4.2.4:*:*:*:*:*:*:*
gnu gcc 4.3.0 cpe:2.3:a:gnu:gcc:4.3.0:*:*:*:*:*:*:*

CVE-2008-1685 的參考連結

cvelogic Threat Intelligence