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 件 担当者 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 を短くまとめたダイジェスト。