Skip to content

Commit

Permalink
Td/69597 ess pkg upgrades that require code change (#187)
Browse files Browse the repository at this point in the history
* Update outstanding packages and make required code changes

* Revert cloud storage

* Reloaded Extension.storage upgrade

* Add Blobs and Queues to WebJobs

* Reinstate old code in ProcessQueueMessage

* Back to QueueMessage in ProcessQueueMessage

* Add null guard in download for large Exchange Set in FileShareService.cs

* Add null guard in download for large Exchange Set in FileShareService.cs
Add Blobs and Queues to WebJobs

* Update to the latest packages where possible
except SonarAnalyser

* Remove warning regarding simplified new

* Review Suppressions
  • Loading branch information
richardAhz authored Feb 23, 2023
1 parent 1c46630 commit 2a0461b
Show file tree
Hide file tree
Showing 21 changed files with 247 additions and 488 deletions.
118 changes: 102 additions & 16 deletions NVDSuppressions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -336,31 +336,117 @@ See https://nvd.nist.gov/vuln/detail/CVE-2005-2224 and https://www.securityfocus
<suppress>
<notes>
<![CDATA[
file name: System.Private.DataContractSerialization
vulnerability: DOS
Affects >Net >= 6.0.0, < 6.0.12.
Currently running Net 6.0.13, sdk 6.0.405
]]>
</notes>
<cve>CVE-2023-21538</cve>
<cve>CVE-2022-24464</cve>
<cve>CVE-2020-8927</cve>
<cve>CVE-2023-21538</cve>
<cve>CVE-2022-24464</cve>
</suppress>
<suppress>
<notes>
<![CDATA[
vulnerability: Buffer overflow and spoofing
Affects .Net 3.1 .Net 5.0 and <= .Net 6.0.8
Currently running Net 6.0.13, sdk 6.0.405
]]>
</notes>
<cve>CVE-2020-8927</cve>
<cve>CVE-2022-34716</cve>
</suppress>
<suppress>
<notes>
<![CDATA[
vulnerability: Remote code execution
Affects .Net 3.1
Currently running Net 6.0.13, sdk 6.0.405
]]>
</notes>
<cve>CVE-2020-0605</cve>
<cve>CVE-2020-0606</cve>
</suppress>
<suppress>
<notes>
<![CDATA[
vulnerability: JQuery Validation Plugin, RegX Dos and X site scripting Jenkins plugin
Affects jQuery, Jenkins
Currently running Net 6.0.13, sdk 6.0.405
]]>
</notes>
<cve>CVE-2022-31147</cve>
<cve>CVE-2021-43306</cve>
<cve>CVE-2021-21252</cve>
<cve>CVE-2018-1000413</cve>
</suppress>
<suppress>
<notes>
<![CDATA[
vulnerability: .NET Framework Information Disclosure
Affects .Net 4.x.x
Currently running Net 6.0.13, sdk 6.0.405
]]>
</notes>
<cve>CVE-2022-41064</cve>
</suppress>
<suppress>
<notes>
<![CDATA[
vulnerability: .NET and Visual Studio Information Disclosure Vulnerability
Affects .Net 6.0.0
Currently running Net 6.0.13, sdk 6.0.405
]]>
</notes>
<cve>CVE-2022-30184</cve>
</suppress>
<suppress>
<notes>
<![CDATA[
vulnerability: Weak password hashing
Affects .Http authentication library up to and excluding 2019-12-27
Currently running Net 6.0.13, sdk 6.0.405
]]>
</notes>
<cve>CVE-2019-20138</cve>
<cve>CVE-2022-34716</cve>
<cve>CVE-2022-31147</cve>
<cve>CVE-2021-43306</cve>
<cve>CVE-2021-21252</cve>
<cve>CVE-2022-29149</cve>
<cve>CVE-2022-3064</cve>
</suppress>
<suppress>
<notes>
<![CDATA[
vulnerability: CPU & Memory hog
Affects parsing large YAML version < 2.2.4
]]>
</notes>
<cve>CVE-2022-3064</cve>
<cve>CVE-2021-4235</cve>
<cve>CVE-2021-42306</cve>
<cve>CVE-2001-0152</cve>
<cve>CVE-2010-3324</cve>
<cve>CVE-2017-11826</cve>
<cve>CVE-2018-1000413</cve>
</suppress>
</suppress>
<suppress>
<notes>
<![CDATA[
vulnerability: Password protection, MS10-072
Affects windows 98 & windows Me, Office and Word
MS10-072 fixed in October 2010
]]>
</notes>
<cve>CVE-2001-0152</cve>
<cve>CVE-2010-3324</cve>
<cve>CVE-2017-11826</cve>
</suppress>
<suppress>
<notes>
<![CDATA[
vulnerability: Information disclosure
Affects Active directory up to 2021-11-02
]]>
</notes>
<cve>CVE-2021-42306</cve>
</suppress>
<suppress>
<notes>
<![CDATA[
vulnerability: Elevation of Privilege
Affects Azure Open Management Infrastructure (OMI) version <= 1.6.9-0 (VMs running Linux)
]]>
</notes>
<cve>CVE-2022-29149</cve>
</suppress>
</suppressions>
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Azure.Storage.Blobs" Version="12.14.1" />
<PackageReference Include="JWT" Version="9.0.3" />
<PackageReference Include="Azure.Storage.Blobs" Version="12.15.0" />
<PackageReference Include="JWT" Version="10.0.2" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Core" Version="2.2.5" />
<PackageReference Include="Microsoft.Azure.Cosmos.Table" Version="1.0.8" />
<PackageReference Include="Microsoft.Azure.EventGrid" Version="3.2.1" />
<PackageReference Include="Microsoft.Extensions.Configuration" Version="7.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="7.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="7.0.3" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="7.0.0" />
<PackageReference Include="Microsoft.Identity.Client" Version="4.48.1" />
<PackageReference Include="Microsoft.Identity.Client" Version="4.50.0" />
<PackageReference Include="NUnit" Version="3.13.3" />
<PackageReference Include="NUnit3TestAdapter" Version="4.3.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.4.0" />
<PackageReference Include="SonarAnalyzer.CSharp" Version="8.50.0.58025">
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.5.0" />
<PackageReference Include="SonarAnalyzer.CSharp" Version="8.52.0.60960">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
<PackageReference Include="Microsoft.AspNetCore.Http.Abstractions" Version="2.2.0" />
<PackageReference Include="NUnit" Version="3.13.3" />
<PackageReference Include="NUnit3TestAdapter" Version="4.3.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.4.0" />
<PackageReference Include="SonarAnalyzer.CSharp" Version="8.50.0.58025">
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.5.0" />
<PackageReference Include="SonarAnalyzer.CSharp" Version="8.52.0.60960">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public ExchangeSetServiceResponse CheckIfExchangeSetTooLarge(long fileSize)
var fileSizeInMB = CommonHelper.ConvertBytesToMegabytes(fileSize);
if (fileSizeInMB >= essFulfilmentStorageconfig.Value.LargeExchangeSetSizeInMB)
{
ExchangeSetServiceResponse exchangeSetResponse = new ExchangeSetServiceResponse
var exchangeSetResponse = new ExchangeSetServiceResponse
{
HttpStatusCode = HttpStatusCode.BadRequest,
IsExchangeSetTooLarge = true
Expand All @@ -119,7 +119,7 @@ public ExchangeSetServiceResponse CheckIfExchangeSetTooLarge(long fileSize)
}
else
{
ExchangeSetServiceResponse exchangeSetResponse = new ExchangeSetServiceResponse
var exchangeSetResponse = new ExchangeSetServiceResponse
{
HttpStatusCode = HttpStatusCode.OK,
IsExchangeSetTooLarge = false
Expand Down
Loading

0 comments on commit 2a0461b

Please sign in to comment.