Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/55519?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": "1.0.5",
    "latest_non_vulnerable_version": "12.2.0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/7366?format=api",
            "vulnerability_id": "VCID-kzey-xd5m-j7bu",
            "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://api.first.org/data/v1/epss?cve=CVE-2016-3096",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00037",
                            "scoring_system": "epss",
                            "scoring_elements": "0.11346",
                            "published_at": "2026-05-30T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2016-3096"
                },
                {
                    "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": [
                        {
                            "value": "HIGH",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "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/commit/7c3999a92a1cd856ff9bc8913a93ff1aee8bffc3",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/ansible/ansible-modules-extras/commit/7c3999a92a1cd856ff9bc8913a93ff1aee8bffc3"
                },
                {
                    "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://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2016-1.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2016-1.yaml"
                },
                {
                    "reference_url": "https://groups.google.com/forum/#%21topic/ansible-announce/E80HLZilTU0",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://groups.google.com/forum/#%21topic/ansible-announce/E80HLZilTU0"
                },
                {
                    "reference_url": "https://groups.google.com/forum/#%21topic/ansible-announce/tqiZbcWxYig",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://groups.google.com/forum/#%21topic/ansible-announce/tqiZbcWxYig"
                },
                {
                    "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/55519?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/8019?format=api",
                    "purl": "pkg:pypi/ansible@2.0.2.0",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-3jxq-kxnz-6bfh"
                        },
                        {
                            "vulnerability": "VCID-4331-d5yy-uybc"
                        },
                        {
                            "vulnerability": "VCID-5mcc-gtrr-j3e4"
                        },
                        {
                            "vulnerability": "VCID-664v-ms96-jfd2"
                        },
                        {
                            "vulnerability": "VCID-6hdk-ywcn-4qe4"
                        },
                        {
                            "vulnerability": "VCID-6smx-ju23-8qes"
                        },
                        {
                            "vulnerability": "VCID-6swz-79ue-bbef"
                        },
                        {
                            "vulnerability": "VCID-826d-vdw1-dbaj"
                        },
                        {
                            "vulnerability": "VCID-95kg-bk3s-g7gx"
                        },
                        {
                            "vulnerability": "VCID-axds-bd49-fbdj"
                        },
                        {
                            "vulnerability": "VCID-b423-t4kx-eqbq"
                        },
                        {
                            "vulnerability": "VCID-b8cv-v25q-1kh3"
                        },
                        {
                            "vulnerability": "VCID-brft-snn6-guc8"
                        },
                        {
                            "vulnerability": "VCID-d3nw-dz41-wfg2"
                        },
                        {
                            "vulnerability": "VCID-enwa-2cfn-5uab"
                        },
                        {
                            "vulnerability": "VCID-gnq4-v5a7-m3ew"
                        },
                        {
                            "vulnerability": "VCID-hyr1-b223-bkef"
                        },
                        {
                            "vulnerability": "VCID-kgjy-7kdy-c3cg"
                        },
                        {
                            "vulnerability": "VCID-m87b-eb5y-8ydf"
                        },
                        {
                            "vulnerability": "VCID-n2b8-e8fa-2ue1"
                        },
                        {
                            "vulnerability": "VCID-pntx-wfhx-p3aa"
                        },
                        {
                            "vulnerability": "VCID-qbws-64b9-83fc"
                        },
                        {
                            "vulnerability": "VCID-qtt6-8kf8-1fbt"
                        },
                        {
                            "vulnerability": "VCID-rarq-tdjt-hff3"
                        },
                        {
                            "vulnerability": "VCID-rgk8-k53p-gkft"
                        },
                        {
                            "vulnerability": "VCID-rnub-zmb6-5yhw"
                        },
                        {
                            "vulnerability": "VCID-s2w1-fedq-ckes"
                        },
                        {
                            "vulnerability": "VCID-uvca-5e2n-pqew"
                        },
                        {
                            "vulnerability": "VCID-vtec-237j-1ua2"
                        },
                        {
                            "vulnerability": "VCID-xn7b-vz2e-6qdh"
                        },
                        {
                            "vulnerability": "VCID-zcmk-4k97-kkd9"
                        }
                    ],
                    "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-kzey-xd5m-j7bu"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/ansible@1.9.6.1"
}