Summary

Applications using the NewtonSoft.Json library could potentially crash.

Affected Software

The issue affects 4.3.0.x versions of the AppDynamics .NET Agent.

Impact

In some cases, an instrumented application can crash with one of the following exception details:

  • Exception: System.IO.FileLoadException
    Message: Loading this assembly would produce a different grant set from other instances. (Exception from HRESULT: 0x80131401)

  • Exception: System.IO.FileLoadException
    Message: Could not load file or assembly 'Newtonsoft.Json, Version=8.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified.

  • Exception: System.InvalidProgramException
    Message: Common Language Runtime detected an invalid program.

Applications not using NewtonSoft.Json.dll are not affected.

Resolution

Customers running 4.3.0.x (4.3.0.1, 4.3.0.2, 4.3.0.3, or 4.3.0.4) versions of the .NET Agent should either:

  • Upgrade to the 4.3.1 or later version of the .NET agent.
  • Uninstall 4.3.0.x and install version 4.2.15 of the .NET agent.

  • No labels