Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/140621?format=api",
    "purl": "pkg:rpm/redhat/dbus@1:1.12.8-10?arch=el8_2",
    "type": "rpm",
    "namespace": "redhat",
    "name": "dbus",
    "version": "1:1.12.8-10",
    "qualifiers": {
        "arch": "el8_2"
    },
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/65876?format=api",
            "vulnerability_id": "VCID-dbck-8yft-hfcv",
            "summary": "An issue was discovered in dbus >= 1.3.0 before 1.12.18. The DBusServer in libdbus, as used in dbus-daemon, leaks file descriptors when a message exceeds the per-message file descriptor limit. A local attacker with access to the D-Bus system bus or another system service's private AF_UNIX socket could use this to make the system service reach its file descriptor limit, denying service to subsequent D-Bus clients.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-12049.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.5",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-12049.json"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1849041",
                    "reference_id": "1849041",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1849041"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2020:2894",
                    "reference_id": "RHSA-2020:2894",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2020:2894"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2020:3014",
                    "reference_id": "RHSA-2020:3014",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2020:3014"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2020:3044",
                    "reference_id": "RHSA-2020:3044",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2020:3044"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2020:3298",
                    "reference_id": "RHSA-2020:3298",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2020:3298"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2020-12049"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-dbck-8yft-hfcv"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/dbus@1:1.12.8-10%3Farch=el8_2"
}