CVE-2007-2789 (CNNVD-200705-398)

MEDIUM
中文标题:
Sun JDK JPG/BMP解析器多个安全漏洞
英文标题:
The BMP image parser in Sun Java Development Kit (JDK) before 1.5.0_11-b03 and 1.6.x before 1.6.0_01...
CVSS分数: 4.3
发布时间: 2007-05-22 00:00:00
漏洞类型: 资源管理错误
状态: PUBLISHED
数据质量分数: 0.30
数据版本: v3
漏洞描述
中文描述:

Sun JDK是一个流行的Java软件开发工具包。 Sun JDK在处理畸形包含畸形内容的JPG/BMP图形文件时存在整数溢出漏洞,远程攻击者可能利用此漏洞通过诱使用户处理恶意文件控制用户机器。 Sun JDK捆绑了一个基于javax.imagio.ImageIO类的图形解析API,程序以如下方式执行这个API: import javax.imageio.ImageIO; import javax.imageio.ImageReader; import java.util.Iterator; import java.io.InputStream; import java.io.FileInputStream; import java.io.ByteArrayInputStream; import javax.imageio.stream.MemoryCacheImageInputStream; import javax.imageio.stream.ImageInputStream; public class ImgReader { public static void main(String[] args) throws Exception { InputStream is = new FileInputStream(args[0]); ImageInputStream iis = new MemoryCacheImageInputStream(is); Iterator it = ImageIO.getImageReaders(iis); ImageReader reader = it.next(); reader.setInput(iis); int width = reader.getWidth(0); } } 程序将第一个命令行参数用作图形文件名并传送给JDK图形解析API。JPEG和BMP解析器支持嵌入的ICC配置文件,如果用户受骗打开了设置有恶意的嵌入ICC配置文件的JPG和BMP图形的话,就可能触发整数溢出,导致JVM崩溃或执行任意指令。 此外BMP文件解析器在解析BMP文件时试图打开本地文件(/dev/tty),这个过程可能导致图形解析线程挂起。

英文描述:

The BMP image parser in Sun Java Development Kit (JDK) before 1.5.0_11-b03 and 1.6.x before 1.6.0_01-b06, and Sun Java Runtime Environment in JDK and JRE 6, JDK and JRE 5.0 Update 10 and earlier, SDK and JRE 1.4.2_14 and earlier, and SDK and JRE 1.3.1_19 and earlier, when running on Unix/Linux systems, allows remote attackers to cause a denial of service (JVM hang) via untrusted applets or applications that open arbitrary local files via a crafted BMP file, such as /dev/tty.

