Skip to content

Commit 32e48de

Browse files
authored
Merge branch 'main' into logging-improvements
2 parents 27ee661 + bfb3e45 commit 32e48de

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

src/OpenTelemetry.Instrumentation.AspNetCore/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
## Unreleased
44

5+
* Added direct reference to `System.Text.Encodings.Web` with minimum version of
6+
`4.7.2` due to [CVE-2021-26701](https://github.com/dotnet/runtime/issues/49377).
7+
This impacts target frameworks `netstandard2.0` and `netstandard2.1` which has a
8+
reference to `Microsoft.AspNetCore.Http.Abstractions` that depends on
9+
`System.Text.Encodings.Web` >= 4.5.0.
10+
([#4399](https://github.com/open-telemetry/opentelemetry-dotnet/pull/4399))
11+
512
* Improve perf by avoiding boxing of common status codes values.
613
([#4360](https://github.com/open-telemetry/opentelemetry-dotnet/pull/4360),
714
[#4363](https://github.com/open-telemetry/opentelemetry-dotnet/pull/4363))

src/OpenTelemetry.Instrumentation.AspNetCore/OpenTelemetry.Instrumentation.AspNetCore.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,13 @@
2121
</ItemGroup>
2222

2323
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
24+
<PackageReference Include="System.Text.Encodings.Web" Version="$(SystemTextEncodingsWebPkgVer)" />
2425
<PackageReference Include="Microsoft.AspNetCore.Http.Abstractions" Version="$(MicrosoftAspNetCoreHttpAbstractionsPkgVer)" />
2526
<PackageReference Include="Microsoft.AspNetCore.Http.Features" Version="$(MicrosoftAspNetCoreHttpFeaturesPkgVer)" />
2627
</ItemGroup>
2728

2829
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.1'">
30+
<PackageReference Include="System.Text.Encodings.Web" Version="$(SystemTextEncodingsWebPkgVer)" />
2931
<PackageReference Include="Microsoft.AspNetCore.Http.Abstractions" Version="$(MicrosoftAspNetCoreHttpAbstractionsPkgVer)" />
3032
<PackageReference Include="Microsoft.AspNetCore.Http.Features" Version="$(MicrosoftAspNetCoreHttpFeaturesPkgVer)" />
3133
</ItemGroup>

0 commit comments

Comments
 (0)