Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/62238?format=api",
    "vulnerability_id": "VCID-udjb-6f7h-9fah",
    "summary": "Multiple vulnerabilities have been found in the PCRE Library, the\n    worst of which may allow remote attackers to cause a Denial of Service\n    condition.",
    "aliases": [
        {
            "alias": "CVE-2017-7245"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/374595?format=api",
            "purl": "pkg:alpm/archlinux/pcre@8.41-1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/pcre@8.41-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/547938?format=api",
            "purl": "pkg:apk/alpine/pcre@8.41-r0?arch=aarch64&distroversion=v3.6&reponame=main",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/pcre@8.41-r0%3Farch=aarch64&distroversion=v3.6&reponame=main"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/547939?format=api",
            "purl": "pkg:apk/alpine/pcre@8.41-r0?arch=armhf&distroversion=v3.6&reponame=main",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/pcre@8.41-r0%3Farch=armhf&distroversion=v3.6&reponame=main"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/547940?format=api",
            "purl": "pkg:apk/alpine/pcre@8.41-r0?arch=ppc64le&distroversion=v3.6&reponame=main",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/pcre@8.41-r0%3Farch=ppc64le&distroversion=v3.6&reponame=main"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/547941?format=api",
            "purl": "pkg:apk/alpine/pcre@8.41-r0?arch=s390x&distroversion=v3.6&reponame=main",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/pcre@8.41-r0%3Farch=s390x&distroversion=v3.6&reponame=main"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/547942?format=api",
            "purl": "pkg:apk/alpine/pcre@8.41-r0?arch=x86&distroversion=v3.6&reponame=main",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/pcre@8.41-r0%3Farch=x86&distroversion=v3.6&reponame=main"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/547943?format=api",
            "purl": "pkg:apk/alpine/pcre@8.41-r0?arch=x86_64&distroversion=v3.6&reponame=main",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/pcre@8.41-r0%3Farch=x86_64&distroversion=v3.6&reponame=main"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/85825?format=api",
            "purl": "pkg:ebuild/dev-libs/libpcre@8.41",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/dev-libs/libpcre@8.41"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/374594?format=api",
            "purl": "pkg:alpm/archlinux/pcre@8.40-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-7386-q1qx-2fgr"
                },
                {
                    "vulnerability": "VCID-tgck-ak8c-c7aj"
                },
                {
                    "vulnerability": "VCID-udjb-6f7h-9fah"
                },
                {
                    "vulnerability": "VCID-ywee-ghvk-pubu"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/pcre@8.40-1"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2018:2486",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2018:2486"
        },
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2017-7245.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "3.7",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2017-7245.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2017-7245",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00254",
                    "scoring_system": "epss",
                    "scoring_elements": "0.48685",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.00254",
                    "scoring_system": "epss",
                    "scoring_elements": "0.488",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00254",
                    "scoring_system": "epss",
                    "scoring_elements": "0.48756",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00254",
                    "scoring_system": "epss",
                    "scoring_elements": "0.48774",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00254",
                    "scoring_system": "epss",
                    "scoring_elements": "0.48747",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00254",
                    "scoring_system": "epss",
                    "scoring_elements": "0.48755",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00254",
                    "scoring_system": "epss",
                    "scoring_elements": "0.48804",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00254",
                    "scoring_system": "epss",
                    "scoring_elements": "0.48724",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00254",
                    "scoring_system": "epss",
                    "scoring_elements": "0.4875",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00254",
                    "scoring_system": "epss",
                    "scoring_elements": "0.48705",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00254",
                    "scoring_system": "epss",
                    "scoring_elements": "0.48759",
                    "published_at": "2026-04-08T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2017-7245"
        },
        {
            "reference_url": "https://blogs.gentoo.org/ago/2017/03/20/libpcre-two-stack-based-buffer-overflow-write-in-pcre32_copy_substring-pcre_get-c/",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://blogs.gentoo.org/ago/2017/03/20/libpcre-two-stack-based-buffer-overflow-write-in-pcre32_copy_substring-pcre_get-c/"
        },
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-7245",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-7245"
        },
        {
            "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.8",
                    "scoring_system": "cvssv2",
                    "scoring_elements": "AV:N/AC:M/Au:N/C:N/I:P/A:P"
                },
                {
                    "value": "3.7",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L"
                }
            ],
            "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
        },
        {
            "reference_url": "http://www.securityfocus.com/bid/97067",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.securityfocus.com/bid/97067"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1437367",
            "reference_id": "1437367",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1437367"
        },
        {
            "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=858678",
            "reference_id": "858678",
            "reference_type": "",
            "scores": [],
            "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=858678"
        },
        {
            "reference_url": "https://security.archlinux.org/ASA-201707-20",
            "reference_id": "ASA-201707-20",
            "reference_type": "",
            "scores": [],
            "url": "https://security.archlinux.org/ASA-201707-20"
        },
        {
            "reference_url": "https://security.archlinux.org/AVG-222",
            "reference_id": "AVG-222",
            "reference_type": "",
            "scores": [
                {
                    "value": "Medium",
                    "scoring_system": "archlinux",
                    "scoring_elements": ""
                }
            ],
            "url": "https://security.archlinux.org/AVG-222"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:pcre:pcre:8.40:*:*:*:*:*:*:*",
            "reference_id": "cpe:2.3:a:pcre:pcre:8.40:*:*:*:*:*:*:*",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:pcre:pcre:8.40:*:*:*:*:*:*:*"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-7245",
            "reference_id": "CVE-2017-7245",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.8",
                    "scoring_system": "cvssv2",
                    "scoring_elements": "AV:N/AC:M/Au:N/C:P/I:P/A:P"
                },
                {
                    "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://nvd.nist.gov/vuln/detail/CVE-2017-7245"
        },
        {
            "reference_url": "https://security.gentoo.org/glsa/201710-25",
            "reference_id": "GLSA-201710-25",
            "reference_type": "",
            "scores": [],
            "url": "https://security.gentoo.org/glsa/201710-25"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 20,
            "name": "Improper Input Validation",
            "description": "The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly."
        },
        {
            "cwe_id": 119,
            "name": "Improper Restriction of Operations within the Bounds of a Memory Buffer",
            "description": "The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer."
        }
    ],
    "exploits": [],
    "severity_range_score": "3.7 - 7.8",
    "exploitability": "0.5",
    "weighted_severity": "7.0",
    "risk_score": 3.5,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-udjb-6f7h-9fah"
}