Snappy 输入验证错误漏洞(CVE-2023-34455)

admin 2023-11-29 23:03:47 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
中危 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 及以上版本"
参考链接
https://github.com/xerial/snappy-java/blob/05c39b2ca9b5b7b39611529cc302d3d796...
https://github.com/xerial/snappy-java/blob/master/src/main/java/org/xerial/sn...
https://github.com/xerial/snappy-java/commit/3bf67857fcf70d9eea56eed4af7c925671e8eaea
https://github.com/xerial/snappy-java/security/advisories/GHSA-qcwq-55hx-v3vh
https://security.netapp.com/advisory/ntap-20230818-0009/
受影响软件情况
# 类型 厂商 产品 版本 影响面
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
阿里云评分 6.2
  • 攻击路径 本地
  • 攻击复杂度 复杂
  • 权限要求 普通权限
  • 影响范围 越权影响
  • EXP成熟度 未验证
  • 补丁情况 官方补丁
  • 数据保密性 无影响
  • 数据完整性 无影响
  • 服务器危害 无影响
  • 全网数量 N/A
CWE-ID 漏洞类型
CWE-770 不加限制或调节的资源分配
- avd.aliyun.com
weinxin
版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
N/A Ali_nvd

N/A

N/ACVE编号 CVE-2024-9120利用情况 暂无补丁情况 N/A披露时间 2024-09-23漏洞描述Use after free in Dawn
评论:0   参与:  1