Skip to content

[CRE-47] Add safeurl to protect against SSRF#15885

Merged
agparadiso merged 1 commit into
developfrom
CRE-47-use-safeurl
Jan 13, 2025
Merged

[CRE-47] Add safeurl to protect against SSRF#15885
agparadiso merged 1 commit into
developfrom
CRE-47-use-safeurl

Conversation

@cedric-cordenier

@cedric-cordenier cedric-cordenier commented Jan 9, 2025

Copy link
Copy Markdown
Contributor

Use the safeurl client to protect against SSRF vulnerabilities.

IPs and CIDR ranges can be explicitly blocked via the Gateway spec, but by default the safeurl.Client (as configured by this PR) blocks:

  • access to all ports except 443 and 80
  • access to all schemes except http/https
  • access to loopback, current (0.0.0.0) and RFC1918 IPs.

I tested the above using a local node

@cedric-cordenier cedric-cordenier marked this pull request as ready for review January 9, 2025 17:44
@cedric-cordenier cedric-cordenier requested review from a team as code owners January 9, 2025 17:44
@github-actions

github-actions Bot commented Jan 9, 2025

Copy link
Copy Markdown
Contributor

AER Report: CI Core ran successfully ✅

aer_workflow , commit

AER Report: Operator UI CI ran successfully ✅

aer_workflow , commit

@cedric-cordenier cedric-cordenier requested a review from a team as a code owner January 9, 2025 17:56
@cl-sonarqube-production

Copy link
Copy Markdown

@cedric-cordenier cedric-cordenier added this pull request to the merge queue Jan 13, 2025
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jan 13, 2025
@cedric-cordenier cedric-cordenier added this pull request to the merge queue Jan 13, 2025
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jan 13, 2025
@agparadiso agparadiso added this pull request to the merge queue Jan 13, 2025
Merged via the queue into develop with commit 98adf6d Jan 13, 2025
@agparadiso agparadiso deleted the CRE-47-use-safeurl branch January 13, 2025 11:55
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.

3 participants