Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/35629?format=api",
    "purl": "pkg:pypi/salt@3005.1",
    "type": "pypi",
    "namespace": "",
    "name": "salt",
    "version": "3005.1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "3005.2",
    "latest_non_vulnerable_version": "3007.9",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/36542?format=api",
            "vulnerability_id": "VCID-ce2x-ehyk-nufk",
            "summary": "Git Providers can read from the wrong environment because they get the same cache directory base name in Salt masters prior to 3005.2 or 3006.2. Anything that uses Git Providers with different environments can get garbage data or the wrong data, which can lead to wrongful data disclosure, wrongful executions, data corruption and/or crash.",
            "references": [
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2023-169.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2023-169.yaml"
                },
                {
                    "reference_url": "https://github.com/saltstack/salt",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/saltstack/salt"
                },
                {
                    "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OMWJIHQZXHK6FH2E3IWAZCYIRI7FLVOL",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OMWJIHQZXHK6FH2E3IWAZCYIRI7FLVOL"
                },
                {
                    "reference_url": "https://saltproject.io/security-announcements/2023-08-10-advisory",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://saltproject.io/security-announcements/2023-08-10-advisory"
                },
                {
                    "reference_url": "https://saltproject.io/security-announcements/2023-08-10-advisory/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://saltproject.io/security-announcements/2023-08-10-advisory/"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-20898",
                    "reference_id": "CVE-2023-20898",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-20898"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-qvh6-3j7x-3hq7",
                    "reference_id": "GHSA-qvh6-3j7x-3hq7",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-qvh6-3j7x-3hq7"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/35633?format=api",
                    "purl": "pkg:pypi/salt@3005.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/salt@3005.2"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/35632?format=api",
                    "purl": "pkg:pypi/salt@3006.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/salt@3006.2"
                }
            ],
            "aliases": [
                "CVE-2023-20898",
                "GHSA-qvh6-3j7x-3hq7",
                "PYSEC-2023-169"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ce2x-ehyk-nufk"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/36541?format=api",
            "vulnerability_id": "VCID-nehw-r7zm-j7bb",
            "summary": "Salt masters prior to 3005.2 or 3006.2 contain a DOS in minion return. After receiving several bad packets on the request server equal to the number of worker threads, the master will become unresponsive to return requests until restarted.",
            "references": [
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2023-166.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2023-166.yaml"
                },
                {
                    "reference_url": "https://github.com/saltstack/salt",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/saltstack/salt"
                },
                {
                    "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OMWJIHQZXHK6FH2E3IWAZCYIRI7FLVOL",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OMWJIHQZXHK6FH2E3IWAZCYIRI7FLVOL"
                },
                {
                    "reference_url": "https://saltproject.io/security-announcements/2023-08-10-advisory",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://saltproject.io/security-announcements/2023-08-10-advisory"
                },
                {
                    "reference_url": "https://saltproject.io/security-announcements/2023-08-10-advisory/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
                        }
                    ],
                    "url": "https://saltproject.io/security-announcements/2023-08-10-advisory/"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-20897",
                    "reference_id": "CVE-2023-20897",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-20897"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-vpjg-wmf8-29h9",
                    "reference_id": "GHSA-vpjg-wmf8-29h9",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-vpjg-wmf8-29h9"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/35633?format=api",
                    "purl": "pkg:pypi/salt@3005.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/salt@3005.2"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/35632?format=api",
                    "purl": "pkg:pypi/salt@3006.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/salt@3006.2"
                }
            ],
            "aliases": [
                "CVE-2023-20897",
                "GHSA-vpjg-wmf8-29h9",
                "PYSEC-2023-166"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-nehw-r7zm-j7bb"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/salt@3005.1"
}