Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/18291?format=api",
    "purl": "pkg:pypi/ansible@2.10.0b1",
    "type": "pypi",
    "namespace": "",
    "name": "ansible",
    "version": "2.10.0b1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "3.0.0",
    "latest_non_vulnerable_version": "12.0.0",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35653?format=api",
            "vulnerability_id": "VCID-am9g-ba4h-sfhr",
            "summary": "A flaw was found in Ansible Base when using the aws_ssm connection plugin as garbage collector is not happening after playbook run is completed. Files would remain in the bucket exposing the data. This issue affects directly data confidentiality.",
            "references": [
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-25635",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-25635"
                },
                {
                    "reference_url": "https://github.com/ansible/ansible",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/ansible/ansible"
                },
                {
                    "reference_url": "https://github.com/ansible-collections/community.aws/issues/222",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/ansible-collections/community.aws/issues/222"
                },
                {
                    "reference_url": "https://github.com/ansible-collections/community.aws/pull/237#issuecomment-1468591094",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/ansible-collections/community.aws/pull/237#issuecomment-1468591094"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-220.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-220.yaml"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-25635",
                    "reference_id": "CVE-2020-25635",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-25635"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-f556-49jc-4rvc",
                    "reference_id": "GHSA-f556-49jc-4rvc",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-f556-49jc-4rvc"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/18528?format=api",
                    "purl": "pkg:pypi/ansible@2.10.1",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-hjc4-jcfm-7be5"
                        },
                        {
                            "vulnerability": "VCID-p4p5-29r5-8qh9"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/ansible@2.10.1"
                }
            ],
            "aliases": [
                "CVE-2020-25635",
                "GHSA-f556-49jc-4rvc",
                "PYSEC-2020-220"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-am9g-ba4h-sfhr"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/7307?format=api",
            "vulnerability_id": "VCID-hjc4-jcfm-7be5",
            "summary": "information disclosure",
            "references": [
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1956477",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1956477"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-2056",
                    "reference_id": "AVG-2056",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Medium",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-2056"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/22508?format=api",
                    "purl": "pkg:pypi/ansible@3.0.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/ansible@3.0.0"
                }
            ],
            "aliases": [
                "CVE-2021-3533",
                "PYSEC-2021-126"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-hjc4-jcfm-7be5"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35617?format=api",
            "vulnerability_id": "VCID-vhxq-1hqq-77bx",
            "summary": "An Improper Output Neutralization for Logs flaw was found in Ansible when using the uri module, where sensitive data is exposed to content and json output. This flaw allows an attacker to access the logs or outputs of performed tasks to read keys used in playbooks from other users within the uri module. The highest threat from this vulnerability is to data confidentiality.",
            "references": [
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-14330",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-14330"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-785x-qw4v-6872",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-785x-qw4v-6872"
                },
                {
                    "reference_url": "https://github.com/ansible/ansible/issues/68400",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/ansible/ansible/issues/68400"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/18294?format=api",
                    "purl": "pkg:pypi/ansible@2.10.0",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-2z4k-r21v-rfgx"
                        },
                        {
                            "vulnerability": "VCID-am9g-ba4h-sfhr"
                        },
                        {
                            "vulnerability": "VCID-hjc4-jcfm-7be5"
                        },
                        {
                            "vulnerability": "VCID-p4p5-29r5-8qh9"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/ansible@2.10.0"
                }
            ],
            "aliases": [
                "CVE-2020-14330",
                "GHSA-785x-qw4v-6872",
                "PYSEC-2020-3"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-vhxq-1hqq-77bx"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/ansible@2.10.0b1"
}