-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove BinaryFormatter usage from SettingsPropertyValue #39295
Comments
Tagging subscribers to this area: @safern |
I think this is a fairly easy library to turn off binary formatter support. Here's my proposal: There already exists a @GrabYourPitchforks, @ericstj, area-owners, thoughts? |
Ref:
runtime/src/libraries/System.Configuration.ConfigurationManager/src/System/Configuration/SettingsPropertyValue.cs
Lines 99 to 102 in af828ae
runtime/src/libraries/System.Configuration.ConfigurationManager/src/System/Configuration/SettingsPropertyValue.cs
Lines 196 to 199 in af828ae
runtime/src/libraries/System.Configuration.ConfigurationManager/src/System/Configuration/SettingsPropertyValue.cs
Lines 222 to 227 in af828ae
This issue tracks the removal and replacement of this code per the
BinaryFormatter
obsoletion plan.For context: Reading from local configuration is generally perceived to be a "safe" operation. However, we have seen cases where the config APIs are used in multi-tenant environments, reading values from arbitrary XML files. The same thing hit ResourceReader a few years back. A popular web service allowed non-admins to upload .resx files, and when the web service tried parsing it it allowed RCE within the context of the service.
The text was updated successfully, but these errors were encountered: