Skip to content
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

Restrict path segments in TenantIDs #20

Merged
merged 2 commits into from
Jul 21, 2021

Conversation

simonswine
Copy link
Contributor

@simonswine simonswine commented Jul 21, 2021

This prevents paths generated from TenantIDs to become vulnerable to path traversal attacks.

cf. https://github.com/grafana/cortex-private/pull/8 cortexproject/cortex#4375

This prevents paths generated from TenantIDs to become vulnerable to
path traversal attacks. (CVE-2021-36157)

Signed-off-by: Christian Simon <simon@swine.de>
@simonswine simonswine force-pushed the 20210707_restrict-relative-segements-in-tenant-id branch from aa6ab82 to 4aaddb4 Compare July 21, 2021 12:33
Copy link
Collaborator

@pracucci pracucci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

CHANGELOG.md Outdated Show resolved Hide resolved
Signed-off-by: Marco Pracucci <marco@pracucci.com>
@pracucci pracucci enabled auto-merge (squash) July 21, 2021 12:53
@pracucci pracucci merged commit 47c4e86 into main Jul 21, 2021
@pracucci pracucci deleted the 20210707_restrict-relative-segements-in-tenant-id branch July 21, 2021 14:28
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.

2 participants