Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/56819?format=api",
    "vulnerability_id": "VCID-sqxs-v4xg-5kd8",
    "summary": "A vulnerability in PCRE2 could lead to a Denial of Service\n    condition.",
    "aliases": [
        {
            "alias": "CVE-2019-20454"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/934553?format=api",
            "purl": "pkg:deb/debian/pcre2@10.34-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/pcre2@10.34-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/934547?format=api",
            "purl": "pkg:deb/debian/pcre2@10.36-2%2Bdeb11u1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-puhw-2qwq-gqet"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/pcre2@10.36-2%252Bdeb11u1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/995022?format=api",
            "purl": "pkg:deb/debian/pcre2@10.36-2%2Bdeb11u1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-puhw-2qwq-gqet"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/pcre2@10.36-2%252Bdeb11u1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/934545?format=api",
            "purl": "pkg:deb/debian/pcre2@10.42-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/pcre2@10.42-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/934549?format=api",
            "purl": "pkg:deb/debian/pcre2@10.46-1~deb13u1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/pcre2@10.46-1~deb13u1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/934548?format=api",
            "purl": "pkg:deb/debian/pcre2@10.46-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/pcre2@10.46-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/83191?format=api",
            "purl": "pkg:ebuild/net-libs/pcre2@10.34",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/net-libs/pcre2@10.34"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1052525?format=api",
            "purl": "pkg:deb/debian/pcre2@2.08-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-hvre-wgyt-23dz"
                },
                {
                    "vulnerability": "VCID-n3na-8bf2-r3gv"
                },
                {
                    "vulnerability": "VCID-nhna-bk28-t3ex"
                },
                {
                    "vulnerability": "VCID-sqxs-v4xg-5kd8"
                },
                {
                    "vulnerability": "VCID-udse-25e2-vfeb"
                },
                {
                    "vulnerability": "VCID-ywee-ghvk-pubu"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/pcre2@2.08-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1052526?format=api",
            "purl": "pkg:deb/debian/pcre2@10.22-3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-hvre-wgyt-23dz"
                },
                {
                    "vulnerability": "VCID-n3na-8bf2-r3gv"
                },
                {
                    "vulnerability": "VCID-nhna-bk28-t3ex"
                },
                {
                    "vulnerability": "VCID-sqxs-v4xg-5kd8"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/pcre2@10.22-3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1052527?format=api",
            "purl": "pkg:deb/debian/pcre2@10.32-5",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-n3na-8bf2-r3gv"
                },
                {
                    "vulnerability": "VCID-nhna-bk28-t3ex"
                },
                {
                    "vulnerability": "VCID-sqxs-v4xg-5kd8"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/pcre2@10.32-5"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/568854?format=api",
            "purl": "pkg:nuget/pcre.symbols@10.31.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-sqxs-v4xg-5kd8"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/pcre.symbols@10.31.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/105785?format=api",
            "purl": "pkg:rpm/redhat/pcre2@10.32-2?arch=el8",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-sqxs-v4xg-5kd8"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/pcre2@10.32-2%3Farch=el8"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2019-20454.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2019-20454.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2019-20454",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00089",
                    "scoring_system": "epss",
                    "scoring_elements": "0.25415",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.00089",
                    "scoring_system": "epss",
                    "scoring_elements": "0.2548",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00089",
                    "scoring_system": "epss",
                    "scoring_elements": "0.25518",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00089",
                    "scoring_system": "epss",
                    "scoring_elements": "0.25289",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00089",
                    "scoring_system": "epss",
                    "scoring_elements": "0.25357",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00089",
                    "scoring_system": "epss",
                    "scoring_elements": "0.25401",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00089",
                    "scoring_system": "epss",
                    "scoring_elements": "0.25412",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00089",
                    "scoring_system": "epss",
                    "scoring_elements": "0.25371",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00089",
                    "scoring_system": "epss",
                    "scoring_elements": "0.25317",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00089",
                    "scoring_system": "epss",
                    "scoring_elements": "0.25325",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00089",
                    "scoring_system": "epss",
                    "scoring_elements": "0.25315",
                    "published_at": "2026-04-18T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2019-20454"
        },
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-20454",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-20454"
        },
        {
            "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H"
                }
            ],
            "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1735494",
            "reference_id": "1735494",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1735494"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2019-20454",
            "reference_id": "CVE-2019-20454",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-20454"
        },
        {
            "reference_url": "https://security.gentoo.org/glsa/202006-16",
            "reference_id": "GLSA-202006-16",
            "reference_type": "",
            "scores": [],
            "url": "https://security.gentoo.org/glsa/202006-16"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2020:3662",
            "reference_id": "RHSA-2020:3662",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2020:3662"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2020:4539",
            "reference_id": "RHSA-2020:4539",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2020:4539"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 125,
            "name": "Out-of-bounds Read",
            "description": "The product reads data past the end, or before the beginning, of the intended buffer."
        },
        {
            "cwe_id": 1035,
            "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."
        },
        {
            "cwe_id": 937,
            "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."
        }
    ],
    "exploits": [],
    "severity_range_score": "6.8 - 7.5",
    "exploitability": "0.5",
    "weighted_severity": "6.8",
    "risk_score": 3.4,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-sqxs-v4xg-5kd8"
}