Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/181523?format=api",
    "vulnerability_id": "VCID-ye6u-vkxs-w7fz",
    "summary": "Cacti is an open source performance and fault management framework. Cacti has a SQL injection vulnerability in the template function of host_templates.php using the graph_template parameter. This vulnerability is fixed in 1.2.29.",
    "aliases": [
        {
            "alias": "CVE-2024-54146"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/582137?format=api",
            "purl": "pkg:deb/debian/cacti@0?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/cacti@0%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/582138?format=api",
            "purl": "pkg:deb/debian/cacti@1.2.16%2Bds1-2%2Bdeb11u3?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4e5y-1s19-r7g7"
                },
                {
                    "vulnerability": "VCID-cqr3-wwhj-tyck"
                },
                {
                    "vulnerability": "VCID-pxqa-nkv3-jqfs"
                },
                {
                    "vulnerability": "VCID-xkkm-ss3p-1udc"
                },
                {
                    "vulnerability": "VCID-zxu5-equ9-1kam"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/cacti@1.2.16%252Bds1-2%252Bdeb11u3%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/582140?format=api",
            "purl": "pkg:deb/debian/cacti@1.2.24%2Bds1-1%2Bdeb12u5?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4e5y-1s19-r7g7"
                },
                {
                    "vulnerability": "VCID-pxqa-nkv3-jqfs"
                },
                {
                    "vulnerability": "VCID-xkkm-ss3p-1udc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/cacti@1.2.24%252Bds1-1%252Bdeb12u5%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/584478?format=api",
            "purl": "pkg:deb/debian/cacti@1.2.28%2Bds1-4?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/cacti@1.2.28%252Bds1-4%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/582142?format=api",
            "purl": "pkg:deb/debian/cacti@1.2.30%2Bds1-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/cacti@1.2.30%252Bds1-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/582143?format=api",
            "purl": "pkg:deb/debian/cacti@1.2.30%2Bds1-2?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/cacti@1.2.30%252Bds1-2%3Fdistro=trixie"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2024-54146",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.09817",
                    "scoring_system": "epss",
                    "scoring_elements": "0.92969",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.09817",
                    "scoring_system": "epss",
                    "scoring_elements": "0.92961",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.09817",
                    "scoring_system": "epss",
                    "scoring_elements": "0.92965",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.09817",
                    "scoring_system": "epss",
                    "scoring_elements": "0.9297",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.09817",
                    "scoring_system": "epss",
                    "scoring_elements": "0.92968",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.09817",
                    "scoring_system": "epss",
                    "scoring_elements": "0.92949",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.09817",
                    "scoring_system": "epss",
                    "scoring_elements": "0.92954",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.09817",
                    "scoring_system": "epss",
                    "scoring_elements": "0.92953",
                    "published_at": "2026-04-07T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2024-54146"
        },
        {
            "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1094574",
            "reference_id": "1094574",
            "reference_type": "",
            "scores": [],
            "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1094574"
        },
        {
            "reference_url": "https://github.com/Cacti/cacti/commit/c7e4ee798d263a3209ae6e7ba182c7b65284d8f0",
            "reference_id": "c7e4ee798d263a3209ae6e7ba182c7b65284d8f0",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.6",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-01-27T18:47:46Z/"
                }
            ],
            "url": "https://github.com/Cacti/cacti/commit/c7e4ee798d263a3209ae6e7ba182c7b65284d8f0"
        },
        {
            "reference_url": "https://github.com/Cacti/cacti/security/advisories/GHSA-vj9g-p7f2-4wqj",
            "reference_id": "GHSA-vj9g-p7f2-4wqj",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.6",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-01-27T18:47:46Z/"
                }
            ],
            "url": "https://github.com/Cacti/cacti/security/advisories/GHSA-vj9g-p7f2-4wqj"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 89,
            "name": "Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')",
            "description": "The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component."
        }
    ],
    "exploits": [],
    "severity_range_score": "7.6 - 7.6",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ye6u-vkxs-w7fz"
}