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

sec: remove open redirect to codecov #799

Merged
merged 1 commit into from
Sep 6, 2024
Merged

Conversation

ajay-sentry
Copy link
Contributor

Purpose/Motivation

This PR aims to fix a security backdoor where users can abuse the open redirect for codecov to potentially lead a user to a malicious website.

This was patched 3 years ago and moved to being done at the ingress level but the underlying code was never removed. We're just looking to remove the code now

Links to relevant tickets

Closes https://github.com/codecov/internal-issues/issues/653

I may take a stab at also doing some sanitization of the SVGs too but this will at least close the issue

Notes to Reviewer

Anything to note to the team? Any tips on how to review, or where to start?

Legal Boilerplate

Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. In 2022 this entity acquired Codecov and as result Sentry is going to need some rights from me in order to utilize my contributions in this PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.

@codecov-notifications
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@ajay-sentry ajay-sentry added this pull request to the merge queue Sep 6, 2024
Merged via the queue into main with commit a9526b8 Sep 6, 2024
16 of 17 checks passed
@ajay-sentry ajay-sentry deleted the Ajay/remove-open-redirect branch September 6, 2024 19:08
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