Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/53410?format=api",
    "purl": "pkg:pypi/tryton@3.8.0",
    "type": "pypi",
    "namespace": "",
    "name": "tryton",
    "version": "3.8.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "3.8.15",
    "latest_non_vulnerable_version": "6.2.6",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35049?format=api",
            "vulnerability_id": "VCID-ye2t-2sf7-6fd6",
            "summary": "file_open in Tryton 3.x and 4.x through 4.2.2 allows remote authenticated users with certain permissions to read arbitrary files via a \"same root name but with a suffix\" attack. NOTE: This vulnerability exists because of an incomplete fix for CVE-2016-1242.",
            "references": [
                {
                    "reference_url": "http://hg.tryton.org/trytond?cmd=changeset;node=472510fdc6f8",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://hg.tryton.org/trytond?cmd=changeset;node=472510fdc6f8"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/trytond/PYSEC-2017-97.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/trytond/PYSEC-2017-97.yaml"
                },
                {
                    "reference_url": "https://github.com/tryton/trytond",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/tryton/trytond"
                },
                {
                    "reference_url": "https://github.com/tryton/trytond/commit/30e978593733385db3144f8c583eeb4679575cf0",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/tryton/trytond/commit/30e978593733385db3144f8c583eeb4679575cf0"
                },
                {
                    "reference_url": "https://github.com/tryton/trytond/commit/a67a7f03c30277515f530cad5950056171ed5bd1",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/tryton/trytond/commit/a67a7f03c30277515f530cad5950056171ed5bd1"
                },
                {
                    "reference_url": "https://lists.debian.org/debian-security-announce/2017/msg00084.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.debian.org/debian-security-announce/2017/msg00084.html"
                },
                {
                    "reference_url": "http://www.debian.org/security/2017/dsa-3826",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.debian.org/security/2017/dsa-3826"
                },
                {
                    "reference_url": "http://www.securityfocus.com/bid/97489",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/97489"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-0360",
                    "reference_id": "CVE-2017-0360",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-0360"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-7cwg-2575-3546",
                    "reference_id": "GHSA-7cwg-2575-3546",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-7cwg-2575-3546"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/53418?format=api",
                    "purl": "pkg:pypi/tryton@3.8.15",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/tryton@3.8.15"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/53419?format=api",
                    "purl": "pkg:pypi/tryton@4.0.10",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/tryton@4.0.10"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/53420?format=api",
                    "purl": "pkg:pypi/tryton@4.2.3",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/tryton@4.2.3"
                }
            ],
            "aliases": [
                "CVE-2017-0360",
                "GHSA-7cwg-2575-3546",
                "PYSEC-2017-97"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ye2t-2sf7-6fd6"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/tryton@3.8.0"
}