Skip to content

Zip parser: tolerate 2-byte overlap in file entries (0.105.1)#641

Merged
val-ms merged 1 commit intoCisco-Talos:dev/0.105.1from
val-ms:CLAM-1763-overlapping-files-0.105.1
Jul 19, 2022
Merged

Zip parser: tolerate 2-byte overlap in file entries (0.105.1)#641
val-ms merged 1 commit intoCisco-Talos:dev/0.105.1from
val-ms:CLAM-1763-overlapping-files-0.105.1

Conversation

@val-ms
Copy link
Contributor

@val-ms val-ms commented Jul 18, 2022

Backport of #561


The heuristic to alert on overlapping file entries is detecting some
non-malicious JAR files observed in critical enterprise software.
The goal with overlap detection is to alert on non-recursive zip-
bombs, so this tiny overlap isn't a concern.
We'll allow a 2-byte overlap so we don't alert on such zips.

The heuristic to alert on overlapping file entries is detecting some
non-malicious JAR files observed in critical enterprise software.
The goal with overlap detection is to alert on non-recursive zip-
bombs, so this tiny overlap isn't a concern.
We'll allow a 2-byte overlap so we don't alert on such zips.
@val-ms val-ms changed the base branch from main to dev/0.105.1 July 18, 2022 18:42
@val-ms val-ms merged commit aa181e2 into Cisco-Talos:dev/0.105.1 Jul 19, 2022
@val-ms val-ms deleted the CLAM-1763-overlapping-files-0.105.1 branch July 19, 2022 22:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant