Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/56527?format=api",
    "purl": "pkg:pypi/ansible@1.9.6.1",
    "type": "pypi",
    "namespace": "",
    "name": "ansible",
    "version": "1.9.6.1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "2.2.0",
    "latest_non_vulnerable_version": "12.0.0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/34998?format=api",
            "vulnerability_id": "VCID-g8tj-eaqr-myaa",
            "summary": "The create_script function in the lxc_container module in Ansible before 1.9.6-1 and 2.x before 2.0.2.0 allows local users to write to arbitrary files or gain privileges via a symlink attack on (1) /opt/.lxc-attach-script, (2) the archived container in the archive_path directory, or the (3) lxc-attach-script.log or (4) lxc-attach-script.err files in the temporary directory.",
            "references": [
                {
                    "reference_url": "http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183103.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183103.html"
                },
                {
                    "reference_url": "http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183132.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183132.html"
                },
                {
                    "reference_url": "http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183252.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183252.html"
                },
                {
                    "reference_url": "http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183274.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183274.html"
                },
                {
                    "reference_url": "http://lists.fedoraproject.org/pipermail/package-announce/2016-May/184175.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://lists.fedoraproject.org/pipermail/package-announce/2016-May/184175.html"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1322925",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1322925"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-rh6x-qvg7-rrmj",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-rh6x-qvg7-rrmj"
                },
                {
                    "reference_url": "https://github.com/ansible/ansible/blob/v1.9.6-1/CHANGELOG.md#196-dancing-in-the-street---tbd",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/ansible/ansible/blob/v1.9.6-1/CHANGELOG.md#196-dancing-in-the-street---tbd"
                },
                {
                    "reference_url": "https://github.com/ansible/ansible/blob/v2.0.2.0-1/CHANGELOG.md#202-over-the-hills-and-far-away",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/ansible/ansible/blob/v2.0.2.0-1/CHANGELOG.md#202-over-the-hills-and-far-away"
                },
                {
                    "reference_url": "https://github.com/ansible/ansible-modules-extras/pull/1941",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/ansible/ansible-modules-extras/pull/1941"
                },
                {
                    "reference_url": "https://github.com/ansible/ansible-modules-extras/pull/1941/commits/8c6fe646ee79f5e55361b885b7efed5bec72d4a4",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/ansible/ansible-modules-extras/pull/1941/commits/8c6fe646ee79f5e55361b885b7efed5bec72d4a4"
                },
                {
                    "reference_url": "https://groups.google.com/forum/#!topic/ansible-announce/E80HLZilTU0",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://groups.google.com/forum/#!topic/ansible-announce/E80HLZilTU0"
                },
                {
                    "reference_url": "https://groups.google.com/forum/#!topic/ansible-announce/tqiZbcWxYig",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://groups.google.com/forum/#!topic/ansible-announce/tqiZbcWxYig"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/201607-14",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/201607-14"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2016-3096",
                    "reference_id": "CVE-2016-3096",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2016-3096"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/56527?format=api",
                    "purl": "pkg:pypi/ansible@1.9.6.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/ansible@1.9.6.1"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/9244?format=api",
                    "purl": "pkg:pypi/ansible@2.0.2.0",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-1d8u-w26v-nqfd"
                        },
                        {
                            "vulnerability": "VCID-1sty-hqbq-63hy"
                        },
                        {
                            "vulnerability": "VCID-2z4k-r21v-rfgx"
                        },
                        {
                            "vulnerability": "VCID-7qnx-1gp2-v7bb"
                        },
                        {
                            "vulnerability": "VCID-833d-up6b-rfe1"
                        },
                        {
                            "vulnerability": "VCID-8u2v-jtqe-dqg3"
                        },
                        {
                            "vulnerability": "VCID-am9g-ba4h-sfhr"
                        },
                        {
                            "vulnerability": "VCID-cuq1-se5h-vygd"
                        },
                        {
                            "vulnerability": "VCID-cxts-25nq-4fcs"
                        },
                        {
                            "vulnerability": "VCID-dkds-s3ad-cufa"
                        },
                        {
                            "vulnerability": "VCID-gm99-68bj-c3cz"
                        },
                        {
                            "vulnerability": "VCID-gxw4-ydnj-fkfe"
                        },
                        {
                            "vulnerability": "VCID-hd4w-ksm9-uycv"
                        },
                        {
                            "vulnerability": "VCID-hjc4-jcfm-7be5"
                        },
                        {
                            "vulnerability": "VCID-hpqa-ysnc-b7dw"
                        },
                        {
                            "vulnerability": "VCID-hq4d-92s2-vqg6"
                        },
                        {
                            "vulnerability": "VCID-j6qc-x7e6-buen"
                        },
                        {
                            "vulnerability": "VCID-k8a2-5yfh-j7gp"
                        },
                        {
                            "vulnerability": "VCID-mbj9-3bnb-wbda"
                        },
                        {
                            "vulnerability": "VCID-mj75-gu96-33ay"
                        },
                        {
                            "vulnerability": "VCID-p4p5-29r5-8qh9"
                        },
                        {
                            "vulnerability": "VCID-pqj1-u787-g3aj"
                        },
                        {
                            "vulnerability": "VCID-rgcg-pkhf-7ydk"
                        },
                        {
                            "vulnerability": "VCID-subj-aje2-93bk"
                        },
                        {
                            "vulnerability": "VCID-utrp-hfpb-tygj"
                        },
                        {
                            "vulnerability": "VCID-vhxq-1hqq-77bx"
                        },
                        {
                            "vulnerability": "VCID-vsv2-4d8c-m3g1"
                        },
                        {
                            "vulnerability": "VCID-x4mr-vrp9-ufg6"
                        },
                        {
                            "vulnerability": "VCID-ykkx-swgs-vybn"
                        },
                        {
                            "vulnerability": "VCID-yre5-mmmj-q3bn"
                        },
                        {
                            "vulnerability": "VCID-zwrg-9mrq-effd"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/ansible@2.0.2.0"
                }
            ],
            "aliases": [
                "CVE-2016-3096",
                "GHSA-rh6x-qvg7-rrmj",
                "PYSEC-2016-1"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-g8tj-eaqr-myaa"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/ansible@1.9.6.1"
}