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

Avoid external control of file name when loading svc files. #679

Merged
merged 1 commit into from
Sep 21, 2022

Conversation

claudiamurialdo
Copy link
Collaborator

Validate the entry point url (path of a rest service) with a whitelist that contains all the valid .svc files in web directory and subdirectories.
Also canonicalise the input using FileInfo.FullName.
Issue:97929

@genexusbot
Copy link
Collaborator

Cherry pick to beta failed, 1 conflicted file in commit 2302241
  • dotnet/src/dotnetcore/GxClasses.Web/Middleware/GXRouting.cs

@claudiamurialdo claudiamurialdo temporarily deployed to external-storage-tests September 6, 2022 14:03 Inactive
@genexusbot genexusbot added the conflict Conflict merging to beta branch label Sep 6, 2022
@genexusbot
Copy link
Collaborator

Manual cherry pick to beta success

@genexusbot genexusbot removed the conflict Conflict merging to beta branch label Sep 6, 2022
@claudiamurialdo claudiamurialdo merged commit 5ca4dc7 into master Sep 21, 2022
@claudiamurialdo claudiamurialdo deleted the veracode-external-control-of-file-name branch September 21, 2022 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants