Skip to content

Commit

Permalink
chore: address System.Text.Json vulnerabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
philasmar committed Oct 10, 2024
1 parent de95ab9 commit 76498b4
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 6 deletions.
26 changes: 26 additions & 0 deletions .autover/changes/a341e9ce-1356-465d-b1b4-77743905d586.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"Projects": [
{
"Name": "AWS.Deploy.CLI",
"Type": "Patch",
"ChangelogMessages": [
"Revert the CDK Bootstrap template to version 22 due to CDK rollback",
"Bump System.Text.Json to 8.0.5 to address a known high severity vulnerability"
]
},
{
"Name": "AWS.Deploy.Recipes.CDK.Common",
"Type": "Patch",
"ChangelogMessages": [
"Bump System.Text.Json to 8.0.5 to address a known high severity vulnerability"
]
},
{
"Name": "AWS.Deploy.ServerMode.Client",
"Type": "Patch",
"ChangelogMessages": [
"Bump System.Text.Json to 8.0.5 to address a known high severity vulnerability"
]
}
]
}
2 changes: 1 addition & 1 deletion src/AWS.Deploy.CLI/AWS.Deploy.CLI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<PackageReference Include="Swashbuckle.AspNetCore.Annotations" Version="6.5.0" />
<PackageReference Include="Swashbuckle.AspNetCore.Swagger" Version="6.5.0" />
<PackageReference Include="System.CommandLine" Version="2.0.0-beta1.20574.7" />
<PackageReference Include="System.Text.Json" Version="8.0.4" />
<PackageReference Include="System.Text.Json" Version="8.0.5" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/AWS.Deploy.DockerEngine/AWS.Deploy.DockerEngine.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="System.Text.Json" Version="6.0.8" />
<PackageReference Include="System.Text.Json" Version="8.0.5" />
</ItemGroup>

<Import Project="..\AWS.Deploy.Constants\AWS.Deploy.Constants.projitems" Label="Shared" />
Expand Down
4 changes: 1 addition & 3 deletions src/AWS.Deploy.Orchestration/CDK/CDKBootstrapTemplate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -470,8 +470,6 @@ Resources:
- cloudformation:ExecuteChangeSet
- cloudformation:CreateStack
- cloudformation:UpdateStack
- cloudformation:RollbackStack
- cloudformation:ContinueUpdateRollback
Resource: "*"
- Sid: PipelineCrossAccountArtifactsBucket
Effect: Allow
Expand Down Expand Up @@ -611,7 +609,7 @@ Resources:
Type: String
Name:
Fn::Sub: /cdk-bootstrap/${Qualifier}/version
Value: "23"
Value: "22"
Outputs:
BucketName:
Description: The name of the S3 bucket owned by the CDK toolkit stack
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<ItemGroup>
<PackageReference Include="Amazon.CDK.Lib" Version="2.155.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="6.0.0" />
<PackageReference Include="System.Text.Json" Version="8.0.4" />
<PackageReference Include="System.Text.Json" Version="8.0.5" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 76498b4

Please sign in to comment.