System.Management.Automation is vulnerable to Protection Mechanism Failure
62
CVE Score
Medium
Protection Mechanism Failure
PowerShell's FallbackSetMember in Binders.cs assigns memberInfo.Value directly when an extended type system instance member is set, and that call site does not apply the Constrained Language Mode check used for other property sets. A script already running in Constrained Language Mode can set a non-PSNoteProperty instance member, such as a PSScriptProperty or PSAliasProperty, on a non-core type, and the assignment invokes that member's setter. The fix routes the assignment through PSSetMemberBinder.SetInstanceMemberValue, which blocks the set for those members unless the target is an allowed core type.
Upgrade the System.Management.Automation library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and run scripts in Constrained Language Mode.
6.0.4 - 7.4.20
Fixed in 7.4.217.5.0 - 7.5.11
Fixed in 7.5.127.6.0 - 7.6.6
Fixed in 7.6.7System.Management.Automation is vulnerable to Protection Mechanism Failure in versions 6.0.4 - 7.4.20, 7.5.0 - 7.5.11 and 7.6.0 - 7.6.6.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.