Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/42209?format=api",
    "vulnerability_id": "VCID-rrh8-rvrz-mkdz",
    "summary": "Multiple vulnerabilities have been discovered in calibre, the worst of which could lead to remote code execution.",
    "aliases": [
        {
            "alias": "CVE-2024-6781"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/585396?format=api",
            "purl": "pkg:deb/debian/calibre@0?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/calibre@0%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/582189?format=api",
            "purl": "pkg:deb/debian/calibre@5.12.0%2Bdfsg-1%2Bdeb11u2?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2w1b-b6qm-4qhf"
                },
                {
                    "vulnerability": "VCID-b3vv-xdp2-7ub8"
                },
                {
                    "vulnerability": "VCID-bjj5-ynf7-v7aa"
                },
                {
                    "vulnerability": "VCID-dywq-dzuv-wka2"
                },
                {
                    "vulnerability": "VCID-hgmk-8s7s-tfdb"
                },
                {
                    "vulnerability": "VCID-jwpx-aqjh-dqej"
                },
                {
                    "vulnerability": "VCID-mqmp-g7uy-gbg4"
                },
                {
                    "vulnerability": "VCID-nj3z-4ya4-bqf7"
                },
                {
                    "vulnerability": "VCID-vq4p-dvg4-eudz"
                },
                {
                    "vulnerability": "VCID-x63d-4kux-cqcu"
                },
                {
                    "vulnerability": "VCID-zhz3-1799-a7hk"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/calibre@5.12.0%252Bdfsg-1%252Bdeb11u2%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/582191?format=api",
            "purl": "pkg:deb/debian/calibre@6.13.0%2Brepack-2%2Bdeb12u5?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2w1b-b6qm-4qhf"
                },
                {
                    "vulnerability": "VCID-bjj5-ynf7-v7aa"
                },
                {
                    "vulnerability": "VCID-dywq-dzuv-wka2"
                },
                {
                    "vulnerability": "VCID-hgmk-8s7s-tfdb"
                },
                {
                    "vulnerability": "VCID-jwpx-aqjh-dqej"
                },
                {
                    "vulnerability": "VCID-mqmp-g7uy-gbg4"
                },
                {
                    "vulnerability": "VCID-nj3z-4ya4-bqf7"
                },
                {
                    "vulnerability": "VCID-vq4p-dvg4-eudz"
                },
                {
                    "vulnerability": "VCID-x63d-4kux-cqcu"
                },
                {
                    "vulnerability": "VCID-zhz3-1799-a7hk"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/calibre@6.13.0%252Brepack-2%252Bdeb12u5%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/582192?format=api",
            "purl": "pkg:deb/debian/calibre@7.16.0%2Bds-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/calibre@7.16.0%252Bds-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/582193?format=api",
            "purl": "pkg:deb/debian/calibre@8.5.0%2Bds-1%2Bdeb13u1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2w1b-b6qm-4qhf"
                },
                {
                    "vulnerability": "VCID-bjj5-ynf7-v7aa"
                },
                {
                    "vulnerability": "VCID-dywq-dzuv-wka2"
                },
                {
                    "vulnerability": "VCID-hgmk-8s7s-tfdb"
                },
                {
                    "vulnerability": "VCID-jwpx-aqjh-dqej"
                },
                {
                    "vulnerability": "VCID-mqmp-g7uy-gbg4"
                },
                {
                    "vulnerability": "VCID-nj3z-4ya4-bqf7"
                },
                {
                    "vulnerability": "VCID-vq4p-dvg4-eudz"
                },
                {
                    "vulnerability": "VCID-x63d-4kux-cqcu"
                },
                {
                    "vulnerability": "VCID-zhz3-1799-a7hk"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/calibre@8.5.0%252Bds-1%252Bdeb13u1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/582194?format=api",
            "purl": "pkg:deb/debian/calibre@9.5.0%2Bds%2B~0.10.5-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/calibre@9.5.0%252Bds%252B~0.10.5-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/582195?format=api",
            "purl": "pkg:deb/debian/calibre@9.6.0%2Bds%2B~0.10.5-5?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/calibre@9.6.0%252Bds%252B~0.10.5-5%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1041946?format=api",
            "purl": "pkg:deb/debian/calibre@9.6.0%2Bds%2B~0.10.5-6?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/calibre@9.6.0%252Bds%252B~0.10.5-6%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1062443?format=api",
            "purl": "pkg:deb/debian/calibre@9.7.0%2Bds%2B~0.10.5-2?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/calibre@9.7.0%252Bds%252B~0.10.5-2%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/75981?format=api",
            "purl": "pkg:ebuild/app-text/calibre@7.16.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/app-text/calibre@7.16.0"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2024-6781",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.93721",
                    "scoring_system": "epss",
                    "scoring_elements": "0.99851",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.93721",
                    "scoring_system": "epss",
                    "scoring_elements": "0.9985",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.93767",
                    "scoring_system": "epss",
                    "scoring_elements": "0.99854",
                    "published_at": "2026-04-09T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2024-6781"
        },
        {
            "reference_url": "https://starlabs.sg/advisories/24/24-6781/",
            "reference_id": "24-6781",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:Y/T:P/P:M/B:A/M:M/D:T/2024-08-06T14:44:09Z/"
                }
            ],
            "url": "https://starlabs.sg/advisories/24/24-6781/"
        },
        {
            "reference_url": "https://github.com/kovidgoyal/calibre/commit/bcd0ab12c41a887f8290a9b56e46c3a29038d9c4",
            "reference_id": "bcd0ab12c41a887f8290a9b56e46c3a29038d9c4",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:Y/T:P/P:M/B:A/M:M/D:T/2024-08-06T14:44:09Z/"
                }
            ],
            "url": "https://github.com/kovidgoyal/calibre/commit/bcd0ab12c41a887f8290a9b56e46c3a29038d9c4"
        },
        {
            "reference_url": "https://security.gentoo.org/glsa/202409-04",
            "reference_id": "GLSA-202409-04",
            "reference_type": "",
            "scores": [],
            "url": "https://security.gentoo.org/glsa/202409-04"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 22,
            "name": "Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')",
            "description": "The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory."
        }
    ],
    "exploits": [],
    "severity_range_score": "7.5 - 7.5",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-rrh8-rvrz-mkdz"
}