CWE类型:
CWE-399
标签:
(暂无数据)
受影响产品
厂商 产品 版本 版本范围 平台 CPE
sun jdk 1.5.0 - - cpe:2.3:a:sun:jdk:1.5.0:-:*:*:*:*:*:*
sun jdk 1.6.0 - - cpe:2.3:a:sun:jdk:1.6.0:-:*:*:*:*:*:*
sun jre 1.3.1 - - cpe:2.3:a:sun:jre:1.3.1:-:*:*:*:*:*:*
sun jre 1.3.1_2 - - cpe:2.3:a:sun:jre:1.3.1_2:*:*:*:*:*:*:*
sun jre 1.3.1_03 - - cpe:2.3:a:sun:jre:1.3.1_03:*:*:*:*:*:*:*
sun jre 1.3.1_04 - - cpe:2.3:a:sun:jre:1.3.1_04:*:*:*:*:*:*:*
sun jre 1.3.1_05 - - cpe:2.3:a:sun:jre:1.3.1_05:*:*:*:*:*:*:*
sun jre 1.3.1_06 - - cpe:2.3:a:sun:jre:1.3.1_06:*:*:*:*:*:*:*
sun jre 1.3.1_07 - - cpe:2.3:a:sun:jre:1.3.1_07:*:*:*:*:*:*:*
sun jre 1.3.1_08 - - cpe:2.3:a:sun:jre:1.3.1_08:*:*:*:*:*:*:*
sun jre 1.3.1_09 - - cpe:2.3:a:sun:jre:1.3.1_09:*:*:*:*:*:*:*
sun jre 1.3.1_10 - - cpe:2.3:a:sun:jre:1.3.1_10:*:*:*:*:*:*:*
sun jre 1.3.1_11 - - cpe:2.3:a:sun:jre:1.3.1_11:*:*:*:*:*:*:*
sun jre 1.3.1_12 - - cpe:2.3:a:sun:jre:1.3.1_12:*:*:*:*:*:*:*
sun jre 1.3.1_13 - - cpe:2.3:a:sun:jre:1.3.1_13:*:*:*:*:*:*:*
sun jre 1.3.1_14 - - cpe:2.3:a:sun:jre:1.3.1_14:*:*:*:*:*:*:*
sun jre 1.3.1_15 - - cpe:2.3:a:sun:jre:1.3.1_15:*:*:*:*:*:*:*
sun jre 1.3.1_16 - - cpe:2.3:a:sun:jre:1.3.1_16:*:*:*:*:*:*:*
sun jre 1.3.1_17 - - cpe:2.3:a:sun:jre:1.3.1_17:*:*:*:*:*:*:*
sun jre 1.3.1_18 - - cpe:2.3:a:sun:jre:1.3.1_18:*:*:*:*:*:*:*
sun jre 1.3.1_19 - - cpe:2.3:a:sun:jre:1.3.1_19:*:*:*:*:*:*:*
sun jre 1.4.2 - - cpe:2.3:a:sun:jre:1.4.2:-:*:*:*:*:*:*
sun jre 1.4.2_1 - - cpe:2.3:a:sun:jre:1.4.2_1:*:*:*:*:*:*:*
sun jre 1.4.2_2 - - cpe:2.3:a:sun:jre:1.4.2_2:*:*:*:*:*:*:*
sun jre 1.4.2_3 - - cpe:2.3:a:sun:jre:1.4.2_3:*:*:*:*:*:*:*
sun jre 1.4.2_4 - - cpe:2.3:a:sun:jre:1.4.2_4:*:*:*:*:*:*:*
sun jre 1.4.2_5 - - cpe:2.3:a:sun:jre:1.4.2_5:*:*:*:*:*:*:*
sun jre 1.4.2_6 - - cpe:2.3:a:sun:jre:1.4.2_6:*:*:*:*:*:*:*
sun jre 1.4.2_7 - - cpe:2.3:a:sun:jre:1.4.2_7:*:*:*:*:*:*:*
sun jre 1.4.2_8 - - cpe:2.3:a:sun:jre:1.4.2_8:*:*:*:*:*:*:*
sun jre 1.4.2_9 - - cpe:2.3:a:sun:jre:1.4.2_9:*:*:*:*:*:*:*
sun jre 1.4.2_10 - - cpe:2.3:a:sun:jre:1.4.2_10:*:*:*:*:*:*:*
sun jre 1.4.2_11 - - cpe:2.3:a:sun:jre:1.4.2_11:*:*:*:*:*:*:*
sun jre 1.4.2_12 - - cpe:2.3:a:sun:jre:1.4.2_12:*:*:*:*:*:*:*
sun jre 1.4.2_13 - - cpe:2.3:a:sun:jre:1.4.2_13:*:*:*:*:*:*:*
sun jre 1.4.2_14 - - cpe:2.3:a:sun:jre:1.4.2_14:*:*:*:*:*:*:*
sun jre 1.5.0 - - cpe:2.3:a:sun:jre:1.5.0:-:*:*:*:*:*:*
sun jre 1.6.0 - - cpe:2.3:a:sun:jre:1.6.0:-:*:*:*:*:*:*
sun sdk 1.3.1 - - cpe:2.3:a:sun:sdk:1.3.1:*:*:*:*:*:*:*
sun sdk 1.3.1_01 - - cpe:2.3:a:sun:sdk:1.3.1_01:*:*:*:*:*:*:*
sun sdk 1.3.1_01a - - cpe:2.3:a:sun:sdk:1.3.1_01a:*:*:*:*:*:*:*
sun sdk 1.3.1_02 - - cpe:2.3:a:sun:sdk:1.3.1_02:*:*:*:*:*:*:*
sun sdk 1.3.1_03 - - cpe:2.3:a:sun:sdk:1.3.1_03:*:*:*:*:*:*:*
sun sdk 1.3.1_04 - - cpe:2.3:a:sun:sdk:1.3.1_04:*:*:*:*:*:*:*
sun sdk 1.3.1_05 - - cpe:2.3:a:sun:sdk:1.3.1_05:*:*:*:*:*:*:*
sun sdk 1.3.1_06 - - cpe:2.3:a:sun:sdk:1.3.1_06:*:*:*:*:*:*:*
sun sdk 1.3.1_07 - - cpe:2.3:a:sun:sdk:1.3.1_07:*:*:*:*:*:*:*
sun sdk 1.3.1_08 - - cpe:2.3:a:sun:sdk:1.3.1_08:*:*:*:*:*:*:*
sun sdk 1.3.1_09 - - cpe:2.3:a:sun:sdk:1.3.1_09:*:*:*:*:*:*:*
sun sdk 1.3.1_10 - - cpe:2.3:a:sun:sdk:1.3.1_10:*:*:*:*:*:*:*
sun sdk 1.3.1_11 - - cpe:2.3:a:sun:sdk:1.3.1_11:*:*:*:*:*:*:*
sun sdk 1.3.1_12 - - cpe:2.3:a:sun:sdk:1.3.1_12:*:*:*:*:*:*:*
sun sdk 1.3.1_13 - - cpe:2.3:a:sun:sdk:1.3.1_13:*:*:*:*:*:*:*
sun sdk 1.3.1_14 - - cpe:2.3:a:sun:sdk:1.3.1_14:*:*:*:*:*:*:*
sun sdk 1.3.1_15 - - cpe:2.3:a:sun:sdk:1.3.1_15:*:*:*:*:*:*:*
sun sdk 1.3.1_16 - - cpe:2.3:a:sun:sdk:1.3.1_16:*:*:*:*:*:*:*
sun sdk 1.3.1_17 - - cpe:2.3:a:sun:sdk:1.3.1_17:*:*:*:*:*:*:*
sun sdk 1.3.1_18 - - cpe:2.3:a:sun:sdk:1.3.1_18:*:*:*:*:*:*:*
sun sdk 1.3.1_19 - - cpe:2.3:a:sun:sdk:1.3.1_19:*:*:*:*:*:*:*
sun sdk 1.4.2 - - cpe:2.3:a:sun:sdk:1.4.2:*:*:*:*:*:*:*
sun sdk 1.4.2_1 - - cpe:2.3:a:sun:sdk:1.4.2_1:*:*:*:*:*:*:*
sun sdk 1.4.2_2 - - cpe:2.3:a:sun:sdk:1.4.2_2:*:*:*:*:*:*:*
sun sdk 1.4.2_3 - - cpe:2.3:a:sun:sdk:1.4.2_3:*:*:*:*:*:*:*
sun sdk 1.4.2_4 - - cpe:2.3:a:sun:sdk:1.4.2_4:*:*:*:*:*:*:*
sun sdk 1.4.2_5 - - cpe:2.3:a:sun:sdk:1.4.2_5:*:*:*:*:*:*:*
sun sdk 1.4.2_6 - - cpe:2.3:a:sun:sdk:1.4.2_6:*:*:*:*:*:*:*
sun sdk 1.4.2_7 - - cpe:2.3:a:sun:sdk:1.4.2_7:*:*:*:*:*:*:*
sun sdk 1.4.2_8 - - cpe:2.3:a:sun:sdk:1.4.2_8:*:*:*:*:*:*:*
sun sdk 1.4.2_9 - - cpe:2.3:a:sun:sdk:1.4.2_9:*:*:*:*:*:*:*
sun sdk 1.4.2_10 - - cpe:2.3:a:sun:sdk:1.4.2_10:*:*:*:*:*:*:*
sun sdk 1.4.2_11 - - cpe:2.3:a:sun:sdk:1.4.2_11:*:*:*:*:*:*:*
sun sdk 1.4.2_12 - - cpe:2.3:a:sun:sdk:1.4.2_12:*:*:*:*:*:*:*
sun sdk 1.4.2_13 - - cpe:2.3:a:sun:sdk:1.4.2_13:*:*:*:*:*:*:*
sun sdk 1.4.2_14 - - cpe:2.3:a:sun:sdk:1.4.2_14:*:*:*:*:*:*:*
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
26933 third-party-advisory
cve.org
访问
无标题 x_refsource_MISC
cve.org
访问
sun-java-virtual-machine-dos(34654) vdb-entry
cve.org
访问
oval:org.mitre.oval:def:10800 vdb-entry
cve.org
访问
26049 third-party-advisory
cve.org
访问
BEA07-177.00 vendor-advisory
cve.org
访问
26311 third-party-advisory
cve.org
访问
20070703 Sun JDK Confusion mailing-list
cve.org
访问
200856 vendor-advisory
cve.org
访问
无标题 x_refsource_MISC
cve.org
访问
30805 third-party-advisory
cve.org
访问
GLSA-200705-23 vendor-advisory
cve.org
访问
24004 vdb-entry
cve.org
访问
20071218 Sun JDK Confusion Revisited mailing-list
cve.org
访问
26369 third-party-advisory
cve.org
访问
GLSA-200804-28 vendor-advisory
cve.org
访问
102934 vendor-advisory
cve.org
访问
28056 third-party-advisory
cve.org
访问
29858 third-party-advisory
cve.org
访问
SUSE-SA:2007:045 vendor-advisory
cve.org
访问
ADV-2007-1836 vdb-entry
cve.org
访问
sunjava-bmp-dos(34320) vdb-entry
cve.org
访问
APPLE-SA-2007-12-14 vendor-advisory
cve.org
访问
RHSA-2008:0100 vendor-advisory
cve.org
访问
RHSA-2007:0956 vendor-advisory
cve.org
访问
无标题 x_refsource_CONFIRM
cve.org
访问
RHSA-2007:0817 vendor-advisory
cve.org
访问
26645 third-party-advisory
cve.org
访问
26119 third-party-advisory
cve.org
访问
25832 third-party-advisory
cve.org
访问
ADV-2007-4224 vdb-entry
cve.org
访问
GLSA-200706-08 vendor-advisory
cve.org
访问
30780 third-party-advisory
cve.org
访问
25295 third-party-advisory
cve.org
访问
ADV-2007-3009 vdb-entry
cve.org
访问
27266 third-party-advisory
cve.org
访问
SUSE-SA:2007:056 vendor-advisory
cve.org
访问
20070711 Sun JDK Confusion mailing-list
cve.org
访问
GLSA-200709-15 vendor-advisory
cve.org
访问
28115 third-party-advisory
cve.org
访问
1018182 vdb-entry
cve.org
访问
RHSA-2008:0261 vendor-advisory
cve.org
访问
29340 third-party-advisory
cve.org
访问
25474 third-party-advisory
cve.org
访问
RHSA-2007:1086 vendor-advisory
cve.org
访问
27203 third-party-advisory
cve.org
访问
20070704 [theall at tenablesecurity.com: Sun JDK Confusion] (fwd) mailing-list
cve.org
访问
GLSA-200804-20 vendor-advisory
cve.org
访问
GLSA-200806-11 vendor-advisory
cve.org
访问
无标题 x_refsource_CONFIRM
cve.org
访问
RHSA-2007:0829 vendor-advisory
cve.org
访问
26631 third-party-advisory
cve.org
访问
RHSA-2008:0133 vendor-advisory
cve.org
访问
CVSS评分详情
4.3
MEDIUM
CVSS向量: AV:N/AC:M/Au:N/C:N/I:N/A:P
CVSS版本: 2.0
机密性
NONE
完整性
NONE
可用性
PARTIAL
时间信息
发布时间:
2007-05-22 00:00:00
修改时间:
2024-08-07 13:49:57
创建时间:
2025-11-11 15:32:44
更新时间:
2025-11-11 15:49:17
利用信息
暂无可利用代码信息
数据源详情
数据源 记录ID 版本 提取时间
CVE cve_CVE-2007-2789 2025-11-11 15:17:52 2025-11-11 07:32:44
NVD nvd_CVE-2007-2789 2025-11-11 14:52:10 2025-11-11 07:41:30
CNNVD cnnvd_CNNVD-200705-398 2025-11-11 15:08:56 2025-11-11 07:49:17
版本与语言
当前版本: v3
主要语言: EN
支持语言:
EN ZH
安全公告
暂无安全公告信息
变更历史
v3 CNNVD
2025-11-11 15:49:17
vulnerability_type: 未提取 → 资源管理错误; cnnvd_id: 未提取 → CNNVD-200705-398; data_sources: ['cve', 'nvd'] → ['cnnvd', 'cve', 'nvd']
查看详细变更
  • vulnerability_type: 未提取 -> 资源管理错误
  • cnnvd_id: 未提取 -> CNNVD-200705-398
  • data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
v2 NVD
2025-11-11 15:41:30
cvss_score: 未提取 → 4.3; cvss_vector: NOT_EXTRACTED → AV:N/AC:M/Au:N/C:N/I:N/A:P; cvss_version: NOT_EXTRACTED → 2.0; affected_products_count: 0 → 74; data_sources: ['cve'] → ['cve', 'nvd']
查看详细变更
  • cvss_score: 未提取 -> 4.3
  • cvss_vector: NOT_EXTRACTED -> AV:N/AC:M/Au:N/C:N/I:N/A:P
  • cvss_version: NOT_EXTRACTED -> 2.0
  • affected_products_count: 0 -> 74
  • data_sources: ['cve'] -> ['cve', 'nvd']