中危 Snappy 输入验证错误漏洞(CVE-2023-34455)
CVE编号
CVE-2023-34455利用情况
暂无补丁情况
官方补丁披露时间
2023-06-16漏洞描述
snappy-java is a fast compressor/decompressor for Java. Due to use of an unchecked chunk length, an unrecoverable fatal error can occur in versions prior to 1.1.10.1. The code in the function hasNextChunk in the fileSnappyInputStream.java checks if a given stream has more chunks to read. It does that by attempting to read 4 bytes. If it wasn’t possible to read the 4 bytes, the function returns false. Otherwise, if 4 bytes were available, the code treats them as the length of the next chunk. In the case that the `compressed` variable is null, a byte array is allocated with the size given by the input data. Since the code doesn’t test the legality of the `chunkSize` variable, it is possible to pass a negative number (such as 0xFFFFFFFF which is -1), which will cause the code to raise a `java.lang.NegativeArraySizeException` exception. A worse case would happen when passing a huge positive value (such as 0x7FFFFFFF), which would raise the fatal `java.lang.OutOfMemoryError` error. Version 1.1.10.1 contains a patch for this issue.解决建议
"将组件 org.xerial.snappy:snappy-java 升级至 1.1.10.1 及以上版本"受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
应用 | xerial | snappy-java | * | Up to (excluding) 1.1.10.1 | |||||
运行在以下环境 | |||||||||
系统 | kylinos_aarch64_V10 | snappy-java | * | Up to (excluding) 1.1.2.4-2.ky10 | |||||
运行在以下环境 | |||||||||
系统 | kylinos_aarch64_V10SP2 | snappy-java | * | Up to (excluding) 1.1.2.4-2.ky10 | |||||
运行在以下环境 | |||||||||
系统 | kylinos_aarch64_V10SP3 | snappy-java | * | Up to (excluding) 1.1.2.4-2.ky10 | |||||
运行在以下环境 | |||||||||
系统 | kylinos_loongarch64_V10SP3 | snappy-java-javadoc | * | Up to (excluding) 1.1.2.4-2.a.ky10 | |||||
运行在以下环境 | |||||||||
系统 | kylinos_x86_64_V10 | snappy-java | * | Up to (excluding) 1.1.2.4-2.ky10 | |||||
运行在以下环境 | |||||||||
系统 | kylinos_x86_64_V10SP2 | snappy-java | * | Up to (excluding) 1.1.2.4-2.ky10 | |||||
运行在以下环境 | |||||||||
系统 | kylinos_x86_64_V10SP3 | snappy-java | * | Up to (excluding) 1.1.2.4-2.ky10 | |||||
运行在以下环境 | |||||||||
系统 | unionos_e | snappy-java | * | Up to (excluding) snappy-java-1.1.2.4-2.uel20 | |||||
- 攻击路径 本地
- 攻击复杂度 复杂
- 权限要求 普通权限
- 影响范围 越权影响
- EXP成熟度 未验证
- 补丁情况 官方补丁
- 数据保密性 无影响
- 数据完整性 无影响
- 服务器危害 无影响
- 全网数量 N/A
CWE-ID | 漏洞类型 |
CWE-770 | 不加限制或调节的资源分配 |
Exp相关链接

版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
评论