Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/56807?format=api",
    "vulnerability_id": "VCID-kfgm-et3n-ckg6",
    "summary": "The Ruby cgi.rb CGI library is vulnerable to a Denial of Service attack.",
    "aliases": [
        {
            "alias": "CVE-2006-6303"
        },
        {
            "alias": "GHSA-fx2r-qhmq-3jjp"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/83185?format=api",
            "purl": "pkg:ebuild/dev-lang/ruby@1.8.5_p2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/dev-lang/ruby@1.8.5_p2"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/129237?format=api",
            "purl": "pkg:rpm/redhat/ruby@1.6.4-6?arch=el2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5bte-uex2-f7du"
                },
                {
                    "vulnerability": "VCID-9gp6-pvw1-ufhs"
                },
                {
                    "vulnerability": "VCID-c9sy-czbr-tfer"
                },
                {
                    "vulnerability": "VCID-kfgm-et3n-ckg6"
                },
                {
                    "vulnerability": "VCID-mzqm-gc4w-fbfp"
                },
                {
                    "vulnerability": "VCID-nsa4-b31c-37g2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/ruby@1.6.4-6%3Farch=el2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/129236?format=api",
            "purl": "pkg:rpm/redhat/ruby@1.6.8-12?arch=el3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5bte-uex2-f7du"
                },
                {
                    "vulnerability": "VCID-9gp6-pvw1-ufhs"
                },
                {
                    "vulnerability": "VCID-c9sy-czbr-tfer"
                },
                {
                    "vulnerability": "VCID-kfgm-et3n-ckg6"
                },
                {
                    "vulnerability": "VCID-mzqm-gc4w-fbfp"
                },
                {
                    "vulnerability": "VCID-nsa4-b31c-37g2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/ruby@1.6.8-12%3Farch=el3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/129623?format=api",
            "purl": "pkg:rpm/redhat/ruby@1.8.1-7.EL4.8?arch=1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-8e2m-f1fg-ffdy"
                },
                {
                    "vulnerability": "VCID-94vg-kqhg-qfdv"
                },
                {
                    "vulnerability": "VCID-kfgm-et3n-ckg6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/ruby@1.8.1-7.EL4.8%3Farch=1"
        }
    ],
    "references": [
        {
            "reference_url": "http://bugs.gentoo.org/show_bug.cgi?id=157048",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://bugs.gentoo.org/show_bug.cgi?id=157048"
        },
        {
            "reference_url": "http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=218287",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=218287"
        },
        {
            "reference_url": "http://docs.info.apple.com/article.html?artnum=305530",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://docs.info.apple.com/article.html?artnum=305530"
        },
        {
            "reference_url": "http://jvn.jp/jp/JVN%2384798830/index.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://jvn.jp/jp/JVN%2384798830/index.html"
        },
        {
            "reference_url": "http://lists.apple.com/archives/security-announce/2007/May/msg00004.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://lists.apple.com/archives/security-announce/2007/May/msg00004.html"
        },
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2006-6303.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2006-6303.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2006-6303",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.04215",
                    "scoring_system": "epss",
                    "scoring_elements": "0.88769",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.04215",
                    "scoring_system": "epss",
                    "scoring_elements": "0.88702",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.04215",
                    "scoring_system": "epss",
                    "scoring_elements": "0.88711",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.04215",
                    "scoring_system": "epss",
                    "scoring_elements": "0.88726",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.04215",
                    "scoring_system": "epss",
                    "scoring_elements": "0.88728",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.04215",
                    "scoring_system": "epss",
                    "scoring_elements": "0.88746",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.04215",
                    "scoring_system": "epss",
                    "scoring_elements": "0.88751",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.04215",
                    "scoring_system": "epss",
                    "scoring_elements": "0.88763",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.04215",
                    "scoring_system": "epss",
                    "scoring_elements": "0.88758",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.04215",
                    "scoring_system": "epss",
                    "scoring_elements": "0.88771",
                    "published_at": "2026-04-16T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2006-6303"
        },
        {
            "reference_url": "http://secunia.com/advisories/23165",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://secunia.com/advisories/23165"
        },
        {
            "reference_url": "http://secunia.com/advisories/23268",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://secunia.com/advisories/23268"
        },
        {
            "reference_url": "http://secunia.com/advisories/23454",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://secunia.com/advisories/23454"
        },
        {
            "reference_url": "http://secunia.com/advisories/25402",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://secunia.com/advisories/25402"
        },
        {
            "reference_url": "http://secunia.com/advisories/27576",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://secunia.com/advisories/27576"
        },
        {
            "reference_url": "http://secunia.com/advisories/31090",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://secunia.com/advisories/31090"
        },
        {
            "reference_url": "http://security.gentoo.org/glsa/glsa-200612-21.xml",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://security.gentoo.org/glsa/glsa-200612-21.xml"
        },
        {
            "reference_url": "http://securitytracker.com/id?1017363",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://securitytracker.com/id?1017363"
        },
        {
            "reference_url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/30734",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/30734"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2006-6303",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.0",
                    "scoring_system": "cvssv2",
                    "scoring_elements": "AV:N/AC:L/Au:N/C:N/I:N/A:P"
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2006-6303"
        },
        {
            "reference_url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10529",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10529"
        },
        {
            "reference_url": "http://www.mandriva.com/security/advisories?name=MDKSA-2006:225",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.mandriva.com/security/advisories?name=MDKSA-2006:225"
        },
        {
            "reference_url": "http://www.novell.com/linux/security/advisories/2007_4_sr.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.novell.com/linux/security/advisories/2007_4_sr.html"
        },
        {
            "reference_url": "http://www.redhat.com/support/errata/RHSA-2007-0961.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.redhat.com/support/errata/RHSA-2007-0961.html"
        },
        {
            "reference_url": "http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/lib/cgi.rb.diff?f=h&only_with_tag=MAIN&r1=text&tr1=1.92&r2=text&tr2=1.91",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/lib/cgi.rb.diff?f=h&only_with_tag=MAIN&r1=text&tr1=1.92&r2=text&tr2=1.91"
        },
        {
            "reference_url": "http://www.ruby-lang.org/en/news/2006/12/04/another-dos-vulnerability-in-cgi-library/",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.ruby-lang.org/en/news/2006/12/04/another-dos-vulnerability-in-cgi-library/"
        },
        {
            "reference_url": "http://www.securityfocus.com/bid/21441",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.securityfocus.com/bid/21441"
        },
        {
            "reference_url": "http://www.ubuntu.com/usn/usn-394-1",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.ubuntu.com/usn/usn-394-1"
        },
        {
            "reference_url": "http://www.vupen.com/english/advisories/2006/4855",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.vupen.com/english/advisories/2006/4855"
        },
        {
            "reference_url": "http://www.vupen.com/english/advisories/2007/1939",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.vupen.com/english/advisories/2007/1939"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=218287",
            "reference_id": "218287",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=218287"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:yukihiro_matsumoto:ruby:1.8:*:*:*:*:*:*:*",
            "reference_id": "cpe:2.3:a:yukihiro_matsumoto:ruby:1.8:*:*:*:*:*:*:*",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:yukihiro_matsumoto:ruby:1.8:*:*:*:*:*:*:*"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:yukihiro_matsumoto:ruby:1.8.1:*:*:*:*:*:*:*",
            "reference_id": "cpe:2.3:a:yukihiro_matsumoto:ruby:1.8.1:*:*:*:*:*:*:*",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:yukihiro_matsumoto:ruby:1.8.1:*:*:*:*:*:*:*"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:yukihiro_matsumoto:ruby:1.8.2:*:*:*:*:*:*:*",
            "reference_id": "cpe:2.3:a:yukihiro_matsumoto:ruby:1.8.2:*:*:*:*:*:*:*",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:yukihiro_matsumoto:ruby:1.8.2:*:*:*:*:*:*:*"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:yukihiro_matsumoto:ruby:1.8.2_pre1:*:*:*:*:*:*:*",
            "reference_id": "cpe:2.3:a:yukihiro_matsumoto:ruby:1.8.2_pre1:*:*:*:*:*:*:*",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:yukihiro_matsumoto:ruby:1.8.2_pre1:*:*:*:*:*:*:*"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:yukihiro_matsumoto:ruby:1.8.2_pre2:*:*:*:*:*:*:*",
            "reference_id": "cpe:2.3:a:yukihiro_matsumoto:ruby:1.8.2_pre2:*:*:*:*:*:*:*",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:yukihiro_matsumoto:ruby:1.8.2_pre2:*:*:*:*:*:*:*"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:yukihiro_matsumoto:ruby:1.8.3:*:*:*:*:*:*:*",
            "reference_id": "cpe:2.3:a:yukihiro_matsumoto:ruby:1.8.3:*:*:*:*:*:*:*",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:yukihiro_matsumoto:ruby:1.8.3:*:*:*:*:*:*:*"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:yukihiro_matsumoto:ruby:1.8.4:*:*:*:*:*:*:*",
            "reference_id": "cpe:2.3:a:yukihiro_matsumoto:ruby:1.8.4:*:*:*:*:*:*:*",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:yukihiro_matsumoto:ruby:1.8.4:*:*:*:*:*:*:*"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:yukihiro_matsumoto:ruby:1.8.5:*:*:*:*:*:*:*",
            "reference_id": "cpe:2.3:a:yukihiro_matsumoto:ruby:1.8.5:*:*:*:*:*:*:*",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:yukihiro_matsumoto:ruby:1.8.5:*:*:*:*:*:*:*"
        },
        {
            "reference_url": "https://security.gentoo.org/glsa/200612-21",
            "reference_id": "GLSA-200612-21",
            "reference_type": "",
            "scores": [],
            "url": "https://security.gentoo.org/glsa/200612-21"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2007:0961",
            "reference_id": "RHSA-2007:0961",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2007:0961"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2008:0562",
            "reference_id": "RHSA-2008:0562",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2008:0562"
        },
        {
            "reference_url": "https://usn.ubuntu.com/394-1/",
            "reference_id": "USN-394-1",
            "reference_type": "",
            "scores": [],
            "url": "https://usn.ubuntu.com/394-1/"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 835,
            "name": "Loop with Unreachable Exit Condition ('Infinite Loop')",
            "description": "The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop."
        },
        {
            "cwe_id": 399,
            "name": "Resource Management Errors",
            "description": "Weaknesses in this category are related to improper management of system resources."
        }
    ],
    "exploits": [],
    "severity_range_score": "5.0 - 5.0",
    "exploitability": "0.5",
    "weighted_severity": "4.5",
    "risk_score": 2.2,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-kfgm-et3n-ckg6"
}