Col-E / Col-E/LL-Java-Zip

Warn about / reject local file headers which have a data descriptor but don't use deflate compression

未关闭
#21 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement idea
主要语言
Java
星标
52
派生
9
PR 合并指标
30 天内没有已合并 PR

描述

Parsing just a local file header which uses a data descriptor is technically not reliable when it uses stored (uncompressed) data. A malicious actor could theoretically insert a local file header or data descriptor header at an arbitrary point to confuse parsing. Deflate compressed streams are self terminating, so they don't suffer from the same problem. If the size of an entry is only read from the central directory file header, this isn't a problem, but JVM zip parsing rejects such local file headers anyway.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。