1. Home
  2. Service & Support
  3. Support
  4. Organice
  5. Troubleshooting
  6. Workflows stop working after security patch CVE-2019-8421

Workflows stop working after security patch CVE-2019-8421

Troubleshooting

Last modified on 22 January 2020

Microsoft released a few .NET patches in September 2018 that patch for CVE-2018-8421 which is a .NET Framework Remote Code Execution Vulnerability. Some people have reported that after installing the patches (mainly KB4457916 and KB4457035), their Workflows fail to execute and the logs will show an error similar to this:


Microsoft.SharePoint.SPException: <Error><CompilerError Line="-1" Column="-1" 
Text="Type System.CodeDom.CodeBinaryOperatorExpression is not marked as authorized in the application configuration file."


Existing workflows usually proceed working, but deploying or starting a new workflow gives the message "Failed on start".


In order to fix this we created a Powershell script. This script will add authorization for workflows in web.config files on each SharePoint server. This needs to be done to allow SharePoint to use the advanced workflows.

Use the following steps to fix the issue:

1. Download the script "FixSharePointWorkflowSecurityPatch.ps1"

2. Open an RDP session to a SharePoint server (excluding search!) with sufficient permissions (Farm admin)

3. Paste the "FixSharePointWorkflowSecurityPatch.ps1" script to a safe location

4. Run the script by right-clicking it and selecting "Run with Powershell"

You will see a bunch of verbose logging about authorizedtypes and the script will automatically close once completed.


To check if the script was successful, open a web.config file of a SharePoint web application and look for the following lines:


FixSharePointWorkflowSecurityPatch.ps1

At Cadac, we distinguish between Sales, Service & Support. We take Sales & Service for granted. We help you purchase your product, service, training or expert and make sure you can get started without any problems. Free of charge and for nothing. You can start using your software carefree, we make sure you can get the most out of it.

Are you running into technical software problems? Then you can use Cadac Support. By submitting the correct information, we can help you as quickly as possible.

Ask a question

What do you have a question about?

  • Support
  • Sales
  • Service
Log in to receive your personal prices

Log in to My Cadac

You are logged out

You have entered the wrong email address or password

New to Cadac Group?

  • The best prices Discover your personal price after creating an account
  • Buy or extend your Autodesk products Buy or extend your Autodesk products
  • Clear and easy to use webshop Clear and easy to use webshop
Need help? Service & Support

Create an account

Your password must be at least 8 characters long, and include at least one lowercase letter, one uppercase letter, and a number.

You have left some fields blank or not completed them correctly

This email address is already in use.

Privacy statement

Why create an account?

  • The best prices The best prices
  • Buy or extend your Autodesk products Buy or extend your Autodesk products
  • Clear and easy to use webshop Clear and easy to use webshop
Need help? Service & Support

Forgotten password

Having problems logging in? Enter your email address. You will then receive a link where you can reset your password. If you're not sure which email address was used, get in touch with us.

You have entered an invalid email address.

We do not have a record of this email address in our system.

Oops... An error occurred, please get in touch with us.

New to Cadac Group?

  • The best prices Discover your personal price after creating an account
  • Buy or extend your Autodesk products Buy or extend your Autodesk products
  • Clear and easy to use webshop Clear and easy to use webshop
Need help? Service & Support

Forgotten password

You have been sent an email from us with a link to reset your password.

New to Cadac Group?

  • The best prices Discover your personal price after creating an account
  • Buy or extend your Autodesk products Buy or extend your Autodesk products
  • Clear and easy to use webshop Clear and easy to use webshop
Need help? Service & Support

Reset password

Unfortunately, your link has expired or is invalid.
Click on the button below to request a new link.

Enter your new password below.

Your password must be at least 8 characters long, and include at least one lowercase letter, one uppercase letter, and a number.

Password only entered once or passwords do not match.

We do not have a record of this email address in our system.

Oops... An error occurred, please get in touch with us.

New to Cadac Group?

  • The best prices Discover your personal price after creating an account
  • Buy or extend your Autodesk products Buy or extend your Autodesk products
  • Clear and easy to use webshop Clear and easy to use webshop
Need help? Service & Support

Password has been reset

Your password has been successfully changed. From now on, you will be able to log in with your new password.

New to Cadac Group?

  • The best prices Discover your personal price after creating an account
  • Buy or extend your Autodesk products Buy or extend your Autodesk products
  • Clear and easy to use webshop Clear and easy to use webshop
Need help? Service & Support