Skip to content

Conversation

@claudiamurialdo
Copy link
Collaborator

  • Added a timeout to the Regex constructor to prevent potential Regular Expression Denial of Service (ReDoS).
  • Sanitized the user-provided filename in GetBinary.
  • Improved debug logging in GXMetadata.cs by logging class names instead of constructor arguments, and removed ConstructorArgsString to prevent unsanitized user input from being written to log files.
  • Issue:206598

- Added a timeout to the Regex constructor to prevent potential Regular Expression Denial of Service (ReDoS).
- Sanitized the user-provided filename in GetBinary.
- Improved debug logging in GXMetadata.cs by logging class names instead of constructor arguments, and removed ConstructorArgsString to prevent unsanitized user input from being written to log files.
@claudiamurialdo claudiamurialdo changed the title Fix code QL security issues: Fix code QL security issues Dec 1, 2025
@claudiamurialdo claudiamurialdo temporarily deployed to external-storage-tests December 1, 2025 17:31 — with GitHub Actions Inactive
@claudiamurialdo claudiamurialdo temporarily deployed to kafka-integration-tests December 1, 2025 17:31 — with GitHub Actions Inactive
@genexusbot
Copy link
Collaborator

Cherry pick to beta failed, 1 conflicted file in commit 2c97906
  • dotnet/src/dotnetframework/GxClasses/Helpers/GXMetadata.cs

@genexusbot genexusbot added the conflict Conflict merging to beta branch label Dec 1, 2025
@genexusbot
Copy link
Collaborator

Manual cherry pick to beta success

@genexusbot genexusbot removed the conflict Conflict merging to beta branch label Dec 1, 2025
sgrampone
sgrampone previously approved these changes Dec 2, 2025
@genexusbot
Copy link
Collaborator

Cherry pick to beta success

@claudiamurialdo claudiamurialdo merged commit 74f2008 into master Dec 2, 2025
10 checks passed
@claudiamurialdo claudiamurialdo deleted the fix/code-ql-redos-log-forging branch December 2, 2025 18:37
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.

4 participants