-
Notifications
You must be signed in to change notification settings - Fork 176
fix(jans-cedarling): Recursive directory traversal and add size to StatusList Zlib decompression to prevent zip bombs #14856
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
haileyesus2433
wants to merge
11
commits into
main
Choose a base branch
from
jans-cedarling-14821/2
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 6 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
9f71b29
feat(jans-cedarling): add MaxDepthExceeded error variant to
haileyesus2433 e6492f2
feat(jans-cedarling): Add DecompressedSizeExceeded error variant
haileyesus2433 c1b125d
feat(jans-cedarling): Limit directory recursion depth in policy loader
haileyesus2433 6a43189
feat(jans-cedarling): Limit decompressed status list size to 10MB
haileyesus2433 f925248
feat(jans-cedarling): add test for max directory recursion depth
haileyesus2433 beb6357
Merge branch 'main' into jans-cedarling-14821/2
haileyesus2433 0368bee
chore(jans-cedarling): improve error message in status list test
haileyesus2433 f9fd9f1
chore(jans-cedarling): fix clipy issues
haileyesus2433 3830531
refactor(jans-cedarling): simplify path construction in recursion dep…
olehbozhok 5038878
refactor(jans-cedarling): rename shadowed list var to compressed
olehbozhok aa7ac25
docs(jans-cedarling): clarify decompression limit is a hard safety cap
olehbozhok File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.