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

feat: adding new vulnerabilities #28

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

feat: adding new vulnerabilities #28

wants to merge 10 commits into from

Conversation

dylansnyk
Copy link
Owner

No description provided.

@dylansnyk
Copy link
Owner Author

dylansnyk commented Sep 23, 2024

Snyk checks have failed. 7 issues have been found so far.

Icon Severity Issues
Critical 0
High 5
Medium 2
Low 0

security/snyk check is complete. 4 issues have been found. (View Details)

license/snyk check is complete. 2 issues have been found. (View Details)

code/snyk check is complete. 1 issues have been found. (View Details)

public void makeRequest(@RequestParam String url) {
HttpClient client = HttpClient.newHttpClient();

HttpRequest request = HttpRequest.newBuilder()
Copy link
Owner Author

Choose a reason for hiding this comment

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

  Server-Side Request Forgery (SSRF)

Unsanitized input from an HTTP parameter flows into uri, where it is used as an URL to perform a request. This may result in a Server-Side Request Forgery vulnerability.

CWE-918 | Priority score 834 | Line 44

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.

1 participant