Skip to content

fix: KMZ zip bomb mitigation by adding entry and size limits#1677

Open
kikoso wants to merge 2 commits intomainfrom
fix/kmz-zip-bomb
Open

fix: KMZ zip bomb mitigation by adding entry and size limits#1677
kikoso wants to merge 2 commits intomainfrom
fix/kmz-zip-bomb

Conversation

@kikoso
Copy link
Copy Markdown
Collaborator

@kikoso kikoso commented Apr 16, 2026

Mitigates potential DoS attacks via KMZ 'zip bombs' by enforcing limits on:

  • Total number of entries (max 200)
  • Total uncompressed size (max 50MB)

A new test class is added to verify these limits.

@googlemaps-bot
Copy link
Copy Markdown
Contributor

googlemaps-bot commented Apr 16, 2026

Code Coverage

Overall Project 41.22% -0.08% 🍏
Files changed 83.48% 🍏

File Coverage
KmlLayer.java 67.51% -5.32% 🍏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants