Microsoft Security Advisory CVE-2024-0057 | NuGet Client Security Feature bypass Vulnerability
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 1/5
- Thời gian dự kiến
- Dưới một giờ
- Mức phù hợp với người mới
- 5/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Lĩnh vực
- security
Hướng nghiên cứu
This is a Microsoft security bulletin posted in the PowerShell Announcements repository, not a request for a code change, so there is no file, test or entry point to work from. The text names the affected PSResourceGet and PowerShell versions and the fixed releases, and the issue was published 911 days ago with no comments or linked pull requests. Nothing here defines a task a newcomer can complete, so it is not suitable as a first contribution.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Microsoft Security Advisory CVE-2024-0057 | NuGet Client Security Feature bypass Vulnerability
Executive Summary
Microsoft is releasing this security advisory to provide information about a vulnerability in 7.4 and Microsoft.PowerShell.PSResourceGet 1.0.3. This advisory also provides guidance on what developers can do to update their applications to address this vulnerability.
A security feature bypass vulnerability exists when Microsoft .NET Framework-based applications use X.509 chain building APIs but do not completely validate the X.509 certificate due to a logic flaw. An attacker could present an arbitrary untrusted certificate with malformed signatures, triggering a bug in the framework. The framework will correctly report that X.509 chain building failed, but it will return an incorrect reason code for the failure. Applications which utilize this reason code to make their own chain building trust decisions may inadvertently treat this scenario as a successful chain build. This could allow an adversary to subvert the app's typical authentication logic.
Discussion
Discussion for this issue can be found at https://github.com/NuGet/Home/issues/13241
Affected Software
The vulnerability affects PSResourceGet prior to the following versions:
| PowerShellGet Version | Fixed in |
|---|---|
| 1.0.3 | 1.0.4.1 |
The vulnerability affects PowerShell prior to the following versions:
| PowerShell Version | Fixed in |
|---|---|
| 7.4.1 | 7.4.2 |
Advisory FAQ
How do I know if I am affected?
If either of the following are true:
-
Run
Get-Module -ListAvailable Microsoft.PowerShell.PSResourceGet | Format-List Versionand find the newest version, then, check the version in the table in Affected Software to see if your version of PSResourceGet is affected. -
Run pwsh -v, then, check the version in the table in Affected Software to see if your version of PowerShell 7 is affected.
How do I update to an unaffected version of PSResourceGet?
Follow the instructions at Installing PSResourceGett to install the latest version of PSResourceGet.
How do I update to an unaffected version of PowerShell?
Follow the instructions at Installing PowerShell 7 to install the latest version of PowerShell 7.
Updating PowerShell 7 using Microsoft Update
Updating PowerShell 7 using Microsoft Update
Other Information
Reporting Security Issues
If you have found a potential security issue in PSResourceGet,
please email details to [email protected].
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.
Disclaimer
The information provided in this advisory is provided "as is" without warranty of any kind. Microsoft disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. In no event shall Microsoft Corporation or its suppliers be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages, even if Microsoft Corporation or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation may not apply.
What if the update breaks my script or module?
You can uninstall the newer version of PSResourceGet and install the previous version of PSResourceGet.
This should be treated as a temporary measure.
Therefore, the script or module should be updated to work with the patched version of PSResourceGet.
Acknowledgments
Microsoft recognizes the efforts of those in the security community who help us protect customers through coordinated vulnerability disclosure.
See acknowledgments for more information.
External Links
Revisions
V1.0 (April 09, 2024): Advisory published.
v1.1 (March 24, 2025): Updated How do I know if I am affected section
Version 1.1
Last Updated 2025-03-24
- Ngôn ngữ chính
- Không có dữ liệu ngôn ngữ
- Star
- 20
- Fork
- 8
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của PowerShell/Announcements
-
PowerShell Security
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 5/100
PowerShell/Announcements#101 ·
-
PowerShell Security
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 5/100
PowerShell/Announcements#100 ·
-
PowerShell Security
Độ khó 2/5 Dưới một giờ Mức phù hợp với người mới 8/100
PowerShell/Announcements#99 ·
-
PowerShell Security
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 8/100
PowerShell/Announcements#98 ·
-
PowerShell Security
Độ khó 2/5 Dưới một giờ Mức phù hợp với người mới 8/100
PowerShell/Announcements#97 ·
Tất cả issue của PowerShell/Announcements
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
strimzi/strimzi-kafka-operator#13328 · 1 bình luận · 3 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
c1overzz/dsh-bili-scroll#145 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
ParetoSecurity/pareto-mac#324 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
docker-library/redmine#430 ·