Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/1057660?format=api",
    "purl": "pkg:deb/debian/ruby-actionpack-page-caching@1.0.2-4",
    "type": "deb",
    "namespace": "debian",
    "name": "ruby-actionpack-page-caching",
    "version": "1.0.2-4",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "1.2.2-1",
    "latest_non_vulnerable_version": "1.2.2-1",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/34124?format=api",
            "vulnerability_id": "VCID-3efe-hmaw-u7fn",
            "summary": "Arbitrary file write in actionpack-page_caching gem\nThere is a vulnerability in actionpack_page-caching gem < v1.2.1 that allows an attacker to write arbitrary files to a web server, potentially resulting in remote code execution if the attacker can write unescaped ERB to a view.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-8159",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.0542",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90203",
                            "published_at": "2026-05-07T12:55:00Z"
                        },
                        {
                            "value": "0.0542",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90149",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.0542",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90157",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.0542",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90156",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.0542",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90151",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.0542",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90168",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.0542",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90165",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.0542",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90179",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.0542",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90178",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.0542",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90176",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.0542",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90187",
                            "published_at": "2026-05-05T12:55:00Z"
                        },
                        {
                            "value": "0.0542",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90108",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.0542",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90111",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.0542",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90123",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.0542",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90127",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.0542",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90143",
                            "published_at": "2026-04-08T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-8159"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-8159",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-8159"
                },
                {
                    "reference_url": "https://github.com/rails/actionpack-page_caching/commit/127da70a559bed4fc573fdb4a6d498a7d5815ce2",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/rails/actionpack-page_caching/commit/127da70a559bed4fc573fdb4a6d498a7d5815ce2"
                },
                {
                    "reference_url": "https://groups.google.com/forum/#!topic/rubyonrails-security/CFRVkEytdP8",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3",
                            "scoring_elements": ""
                        },
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://groups.google.com/forum/#!topic/rubyonrails-security/CFRVkEytdP8"
                },
                {
                    "reference_url": "https://lists.debian.org/debian-lts-announce/2021/07/msg00019.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://lists.debian.org/debian-lts-announce/2021/07/msg00019.html"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-8159",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-8159"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=960680",
                    "reference_id": "960680",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=960680"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-mg5p-95m9-rmfp",
                    "reference_id": "GHSA-mg5p-95m9-rmfp",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "CRITICAL",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-mg5p-95m9-rmfp"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/1057662?format=api",
                    "purl": "pkg:deb/debian/ruby-actionpack-page-caching@1.2.2-1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/ruby-actionpack-page-caching@1.2.2-1"
                }
            ],
            "aliases": [
                "CVE-2020-8159",
                "GHSA-mg5p-95m9-rmfp"
            ],
            "risk_score": 4.5,
            "exploitability": "0.5",
            "weighted_severity": "9.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-3efe-hmaw-u7fn"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "4.5",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/ruby-actionpack-page-caching@1.0.2-4"
}