Skip to content

Commit 3047022

Browse files
authored
[influxdb] Mitigate STJ vulnerabilities (open-telemetry#2202)
1 parent 32ad0c2 commit 3047022

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

src/OpenTelemetry.Exporter.InfluxDB/CHANGELOG.md

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

33
## Unreleased
44

5+
* Added a direct reference to `System.Text.Json` at `8.0.5` for the
6+
`netstandard2.0` target in response to
7+
[CVE-2024-43485](https://github.com/advisories/GHSA-8g4q-xg66-9fp4).
8+
([#2202](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/2202))
9+
510
## 1.0.0-alpha.4
611

712
Released 2024-Oct-02

src/OpenTelemetry.Exporter.InfluxDB/OpenTelemetry.Exporter.InfluxDB.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
<ItemGroup>
1818
<PackageReference Include="InfluxDB.Client" Version="4.18.0" />
1919
<PackageReference Include="OpenTelemetry" Version="$(OpenTelemetryCoreLatestVersion)" />
20+
21+
<!-- System.Text.Json is indirect reference through InfluxDB.Client package. It is needed to upgrade it directly to avoid https://github.com/advisories/GHSA-8g4q-xg66-9fp4 -->
22+
<PackageReference Include="System.Text.Json" Version="$(SystemTextJsonLatestNet8OutOfBandPkgVer)" Condition="'$(TargetFrameworkIdentifier)' != '.NETCoreApp'" />
2023
</ItemGroup>
2124

2225
<ItemGroup>

test/OpenTelemetry.Exporter.InfluxDB.Tests/OpenTelemetry.Exporter.InfluxDB.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<PackageReference Include="System.Net.Http" Version="$(SystemNetHttp)" Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'" />
11+
<Reference Include="System.Net.Http" Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'" />
1212
</ItemGroup>
1313

1414
<ItemGroup>

0 commit comments

Comments
 (0)