feat(backend): Remediate ADA-KUBEFL-01: Server-Side Request Forgery#12750
Open
JerT33 wants to merge 1 commit intokubeflow:masterfrom
Open
feat(backend): Remediate ADA-KUBEFL-01: Server-Side Request Forgery#12750JerT33 wants to merge 1 commit intokubeflow:masterfrom
JerT33 wants to merge 1 commit intokubeflow:masterfrom
Conversation
|
Skipping CI for Draft Pull Request. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
15d0c68 to
40b7c76
Compare
40b7c76 to
b45a203
Compare
8c2670a to
c51b0e9
Compare
c51b0e9 to
f78476d
Compare
inital layout for pipeline url validation Signed-off-by: JerT33 <trestjeremiah@gmail.com> revert dummy commit Signed-off-by: JerT33 <trestjeremiah@gmail.com> fix de morgans law failure Signed-off-by: JerT33 <trestjeremiah@gmail.com> minor updates Signed-off-by: JerT33 <trestjeremiah@gmail.com> more refinements Signed-off-by: JerT33 <trestjeremiah@gmail.com> adjust cidrs Signed-off-by: JerT33 <trestjeremiah@gmail.com> fix tests Signed-off-by: JerT33 <trestjeremiah@gmail.com> remove multicast Signed-off-by: JerT33 <trestjeremiah@gmail.com> fix formatting Signed-off-by: JerT33 <trestjeremiah@gmail.com> fix lint and tests Signed-off-by: JerT33 <trestjeremiah@gmail.com>
f78476d to
f0f7a7e
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description of your changes:
Background
Fixes SSRF vulnerability (ADA-KUBEFL-01) in CreatePipelineV1/V2 APIs where user-provided URLs are fetched without destination validation
To avoid disruption of any current users who rely on URLs for pipeline upload functionality, the following remediations have been completed:
Logic:
Validate Pipeline URL:
SafePipelineHTTPClient:
General:
User-configurable options:
PIPELINE_URL_ALLOWED_DOMAINS: extend the default domain allow-listPIPELINE_URL_ALLOW_HTTP: allow HTTP URLs (default false)PIPELINE_URL_TIMEOUT: configure request timeout in seconds (default 30)PIPELINE_URL_VALIDATION_ENABLED: toggle pipeline url validation - for testing purposes (default true)Live Cluster Testing Evidence
Before:
After
Checklist: