Lookup for vulnerable packages by Package URL.

Purlpkg:nuget/PowerShell@6.2.5
Typenuget
Namespace
NamePowerShell
Version6.2.5
Qualifiers
Subpath
Is_vulnerabletrue
Next_non_vulnerable_version7.1.7
Latest_non_vulnerable_version7.3.10
Affected_by_vulnerabilities
0
url VCID-8zx2-5dv6-xba7
vulnerability_id VCID-8zx2-5dv6-xba7
summary
PowerShell is subject to remote code execution vulnerability
# Microsoft Security Advisory CVE-2020-0605: .NET Framework Remote Code Execution Vulnerability

## Executive Summary

A remote code execution vulnerability exists in .NET software when the software fails to check the source markup of a file.

An attacker who successfully exploited the vulnerability could run arbitrary code in the context of the current user. If the current user is logged on with administrative user rights, an attacker could take control of the affected system. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights. Users whose accounts are configured to have fewer user rights on the system could be less impacted than users who operate with administrative user rights.

Exploitation of the vulnerability requires that a user open a specially crafted file with an affected version of .NET Framework. In an email attack scenario, an attacker could exploit the vulnerability by sending the specially crafted file to the user and convincing the user to open the file.

The security update addresses the vulnerability by correcting how .NET Framework checks the source markup of a file.

## Discussion

Please [open a support question](https://github.com/PowerShell/PowerShell/issues/new?assignees=&labels=Issue-Question&template=Support_Question.md&title=Support+Question) to discuss the PowerShell aspects of this advisory.
Please use https://github.com/dotnet/wpf/issues/2424 for discussion of the .NET WPF aspects of this advisory.

## <a name="affected-software">Affected Software</a>

The vulnerability affects PowerShell prior to the following versions:

| PowerShell Core Version | Fixed in          |
|-------------------------|-------------------|
| 6.2                     | Not Affected              |
| 7.0                     | 7.0.0              |
## Advisory FAQ

### How do I know if I am affected?

If all of the following are true:

1. Run `pwsh -v`, then, check the version in the table in [Affected Software](#user-content-affected-software) to see if your version of PowerShell is affected.
1. If you are running a version of PowerShell where the executable is not `pwsh` or `pwsh.exe`, then you are affected.  This only existed for preview version of `7.0`.

### How do I update to an unaffected version?

Follow the instructions at [Installing PowerShell](https://docs.microsoft.com/en-us/powershell/scripting/setup/installing-powershell?view=powershell-7) to install the latest version of PowerShell.

## Other Information

### Reporting Security Issues

If you have found a potential security issue in PowerShell,
please email details to secure@microsoft.com.

### Support

You can ask questions about this issue on GitHub in the PowerShell organization.
This is located at https://github.com/PowerShell/.
The Announcements repo (https://github.com/PowerShell/Announcements)
will contain this bulletin as an issue and will include a link to a discussion issue where you can ask questions.

### What if the update breaks my script or module?

You can uninstall the newer version of PowerShell and install the previous version of PowerShell.
This should be treated as a temporary measure.
Therefore, the script or module should be updated to work with the patched version of PowerShell.

### Acknowledgments

Soroush Dalili ([@irsdl](https://twitter.com/irsdl))

### External Links

[CVE-2020-0605](https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2020-0605)

### Revisions

<!-- TBD: update date -->
V1.0 (March 10, 2020): Advisory published.

*Version 1.0*
*Last Updated 2020-03-10*
references
0
reference_url https://github.com/PowerShell/PowerShell/security/advisories/GHSA-jcmq-5rrv-j2g4
reference_id
reference_type
scores
0
value 8.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
2
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/PowerShell/PowerShell/security/advisories/GHSA-jcmq-5rrv-j2g4
1
reference_url https://github.com/advisories/GHSA-jcmq-5rrv-j2g4
reference_id GHSA-jcmq-5rrv-j2g4
reference_type
scores
0
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-jcmq-5rrv-j2g4
fixed_packages
0
url pkg:nuget/PowerShell@7.0.0
purl pkg:nuget/PowerShell@7.0.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-6j7g-pz7c-y7hd
1
vulnerability VCID-c7qw-u98p-1qa9
2
vulnerability VCID-hh1b-rurr-9qb2
3
vulnerability VCID-rz8f-jn6b-a7fw
4
vulnerability VCID-ujyg-uwtg-vqbt
5
vulnerability VCID-v2z1-w1v6-4ufg
resource_url http://public2.vulnerablecode.io/packages/pkg:nuget/PowerShell@7.0.0
aliases GHSA-jcmq-5rrv-j2g4, GMS-2024-88
risk_score 4.0
exploitability 0.5
weighted_severity 8.0
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-8zx2-5dv6-xba7
Fixing_vulnerabilities
Risk_score4.0
Resource_urlhttp://public2.vulnerablecode.io/packages/pkg:nuget/PowerShell@6.2.5