Skip to content

Restrict New-Object in NoLanguage mode under lock down #14139

@krishnayalavarthi

Description

@krishnayalavarthi

Steps to reproduce

This is only a possible exploitation of New-Object in NoLanguage mode. There is no repro for the issue. Fixing it as defense in depth issue. Potential for abuse is much less with no language elements (NoLanguage mode).

Metadata

Metadata

Assignees

Labels

Issue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aWG-Cmdlets-Utilitycmdlets in the Microsoft.PowerShell.Utility module

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions