Lookup for vulnerabilities affecting packages.

GET /api/vulnerabilities/15565?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/15565?format=api",
    "vulnerability_id": "VCID-8zx2-5dv6-xba7",
    "summary": "PowerShell is subject to remote code execution vulnerability\n# Microsoft Security Advisory CVE-2020-0605: .NET Framework Remote Code Execution Vulnerability\n\n## Executive Summary\n\nA remote code execution vulnerability exists in .NET software when the software fails to check the source markup of a file.\n\nAn 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.\n\nExploitation 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.\n\nThe security update addresses the vulnerability by correcting how .NET Framework checks the source markup of a file.\n\n## Discussion\n\nPlease [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.\nPlease use https://github.com/dotnet/wpf/issues/2424 for discussion of the .NET WPF aspects of this advisory.\n\n## <a name=\"affected-software\">Affected Software</a>\n\nThe vulnerability affects PowerShell prior to the following versions:\n\n| PowerShell Core Version | Fixed in          |\n|-------------------------|-------------------|\n| 6.2                     | Not Affected              |\n| 7.0                     | 7.0.0              |\n## Advisory FAQ\n\n### How do I know if I am affected?\n\nIf all of the following are true:\n\n1. 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.\n1. 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`.\n\n### How do I update to an unaffected version?\n\nFollow 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.\n\n## Other Information\n\n### Reporting Security Issues\n\nIf you have found a potential security issue in PowerShell,\nplease email details to secure@microsoft.com.\n\n### Support\n\nYou can ask questions about this issue on GitHub in the PowerShell organization.\nThis is located at https://github.com/PowerShell/.\nThe Announcements repo (https://github.com/PowerShell/Announcements)\nwill contain this bulletin as an issue and will include a link to a discussion issue where you can ask questions.\n\n### What if the update breaks my script or module?\n\nYou can uninstall the newer version of PowerShell and install the previous version of PowerShell.\nThis should be treated as a temporary measure.\nTherefore, the script or module should be updated to work with the patched version of PowerShell.\n\n### Acknowledgments\n\nSoroush Dalili ([@irsdl](https://twitter.com/irsdl))\n\n### External Links\n\n[CVE-2020-0605](https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2020-0605)\n\n### Revisions\n\n<!-- TBD: update date -->\nV1.0 (March 10, 2020): Advisory published.\n\n*Version 1.0*\n*Last Updated 2020-03-10*",
    "aliases": [
        {
            "alias": "GHSA-jcmq-5rrv-j2g4"
        },
        {
            "alias": "GMS-2024-88"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/42325?format=api",
            "purl": "pkg:nuget/PowerShell@7.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-6j7g-pz7c-y7hd"
                },
                {
                    "vulnerability": "VCID-c7qw-u98p-1qa9"
                },
                {
                    "vulnerability": "VCID-hh1b-rurr-9qb2"
                },
                {
                    "vulnerability": "VCID-rz8f-jn6b-a7fw"
                },
                {
                    "vulnerability": "VCID-ujyg-uwtg-vqbt"
                },
                {
                    "vulnerability": "VCID-v2z1-w1v6-4ufg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/PowerShell@7.0.0"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/658165?format=api",
            "purl": "pkg:nuget/PowerShell@1.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-8zx2-5dv6-xba7"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/PowerShell@1.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/658166?format=api",
            "purl": "pkg:nuget/PowerShell@6.2.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-8zx2-5dv6-xba7"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/PowerShell@6.2.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/658167?format=api",
            "purl": "pkg:nuget/PowerShell@6.2.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-8zx2-5dv6-xba7"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/PowerShell@6.2.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/658168?format=api",
            "purl": "pkg:nuget/PowerShell@6.2.4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-8zx2-5dv6-xba7"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/PowerShell@6.2.4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/658169?format=api",
            "purl": "pkg:nuget/PowerShell@6.2.5",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-8zx2-5dv6-xba7"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/PowerShell@6.2.5"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/658170?format=api",
            "purl": "pkg:nuget/PowerShell@6.2.6",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-8zx2-5dv6-xba7"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/PowerShell@6.2.6"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/658171?format=api",
            "purl": "pkg:nuget/PowerShell@6.2.7",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-8zx2-5dv6-xba7"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/PowerShell@6.2.7"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/PowerShell/PowerShell/security/advisories/GHSA-jcmq-5rrv-j2g4",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "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"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/PowerShell/PowerShell/security/advisories/GHSA-jcmq-5rrv-j2g4"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-jcmq-5rrv-j2g4",
            "reference_id": "GHSA-jcmq-5rrv-j2g4",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-jcmq-5rrv-j2g4"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 1035,
            "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."
        },
        {
            "cwe_id": 78,
            "name": "Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')",
            "description": "The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component."
        },
        {
            "cwe_id": 937,
            "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."
        }
    ],
    "exploits": [],
    "severity_range_score": "7.0 - 8.9",
    "exploitability": "0.5",
    "weighted_severity": "8.0",
    "risk_score": 4.0,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-8zx2-5dv6-xba7"
}