Closed BruceHaley closed 2 years ago
| Created date | Created by | Changed date | Changed By | Assigned To | State | Type | Area Path | Iteration Path| |---|---|---|---|---|---|---|---|---| | 2022-09-27T00:01:04.083Z | Bruce Haley | 2022-10-10T13:20:57.197Z | Tracy Boehrer | Tracy Boehrer | New | Bug | SDK_v4\Code Analysis | SDK_v4\Sprint 1 |
```json
{
"commentVersionRef": {
"commentId": 5193583,
"url": "https://fuselabs.visualstudio.com/86659c66-c9df-418a-a371-7de7aed35064/_apis/wit/workItems/77435/comments/5193583/versions/1",
"version": 1
},
"fields": {
"BotFramework.IsException": false,
"Custom.SecuritySeverity": "Important",
"Microsoft.VSTS.Common.Priority": 2,
"Microsoft.VSTS.Common.Severity": "2 - High",
"Microsoft.VSTS.Common.StateChangeDate": "2022-09-27T00:01:04.083Z",
"Microsoft.VSTS.Common.ValueArea": "Business",
"Microsoft.VSTS.TCM.ReproSteps": "Summary:
CodeQL detected the following issue: Security sensitive JsonWebTokenHandler validations are disabled (Help link)
Repository: https://github.com/microsoft/botbuilder-dotnet/tree/main?path=/libraries/Microsoft.Bot.Connector/Authentication/ParameterizedBotFrameworkAuthentication.cs&line=207&lineStartColumn=40&lineEndColumn=45
File: /libraries/Microsoft.Bot.Connector/Authentication/ParameterizedBotFrameworkAuthentication.cs
Location: Line 207, Column 40 - 45
Link: (Link to LGTM)
Recommendations:
The security sensitive property ValidateAudience is being disabled by the followign value: false.\n
Check if secruity sensitive token validations for `JsonWebTokenHandler` are being disabled.
Microsoft requirement(s): Microsoft.Security.SystemsADM.10201
Requirement: CodeQL.SM03926 (Link to Liquid Requirement)
Confidence: high",
"Microsoft.VSTS.TCM.SystemInfo": "This item was created with CodeQL automated bug filer from CodeQL static analysis tool (formerly known as Semmle).
For more information, see CodeQL @ Microsoft.To change onboarding settings, visit CodeQL Portal.
To suppress, add a comment in code (see more details here.)",
"System.AreaId": 140243,
"System.AreaLevel1": "SDK_v4",
"System.AreaLevel2": "Code Analysis",
"System.AreaPath": "SDK_v4\\Code Analysis",
"System.AssignedTo": {
"_links": {
"avatar": {
"href": "https://fuselabs.visualstudio.com/_apis/GraphProfile/MemberAvatars/aad.MjgyYWE3Y2UtZjhhNC03OGJjLWIzMzYtZWYwNzAwMDIwZmNk"
}
},
"descriptor": "aad.MjgyYWE3Y2UtZjhhNC03OGJjLWIzMzYtZWYwNzAwMDIwZmNk",
"displayName": "Tracy Boehrer",
"id": "282aa7ce-f8a4-68bc-b336-ef0700020fcd",
"imageUrl": "https://fuselabs.visualstudio.com/_apis/GraphProfile/MemberAvatars/aad.MjgyYWE3Y2UtZjhhNC03OGJjLWIzMzYtZWYwNzAwMDIwZmNk",
"uniqueName": "trboehre@microsoft.com",
"url": "https://spsprodeus27.vssps.visualstudio.com/Af8bfd07b-8a79-40e8-afc6-1b1c57ec2a7b/_apis/Identities/282aa7ce-f8a4-68bc-b336-ef0700020fcd"
},
"System.AuthorizedAs": {
"_links": {
"avatar": {
"href": "https://fuselabs.visualstudio.com/_apis/GraphProfile/MemberAvatars/aad.MjgyYWE3Y2UtZjhhNC03OGJjLWIzMzYtZWYwNzAwMDIwZmNk"
}
},
"descriptor": "aad.MjgyYWE3Y2UtZjhhNC03OGJjLWIzMzYtZWYwNzAwMDIwZmNk",
"displayName": "Tracy Boehrer",
"id": "282aa7ce-f8a4-68bc-b336-ef0700020fcd",
"imageUrl": "https://fuselabs.visualstudio.com/_apis/GraphProfile/MemberAvatars/aad.MjgyYWE3Y2UtZjhhNC03OGJjLWIzMzYtZWYwNzAwMDIwZmNk",
"uniqueName": "trboehre@microsoft.com",
"url": "https://spsprodeus27.vssps.visualstudio.com/Af8bfd07b-8a79-40e8-afc6-1b1c57ec2a7b/_apis/Identities/282aa7ce-f8a4-68bc-b336-ef0700020fcd"
},
"System.AuthorizedDate": "2022-10-10T13:20:57.197Z",
"System.ChangedBy": {
"_links": {
"avatar": {
"href": "https://fuselabs.visualstudio.com/_apis/GraphProfile/MemberAvatars/aad.MjgyYWE3Y2UtZjhhNC03OGJjLWIzMzYtZWYwNzAwMDIwZmNk"
}
},
"descriptor": "aad.MjgyYWE3Y2UtZjhhNC03OGJjLWIzMzYtZWYwNzAwMDIwZmNk",
"displayName": "Tracy Boehrer",
"id": "282aa7ce-f8a4-68bc-b336-ef0700020fcd",
"imageUrl": "https://fuselabs.visualstudio.com/_apis/GraphProfile/MemberAvatars/aad.MjgyYWE3Y2UtZjhhNC03OGJjLWIzMzYtZWYwNzAwMDIwZmNk",
"uniqueName": "trboehre@microsoft.com",
"url": "https://spsprodeus27.vssps.visualstudio.com/Af8bfd07b-8a79-40e8-afc6-1b1c57ec2a7b/_apis/Identities/282aa7ce-f8a4-68bc-b336-ef0700020fcd"
},
"System.ChangedDate": "2022-10-10T13:20:57.197Z",
"System.CommentCount": 2,
"System.CreatedBy": {
"_links": {
"avatar": {
"href": "https://fuselabs.visualstudio.com/_apis/GraphProfile/MemberAvatars/aad.MmE3NWFlYjItYzA3Ny03MzgwLTg5ZmQtYzU5OGNiY2RjYzFl"
}
},
"descriptor": "aad.MmE3NWFlYjItYzA3Ny03MzgwLTg5ZmQtYzU5OGNiY2RjYzFl",
"displayName": "Bruce Haley",
"id": "2a75aeb2-c077-6380-89fd-c598cbcdcc1e",
"imageUrl": "https://fuselabs.visualstudio.com/_apis/GraphProfile/MemberAvatars/aad.MmE3NWFlYjItYzA3Ny03MzgwLTg5ZmQtYzU5OGNiY2RjYzFl",
"uniqueName": "v-brucehaley@microsoft.com",
"url": "https://spsprodeus27.vssps.visualstudio.com/Af8bfd07b-8a79-40e8-afc6-1b1c57ec2a7b/_apis/Identities/2a75aeb2-c077-6380-89fd-c598cbcdcc1e"
},
"System.CreatedDate": "2022-09-27T00:01:04.083Z",
"System.Description": "Summary:
CodeQL detected the following issue: Security sensitive JsonWebTokenHandler validations are disabled (Help link)
Repository: https://github.com/microsoft/botbuilder-dotnet/tree/main?path=/libraries/Microsoft.Bot.Connector/Authentication/ParameterizedBotFrameworkAuthentication.cs&line=207&lineStartColumn=40&lineEndColumn=45
File: /libraries/Microsoft.Bot.Connector/Authentication/ParameterizedBotFrameworkAuthentication.cs
Location: Line 207, Column 40 - 45
Link: (Link to LGTM)
Recommendations:
The security sensitive property ValidateAudience is being disabled by the followign value: false.\n
Check if secruity sensitive token validations for `JsonWebTokenHandler` are being disabled.
Microsoft requirement(s): Microsoft.Security.SystemsADM.10201
Requirement: CodeQL.SM03926 (Link to Liquid Requirement)
Confidence: high",
"System.History": "
| Created date | Created by | JSON URL | |---|---|---| | 2022-10-10T13:20:57.197Z | Tracy Boehrer | [URL](https://dev.azure.com/FuseLabs/86659c66-c9df-418a-a371-7de7aed35064/_apis/wit/workItems/77435/comments/5193583) | **Comment text**:
We need to suppress this. The ValidateAudience is happening manually later.
Repro Steps
Summary:
CodeQL detected the following issue: Security sensitive JsonWebTokenHandler validations are disabled (Help link)
Repository: https://github.com/microsoft/botbuilder-dotnet/blob/main?path=/libraries/Microsoft.Bot.Connector/Authentication/ParameterizedBotFrameworkAuthentication.cs#L207&lineStartColumn=40&lineEndColumn=45
File: /libraries/Microsoft.Bot.Connector/Authentication/ParameterizedBotFrameworkAuthentication.cs
Location: Line 207, Column 40 - 45
Link: (Link to LGTM)
Recommendations:
The security sensitive property ValidateAudience is being disabled by the followign value: false.
Check if secruity sensitive token validations for
JsonWebTokenHandler
are being disabled.Microsoft requirement(s): Microsoft.Security.SystemsADM.10201
Requirement: CodeQL.SM03926 (Link to Liquid Requirement)
Confidence: high
System Info
This issue is a copy of ADO work item 77435 created by CodeQL. This item was created with CodeQL automated bug filer from CodeQL static analysis tool (formerly known as Semmle).
For more information, see CodeQL @ Microsoft.To change onboarding settings, visit CodeQL Portal.
To suppress, add a comment in code (see more details here.)