Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/12896?format=api",
    "purl": "pkg:pypi/slixmpp@1.4.2",
    "type": "pypi",
    "namespace": "",
    "name": "slixmpp",
    "version": "1.4.2",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "1.8.3",
    "latest_non_vulnerable_version": "1.8.3",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/36344?format=api",
            "vulnerability_id": "VCID-get1-2fht-u7bu",
            "summary": "Slixmpp before 1.8.3 lacks SSL Certificate hostname validation in XMLStream, allowing an attacker to pose as any server in the eyes of Slixmpp.",
            "references": [
                {
                    "reference_url": "https://github.com/poezio/slixmpp/commits/master/slixmpp/xmlstream/xmlstream.py",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/poezio/slixmpp/commits/master/slixmpp/xmlstream/xmlstream.py"
                },
                {
                    "reference_url": "https://github.com/poezio/slixmpp/tags",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/poezio/slixmpp/tags"
                },
                {
                    "reference_url": "https://lab.louiz.org/poezio/slixmpp/-/commit/b60b1b985db928532f97c4f61d6fbc801f0aa7fa",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lab.louiz.org/poezio/slixmpp/-/commit/b60b1b985db928532f97c4f61d6fbc801f0aa7fa"
                },
                {
                    "reference_url": "https://lab.louiz.org/poezio/slixmpp/-/commits/master",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lab.louiz.org/poezio/slixmpp/-/commits/master"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/31045?format=api",
                    "purl": "pkg:pypi/slixmpp@1.8.3",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/slixmpp@1.8.3"
                }
            ],
            "aliases": [
                "CVE-2022-45197",
                "PYSEC-2022-43013"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-get1-2fht-u7bu"
        }
    ],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35319?format=api",
            "vulnerability_id": "VCID-61dw-bszt-7be4",
            "summary": "slixmpp version before commit 7cd73b594e8122dddf847953fcfc85ab4d316416 contains an incorrect Access Control vulnerability in XEP-0223 plugin (Persistent Storage of Private Data via PubSub) options profile, used for the configuration of default access model that can result in all of the contacts of the victim can see private data having been published to a PEP node. This attack appears to be exploitable if the user of this library publishes any private data on PEP, the node isn't configured to be private. This vulnerability appears to have been fixed in commit 7cd73b594e8122dddf847953fcfc85ab4d316416 which is included in slixmpp 1.4.2.",
            "references": [
                {
                    "reference_url": "https://github.com/poezio/slixmpp",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/poezio/slixmpp"
                },
                {
                    "reference_url": "https://github.com/poezio/slixmpp/commit/7cd73b594e8122dddf847953fcfc85ab4d316416",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/poezio/slixmpp/commit/7cd73b594e8122dddf847953fcfc85ab4d316416"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/slixmpp/PYSEC-2019-121.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/slixmpp/PYSEC-2019-121.yaml"
                },
                {
                    "reference_url": "https://lab.louiz.org/poezio/slixmpp/commit/7cd73b594e8122dddf847953fcfc85ab4d316416",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lab.louiz.org/poezio/slixmpp/commit/7cd73b594e8122dddf847953fcfc85ab4d316416"
                },
                {
                    "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GKBXN7EAAR7ENEZUBKV6C6MP6QBXYTWT",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GKBXN7EAAR7ENEZUBKV6C6MP6QBXYTWT"
                },
                {
                    "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GKBXN7EAAR7ENEZUBKV6C6MP6QBXYTWT/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GKBXN7EAAR7ENEZUBKV6C6MP6QBXYTWT/"
                },
                {
                    "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WIBP4LD2V4TBJSLZXDUAGQMD6CUI2TZR",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WIBP4LD2V4TBJSLZXDUAGQMD6CUI2TZR"
                },
                {
                    "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WIBP4LD2V4TBJSLZXDUAGQMD6CUI2TZR/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WIBP4LD2V4TBJSLZXDUAGQMD6CUI2TZR/"
                },
                {
                    "reference_url": "https://xmpp.org/extensions/xep-0223.html#howitworks",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://xmpp.org/extensions/xep-0223.html#howitworks"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2019-1000021",
                    "reference_id": "CVE-2019-1000021",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-1000021"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-4g62-mfwx-4q48",
                    "reference_id": "GHSA-4g62-mfwx-4q48",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-4g62-mfwx-4q48"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/12896?format=api",
                    "purl": "pkg:pypi/slixmpp@1.4.2",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-get1-2fht-u7bu"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/slixmpp@1.4.2"
                }
            ],
            "aliases": [
                "CVE-2019-1000021",
                "GHSA-4g62-mfwx-4q48",
                "PYSEC-2019-121"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-61dw-bszt-7be4"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/slixmpp@1.4.2"
}