Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/41151?format=api",
    "vulnerability_id": "VCID-usyz-95tu-hyca",
    "summary": "Remote code execution via user-provided local names in ActionView\nThe is a code injection vulnerability in versions of Rails prior to 5.0.1 that would allow an attacker who controlled the `locals` argument of a `render` call to perform a RCE.",
    "aliases": [
        {
            "alias": "CVE-2020-8163"
        },
        {
            "alias": "GHSA-cr3x-7m39-c6jq"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/359853?format=api",
            "purl": "pkg:deb/debian/rails@2:5.2.0%2Bdfsg-2?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/rails@2:5.2.0%252Bdfsg-2%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/359826?format=api",
            "purl": "pkg:deb/debian/rails@2:6.0.3.7%2Bdfsg-2%2Bdeb11u2?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2ghz-4sfg-2feh"
                },
                {
                    "vulnerability": "VCID-5bzk-rhe1-fqdc"
                },
                {
                    "vulnerability": "VCID-7zz5-k99f-v3f6"
                },
                {
                    "vulnerability": "VCID-f48b-ashx-53bg"
                },
                {
                    "vulnerability": "VCID-gbvf-y28h-kqax"
                },
                {
                    "vulnerability": "VCID-hdsb-jx4g-fqf6"
                },
                {
                    "vulnerability": "VCID-nwk7-sujd-nkc1"
                },
                {
                    "vulnerability": "VCID-urpb-uk1z-vqga"
                },
                {
                    "vulnerability": "VCID-v3mu-95kt-ufc6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/rails@2:6.0.3.7%252Bdfsg-2%252Bdeb11u2%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/359824?format=api",
            "purl": "pkg:deb/debian/rails@2:6.1.7.10%2Bdfsg-1~deb12u2?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2ghz-4sfg-2feh"
                },
                {
                    "vulnerability": "VCID-5bzk-rhe1-fqdc"
                },
                {
                    "vulnerability": "VCID-7zz5-k99f-v3f6"
                },
                {
                    "vulnerability": "VCID-f48b-ashx-53bg"
                },
                {
                    "vulnerability": "VCID-gbvf-y28h-kqax"
                },
                {
                    "vulnerability": "VCID-hdsb-jx4g-fqf6"
                },
                {
                    "vulnerability": "VCID-nwk7-sujd-nkc1"
                },
                {
                    "vulnerability": "VCID-urpb-uk1z-vqga"
                },
                {
                    "vulnerability": "VCID-v3mu-95kt-ufc6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/rails@2:6.1.7.10%252Bdfsg-1~deb12u2%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/359828?format=api",
            "purl": "pkg:deb/debian/rails@2:7.2.2.2%2Bdfsg-2~deb13u1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2ghz-4sfg-2feh"
                },
                {
                    "vulnerability": "VCID-5bzk-rhe1-fqdc"
                },
                {
                    "vulnerability": "VCID-7zz5-k99f-v3f6"
                },
                {
                    "vulnerability": "VCID-f48b-ashx-53bg"
                },
                {
                    "vulnerability": "VCID-gbvf-y28h-kqax"
                },
                {
                    "vulnerability": "VCID-hdsb-jx4g-fqf6"
                },
                {
                    "vulnerability": "VCID-nwk7-sujd-nkc1"
                },
                {
                    "vulnerability": "VCID-urpb-uk1z-vqga"
                },
                {
                    "vulnerability": "VCID-v3mu-95kt-ufc6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/rails@2:7.2.2.2%252Bdfsg-2~deb13u1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/359827?format=api",
            "purl": "pkg:deb/debian/rails@2:7.2.3.1%2Bdfsg-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/rails@2:7.2.3.1%252Bdfsg-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/74771?format=api",
            "purl": "pkg:gem/actionview@4.2.11.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-f48b-ashx-53bg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/actionview@4.2.11.3"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/83323?format=api",
            "purl": "pkg:gem/actionview@4.2.11.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-f48b-ashx-53bg"
                },
                {
                    "vulnerability": "VCID-usyz-95tu-hyca"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/actionview@4.2.11.1"
        }
    ],
    "references": [
        {
            "reference_url": "http://packetstormsecurity.com/files/158604/Ruby-On-Rails-5.0.1-Remote-Code-Execution.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "http://packetstormsecurity.com/files/158604/Ruby-On-Rails-5.0.1-Remote-Code-Execution.html"
        },
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-8163.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.8",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-8163.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-8163",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.91071",
                    "scoring_system": "epss",
                    "scoring_elements": "0.99657",
                    "published_at": "2026-05-29T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-8163"
        },
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-8163",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-8163"
        },
        {
            "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                }
            ],
            "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
        },
        {
            "reference_url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionview/CVE-2020-8163.yml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionview/CVE-2020-8163.yml"
        },
        {
            "reference_url": "https://groups.google.com/forum/#!topic/rubyonrails-security/hWuKcHyoKh0",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.8",
                    "scoring_system": "cvssv3",
                    "scoring_elements": ""
                },
                {
                    "value": "8.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://groups.google.com/forum/#!topic/rubyonrails-security/hWuKcHyoKh0"
        },
        {
            "reference_url": "https://groups.google.com/g/rubyonrails-security/c/hWuKcHyoKh0",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://groups.google.com/g/rubyonrails-security/c/hWuKcHyoKh0"
        },
        {
            "reference_url": "https://hackerone.com/reports/304805",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://hackerone.com/reports/304805"
        },
        {
            "reference_url": "https://lists.debian.org/debian-lts-announce/2020/07/msg00013.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://lists.debian.org/debian-lts-announce/2020/07/msg00013.html"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-8163",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-8163"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1848724",
            "reference_id": "1848724",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1848724"
        },
        {
            "reference_url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/ruby/webapps/48716.rb",
            "reference_id": "CVE-2020-8163",
            "reference_type": "exploit",
            "scores": [],
            "url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/ruby/webapps/48716.rb"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-cr3x-7m39-c6jq",
            "reference_id": "GHSA-cr3x-7m39-c6jq",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-cr3x-7m39-c6jq"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 94,
            "name": "Improper Control of Generation of Code ('Code Injection')",
            "description": "The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment."
        }
    ],
    "exploits": [
        {
            "date_added": "2020-07-26",
            "description": "Rails 5.0.1 - Remote Code Execution",
            "required_action": null,
            "due_date": null,
            "notes": null,
            "known_ransomware_campaign_use": false,
            "source_date_published": "2020-07-26",
            "exploit_type": "webapps",
            "platform": "ruby",
            "source_date_updated": "2020-07-26",
            "data_source": "Exploit-DB",
            "source_url": ""
        }
    ],
    "severity_range_score": "7.0 - 8.9",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-usyz-95tu-hyca"
}