We had a third-party security audit on a legacy .NET Framework application. One of the findings indicated that our configuration related to the <startup> and <supportedRuntime> element in app.config represents a potential security risk. As disclosing this will cause attacker Target known vulnerabilities in those specific runtimes.
My app.config has a standard entry:
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
</startup>
</configuration>
Is there any way to remove this section?