Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/380814?format=api",
    "purl": "pkg:gem/sprout@1.1.17.pre",
    "type": "gem",
    "namespace": "",
    "name": "sprout",
    "version": "1.1.17.pre",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/26746?format=api",
            "vulnerability_id": "VCID-728p-7re1-1bbv",
            "summary": "sprout Arbitrary Code Execution vulnerability\nThe `unpack_zip` function in `archive_unpacker.rb` in the sprout gem 0.7.246 for Ruby allows context-dependent attackers to execute arbitrary commands via shell metacharacters in a (1) filename or (2) path.",
            "references": [
                {
                    "reference_url": "http://archives.neohapsis.com/archives/bugtraq/2013-12/0077.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "http://archives.neohapsis.com/archives/bugtraq/2013-12/0077.html"
                },
                {
                    "reference_url": "http://cxsecurity.com/issue/WLB-2013120023",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://cxsecurity.com/issue/WLB-2013120023"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2013-6421",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.01228",
                            "scoring_system": "epss",
                            "scoring_elements": "0.79456",
                            "published_at": "2026-05-29T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2013-6421"
                },
                {
                    "reference_url": "https://github.com/lukebayes/project-sprouts",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/lukebayes/project-sprouts"
                },
                {
                    "reference_url": "https://github.com/lukebayes/project-sprouts/blob/e8e6c60438cd1a4d598645760b00ea005eb1cc2c/lib/sprout/archive_unpacker.rb#L90",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/lukebayes/project-sprouts/blob/e8e6c60438cd1a4d598645760b00ea005eb1cc2c/lib/sprout/archive_unpacker.rb#L90"
                },
                {
                    "reference_url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/sprout/CVE-2013-6421.yml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/sprout/CVE-2013-6421.yml"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2013-6421",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2013-6421"
                },
                {
                    "reference_url": "http://vapid.dhs.org/advisories/sprout-0.7.246-command-inj.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "http://vapid.dhs.org/advisories/sprout-0.7.246-command-inj.html"
                },
                {
                    "reference_url": "http://www.openwall.com/lists/oss-security/2013/12/03/1",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "http://www.openwall.com/lists/oss-security/2013/12/03/1"
                },
                {
                    "reference_url": "http://www.openwall.com/lists/oss-security/2013/12/03/6",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "http://www.openwall.com/lists/oss-security/2013/12/03/6"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-229r-pqp6-8w6g",
                    "reference_id": "GHSA-229r-pqp6-8w6g",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-229r-pqp6-8w6g"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2013-6421",
                "GHSA-229r-pqp6-8w6g",
                "OSV-100598"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-728p-7re1-1bbv"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/sprout@1.1.17.pre"
}