Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/61657?format=api",
    "vulnerability_id": "VCID-yddp-8puj-dbaj",
    "summary": "Multiple vulnerabilities have been found in FreeType, the worst of\n    which allows remote attackers to execute arbitrary code.",
    "aliases": [
        {
            "alias": "CVE-2017-7857"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/922670?format=api",
            "purl": "pkg:deb/debian/freetype@0?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/freetype@0%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/922647?format=api",
            "purl": "pkg:deb/debian/freetype@2.10.4%2Bdfsg-1%2Bdeb11u1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-hgm7-qrp2-c3g8"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/freetype@2.10.4%252Bdfsg-1%252Bdeb11u1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/922645?format=api",
            "purl": "pkg:deb/debian/freetype@2.12.1%2Bdfsg-5%2Bdeb12u4?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/freetype@2.12.1%252Bdfsg-5%252Bdeb12u4%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/922649?format=api",
            "purl": "pkg:deb/debian/freetype@2.13.3%2Bdfsg-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/freetype@2.13.3%252Bdfsg-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/922648?format=api",
            "purl": "pkg:deb/debian/freetype@2.14.2%2Bdfsg-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/freetype@2.14.2%252Bdfsg-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1000437?format=api",
            "purl": "pkg:deb/debian/freetype@2.14.3%2Bdfsg-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/freetype@2.14.3%252Bdfsg-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/85685?format=api",
            "purl": "pkg:ebuild/media-libs/freetype@2.8",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/media-libs/freetype@2.8"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=7bbb91fbf47fc0775cc9705673caf0c47a81f94b",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=7bbb91fbf47fc0775cc9705673caf0c47a81f94b"
        },
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2017-7857.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.8",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2017-7857.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2017-7857",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.02549",
                    "scoring_system": "epss",
                    "scoring_elements": "0.85409",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.02549",
                    "scoring_system": "epss",
                    "scoring_elements": "0.85511",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.02549",
                    "scoring_system": "epss",
                    "scoring_elements": "0.85486",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.02549",
                    "scoring_system": "epss",
                    "scoring_elements": "0.85483",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.02549",
                    "scoring_system": "epss",
                    "scoring_elements": "0.85506",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.02549",
                    "scoring_system": "epss",
                    "scoring_elements": "0.85421",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.02549",
                    "scoring_system": "epss",
                    "scoring_elements": "0.85442",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.02549",
                    "scoring_system": "epss",
                    "scoring_elements": "0.85445",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.02549",
                    "scoring_system": "epss",
                    "scoring_elements": "0.85465",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.02549",
                    "scoring_system": "epss",
                    "scoring_elements": "0.85474",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.02549",
                    "scoring_system": "epss",
                    "scoring_elements": "0.85488",
                    "published_at": "2026-04-11T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2017-7857"
        },
        {
            "reference_url": "https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=759",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=759"
        },
        {
            "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.8",
                    "scoring_system": "cvssv2",
                    "scoring_elements": "AV:N/AC:M/Au:N/C:P/I:P/A:P"
                }
            ],
            "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
        },
        {
            "reference_url": "https://www.oracle.com/security-alerts/cpuapr2020.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://www.oracle.com/security-alerts/cpuapr2020.html"
        },
        {
            "reference_url": "http://www.securityfocus.com/bid/97680",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.securityfocus.com/bid/97680"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1444898",
            "reference_id": "1444898",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1444898"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:freetype:freetype:*:*:*:*:*:*:*:*",
            "reference_id": "cpe:2.3:a:freetype:freetype:*:*:*:*:*:*:*:*",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:freetype:freetype:*:*:*:*:*:*:*:*"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-7857",
            "reference_id": "CVE-2017-7857",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv2",
                    "scoring_elements": "AV:N/AC:L/Au:N/C:P/I:P/A:P"
                },
                {
                    "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"
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-7857"
        },
        {
            "reference_url": "https://security.gentoo.org/glsa/201706-14",
            "reference_id": "GLSA-201706-14",
            "reference_type": "",
            "scores": [],
            "url": "https://security.gentoo.org/glsa/201706-14"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 122,
            "name": "Heap-based Buffer Overflow",
            "description": "A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc()."
        },
        {
            "cwe_id": 787,
            "name": "Out-of-bounds Write",
            "description": "The product writes data past the end, or before the beginning, of the intended buffer."
        }
    ],
    "exploits": [],
    "severity_range_score": "6.8 - 9.8",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-yddp-8puj-dbaj"
}