See #32941 (comment) for some additional context. The shared framework's runtimeconfig.json file contains this:
{
  "runtimeOptions": {
    "tfm": "net8.0",
    "configProperties": {
      "System.Reflection.Metadata.MetadataUpdater.IsSupported": false,
      "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
    }
  }
} 
The configProperties element is intended to be app-specific policy and shouldn't be included as part of the shared framework install. It looks like what's happening is that when we build the shared framework and publish it, we're also including its runtimeconfig.json file as an asset to be redistributed without first stripping the app-specific policy sections from the file.
If this issue is fixed in the .NET 8 timeframe, please revert #33004.