Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/159707?format=api",
    "purl": "pkg:gem/rest-client@0.6.2",
    "type": "gem",
    "namespace": "",
    "name": "rest-client",
    "version": "0.6.2",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "1.6.14",
    "latest_non_vulnerable_version": "1.8.0",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37845?format=api",
            "vulnerability_id": "VCID-ec4f-bg8b-x7ef",
            "summary": "Log Plaintext Password Local Disclosure\nREST Client for Ruby contains a flaw that is due to the application logging password information in plaintext. This may allow a local attacker to gain access to password information.",
            "references": [
                {
                    "reference_url": "http://lists.opensuse.org/opensuse-updates/2015-04/msg00026.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "LOW",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "http://lists.opensuse.org/opensuse-updates/2015-04/msg00026.html"
                },
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2015-3448.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2015-3448.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2015-3448",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00065",
                            "scoring_system": "epss",
                            "scoring_elements": "0.20506",
                            "published_at": "2026-06-07T12:55:00Z"
                        },
                        {
                            "value": "0.00065",
                            "scoring_system": "epss",
                            "scoring_elements": "0.20486",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.00065",
                            "scoring_system": "epss",
                            "scoring_elements": "0.20559",
                            "published_at": "2026-06-05T12:55:00Z"
                        },
                        {
                            "value": "0.00065",
                            "scoring_system": "epss",
                            "scoring_elements": "0.20545",
                            "published_at": "2026-06-06T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2015-3448"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-3448",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-3448"
                },
                {
                    "reference_url": "https://github.com/rest-client/rest-client",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "LOW",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/rest-client/rest-client"
                },
                {
                    "reference_url": "https://github.com/rest-client/rest-client/issues/349",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "LOW",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/rest-client/rest-client/issues/349"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2015-3448",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "LOW",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2015-3448"
                },
                {
                    "reference_url": "https://web.archive.org/web/20200228154247/http://www.securityfocus.com/bid/74415",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "LOW",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://web.archive.org/web/20200228154247/http://www.securityfocus.com/bid/74415"
                },
                {
                    "reference_url": "http://www.osvdb.org/show/osvdb/117461",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.osvdb.org/show/osvdb/117461"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1240982",
                    "reference_id": "1240982",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1240982"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-mx9f-w8qq-q5jf",
                    "reference_id": "GHSA-mx9f-w8qq-q5jf",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "LOW",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-mx9f-w8qq-q5jf"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2021:1313",
                    "reference_id": "RHSA-2021:1313",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2021:1313"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/52256?format=api",
                    "purl": "pkg:gem/rest-client@1.7.3",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-jx3q-cxcq-9bgq"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/rest-client@1.7.3"
                }
            ],
            "aliases": [
                "CVE-2015-3448",
                "GHSA-mx9f-w8qq-q5jf"
            ],
            "risk_score": 1.4,
            "exploitability": "0.5",
            "weighted_severity": "2.7",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ec4f-bg8b-x7ef"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "1.4",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/rest-client@0.6.2"
}