Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/13222?format=api",
    "purl": "pkg:pypi/trytond@4.2.15",
    "type": "pypi",
    "namespace": "",
    "name": "trytond",
    "version": "4.2.15",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "4.2.21",
    "latest_non_vulnerable_version": "7.6.11",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35342?format=api",
            "vulnerability_id": "VCID-kjnf-nmzs-c7b5",
            "summary": "In trytond/model/modelstorage.py in Tryton 4.2 before 4.2.21, 4.4 before 4.4.19, 4.6 before 4.6.14, 4.8 before 4.8.10, and 5.0 before 5.0.6, an authenticated user can order records based on a field for which he has no access right. This may allow the user to guess values.",
            "references": [
                {
                    "reference_url": "https://discuss.tryton.org/t/security-release-for-issue8189/1262",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://discuss.tryton.org/t/security-release-for-issue8189/1262"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/trytond/PYSEC-2019-127.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/trytond/PYSEC-2019-127.yaml"
                },
                {
                    "reference_url": "https://github.com/tryton/trytond",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/tryton/trytond"
                },
                {
                    "reference_url": "https://hg.tryton.org/trytond/rev/f58bbfe0aefb",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://hg.tryton.org/trytond/rev/f58bbfe0aefb"
                },
                {
                    "reference_url": "https://seclists.org/bugtraq/2019/Apr/14",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://seclists.org/bugtraq/2019/Apr/14"
                },
                {
                    "reference_url": "https://www.debian.org/security/2019/dsa-4426",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.debian.org/security/2019/dsa-4426"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2019-10868",
                    "reference_id": "CVE-2019-10868",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-10868"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-f6f2-pwrj-64h3",
                    "reference_id": "GHSA-f6f2-pwrj-64h3",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-f6f2-pwrj-64h3"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/13277?format=api",
                    "purl": "pkg:pypi/trytond@4.2.21",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/trytond@4.2.21"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/13278?format=api",
                    "purl": "pkg:pypi/trytond@4.4.19",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/trytond@4.4.19"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/13279?format=api",
                    "purl": "pkg:pypi/trytond@4.6.14",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/trytond@4.6.14"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/13280?format=api",
                    "purl": "pkg:pypi/trytond@4.8.10",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/trytond@4.8.10"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/13281?format=api",
                    "purl": "pkg:pypi/trytond@5.0.6",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/trytond@5.0.6"
                }
            ],
            "aliases": [
                "CVE-2019-10868",
                "GHSA-f6f2-pwrj-64h3",
                "PYSEC-2019-127"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-kjnf-nmzs-c7b5"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/trytond@4.2.15"
}