Skip to content

Reject archive entries escaping the target in tomee-maven-plugin - #3079

Open
rzo1 wants to merge 1 commit into
mainfrom
maven-plugin-unzip-containment
Open

rzo1 wants to merge 1 commit into
mainfrom
maven-plugin-unzip-containment

Conversation

@rzo1

@rzo1 rzo1 commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

The plugin unpacked distribution archives without checking that entries stay inside the target directory. Entries resolving outside catalinaBase now fail the build with a TomEEException. Added a test with a malicious entry.

reject archive entries resolving outside catalina base, as Zips does
@rzo1 rzo1 self-assigned this Oct 9, 2026
@rzo1
rzo1 requested a review from jungm October 9, 2026 09:14
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.

1 participant