Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/938004?format=api",
    "purl": "pkg:deb/debian/rsync@2.6.2-3?distro=trixie",
    "type": "deb",
    "namespace": "debian",
    "name": "rsync",
    "version": "2.6.2-3",
    "qualifiers": {
        "distro": "trixie"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "2.6.8-1",
    "latest_non_vulnerable_version": "3.3.0+ds1-3",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/61189?format=api",
            "vulnerability_id": "VCID-ty4c-hwkm-uqes",
            "summary": "rsync fails to properly sanitize paths. This vulnerability could allow the\n    listing of arbitrary files and allow file overwriting outside module's path\n    on rsync server configurations that allow uploading.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2004-0792.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2004-0792.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2004-0792",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00777",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73707",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.00777",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73717",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.00777",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73718",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.00839",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74646",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.00839",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74677",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.00839",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74692",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.00839",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74715",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.00839",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74641",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.00839",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74687",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.00839",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74724",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.00839",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74731",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.00839",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74722",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.00839",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74695",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.00839",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74645",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.00839",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74671",
                            "published_at": "2026-04-04T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2004-0792"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-0792",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-0792"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1617292",
                    "reference_id": "1617292",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1617292"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/200408-17",
                    "reference_id": "GLSA-200408-17",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/200408-17"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2004:436",
                    "reference_id": "RHSA-2004:436",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2004:436"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/1088730?format=api",
                    "purl": "pkg:deb/debian/rsync@3.4.2%2Bds1-2?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/rsync@3.4.2%252Bds1-2%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/938004?format=api",
                    "purl": "pkg:deb/debian/rsync@2.6.2-3?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/rsync@2.6.2-3%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/938000?format=api",
                    "purl": "pkg:deb/debian/rsync@3.2.3-4%2Bdeb11u1?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-4g3g-qmrg-tbf6"
                        },
                        {
                            "vulnerability": "VCID-sx8v-dmgh-1ybq"
                        },
                        {
                            "vulnerability": "VCID-ua8q-v9qd-wqb5"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/rsync@3.2.3-4%252Bdeb11u1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/937998?format=api",
                    "purl": "pkg:deb/debian/rsync@3.2.7-1%2Bdeb12u4?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-sx8v-dmgh-1ybq"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/rsync@3.2.7-1%252Bdeb12u4%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/938002?format=api",
                    "purl": "pkg:deb/debian/rsync@3.4.1%2Bds1-5%2Bdeb13u1?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-sx8v-dmgh-1ybq"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/rsync@3.4.1%252Bds1-5%252Bdeb13u1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/938001?format=api",
                    "purl": "pkg:deb/debian/rsync@3.4.1%2Bds1-7?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-sx8v-dmgh-1ybq"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/rsync@3.4.1%252Bds1-7%3Fdistro=trixie"
                }
            ],
            "aliases": [
                "CVE-2004-0792"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ty4c-hwkm-uqes"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/rsync@2.6.2-3%3Fdistro=trixie"
}