Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/86331?format=api",
    "vulnerability_id": "VCID-3uaa-r5vu-2fg9",
    "summary": "ruby: DoS via long string in str_buf_cat()",
    "aliases": [
        {
            "alias": "CVE-2014-3916"
        },
        {
            "alias": "GHSA-252h-69rw-g2rp"
        },
        {
            "alias": "OSV-107478"
        }
    ],
    "fixed_packages": [],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/130658?format=api",
            "purl": "pkg:ruby/ruby@2.0.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1bdw-9rs5-6ycg"
                },
                {
                    "vulnerability": "VCID-3uaa-r5vu-2fg9"
                },
                {
                    "vulnerability": "VCID-cvs2-zecm-z3h8"
                },
                {
                    "vulnerability": "VCID-g7ju-q41v-wyhd"
                },
                {
                    "vulnerability": "VCID-k6dd-ykw2-nfh6"
                },
                {
                    "vulnerability": "VCID-pkg9-61ah-kbex"
                },
                {
                    "vulnerability": "VCID-wzdf-d9fv-u3hh"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ruby/ruby@2.0.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/130659?format=api",
            "purl": "pkg:ruby/ruby@2.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1bdw-9rs5-6ycg"
                },
                {
                    "vulnerability": "VCID-3uaa-r5vu-2fg9"
                },
                {
                    "vulnerability": "VCID-cvs2-zecm-z3h8"
                },
                {
                    "vulnerability": "VCID-k6dd-ykw2-nfh6"
                },
                {
                    "vulnerability": "VCID-rwak-wvuw-qbcg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ruby/ruby@2.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/130666?format=api",
            "purl": "pkg:ruby/ruby@2.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1cad-uybu-2uau"
                },
                {
                    "vulnerability": "VCID-3uaa-r5vu-2fg9"
                },
                {
                    "vulnerability": "VCID-91b7-xx8t-rqhr"
                },
                {
                    "vulnerability": "VCID-bad1-7aa4-cugv"
                },
                {
                    "vulnerability": "VCID-beub-d11r-nbe4"
                },
                {
                    "vulnerability": "VCID-cvs2-zecm-z3h8"
                },
                {
                    "vulnerability": "VCID-fapg-pt6b-rfb2"
                },
                {
                    "vulnerability": "VCID-qyz5-zmnt-qucy"
                },
                {
                    "vulnerability": "VCID-rdme-1q3s-43d8"
                },
                {
                    "vulnerability": "VCID-rwak-wvuw-qbcg"
                },
                {
                    "vulnerability": "VCID-xkd6-jvma-skfk"
                },
                {
                    "vulnerability": "VCID-y29u-wpkt-rkgp"
                },
                {
                    "vulnerability": "VCID-zwxw-299r-wfgx"
                },
                {
                    "vulnerability": "VCID-zybm-uuxu-67gh"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ruby/ruby@2.3"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2014-3916.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2014-3916.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2014-3916",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.0049",
                    "scoring_system": "epss",
                    "scoring_elements": "0.65692",
                    "published_at": "2026-05-12T12:55:00Z"
                },
                {
                    "value": "0.0049",
                    "scoring_system": "epss",
                    "scoring_elements": "0.65491",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.0049",
                    "scoring_system": "epss",
                    "scoring_elements": "0.6554",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.0049",
                    "scoring_system": "epss",
                    "scoring_elements": "0.6557",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.0049",
                    "scoring_system": "epss",
                    "scoring_elements": "0.65536",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.0049",
                    "scoring_system": "epss",
                    "scoring_elements": "0.65588",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.0049",
                    "scoring_system": "epss",
                    "scoring_elements": "0.656",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.0049",
                    "scoring_system": "epss",
                    "scoring_elements": "0.65619",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.0049",
                    "scoring_system": "epss",
                    "scoring_elements": "0.65605",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.0049",
                    "scoring_system": "epss",
                    "scoring_elements": "0.65577",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.0049",
                    "scoring_system": "epss",
                    "scoring_elements": "0.65612",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.0049",
                    "scoring_system": "epss",
                    "scoring_elements": "0.65625",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.0049",
                    "scoring_system": "epss",
                    "scoring_elements": "0.65608",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.0049",
                    "scoring_system": "epss",
                    "scoring_elements": "0.65623",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.0049",
                    "scoring_system": "epss",
                    "scoring_elements": "0.65635",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.0049",
                    "scoring_system": "epss",
                    "scoring_elements": "0.65634",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.0049",
                    "scoring_system": "epss",
                    "scoring_elements": "0.65611",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.0049",
                    "scoring_system": "epss",
                    "scoring_elements": "0.65659",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.0049",
                    "scoring_system": "epss",
                    "scoring_elements": "0.65703",
                    "published_at": "2026-05-09T12:55:00Z"
                },
                {
                    "value": "0.0049",
                    "scoring_system": "epss",
                    "scoring_elements": "0.65673",
                    "published_at": "2026-05-11T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2014-3916"
        },
        {
            "reference_url": "https://bugs.ruby-lang.org/issues/9709",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://bugs.ruby-lang.org/issues/9709"
        },
        {
            "reference_url": "http://seclists.org/oss-sec/2014/q2/362",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://seclists.org/oss-sec/2014/q2/362"
        },
        {
            "reference_url": "http://seclists.org/oss-sec/2014/q2/375",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://seclists.org/oss-sec/2014/q2/375"
        },
        {
            "reference_url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/93505",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/93505"
        },
        {
            "reference_url": "https://vulners.com/rubygems/RUBY:RUBY-2014-3916-107478",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://vulners.com/rubygems/RUBY:RUBY-2014-3916-107478"
        },
        {
            "reference_url": "http://www.securityfocus.com/bid/67705",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.securityfocus.com/bid/67705"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1164844",
            "reference_id": "1164844",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1164844"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:rubyonrails:rails:1.9.3:*:*:*:*:*:*:*",
            "reference_id": "cpe:2.3:a:rubyonrails:rails:1.9.3:*:*:*:*:*:*:*",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:rubyonrails:rails:1.9.3:*:*:*:*:*:*:*"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:rubyonrails:rails:2.0.0:*:*:*:*:*:*:*",
            "reference_id": "cpe:2.3:a:rubyonrails:rails:2.0.0:*:*:*:*:*:*:*",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:rubyonrails:rails:2.0.0:*:*:*:*:*:*:*"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:rubyonrails:rails:2.1.0:*:*:*:*:*:*:*",
            "reference_id": "cpe:2.3:a:rubyonrails:rails:2.1.0:*:*:*:*:*:*:*",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:rubyonrails:rails:2.1.0:*:*:*:*:*:*:*"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2014-3916",
            "reference_id": "CVE-2014-3916",
            "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-2014-3916"
        }
    ],
    "weaknesses": [
        {
            "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."
        },
        {
            "cwe_id": 19,
            "name": "Data Processing Errors",
            "description": "Weaknesses in this category are typically found in functionality that processes data. Data processing is the manipulation of input to retrieve or save information."
        }
    ],
    "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-3uaa-r5vu-2fg9"
}