Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37598?format=api",
    "vulnerability_id": "VCID-z94j-z575-4ydx",
    "summary": "Incomplete fix to CVE-2013-0155 (Unsafe Query Generation Risk)\nDue to the way that `Rack::Request` and `Rails::Request` interact, it is possible for a 3rd party or custom rack middleware to parse the parameters insecurely and store them in the same key that Rails uses for its own parameters. In the event that happens the application will receive unsafe parameters and could be vulnerable to the earlier vulnerability: it would be possible for an attacker to issue unexpected database queries with `IS NULL` or empty where clauses.",
    "aliases": [
        {
            "alias": "CVE-2013-6417"
        },
        {
            "alias": "GHSA-wpw7-wxjm-cw8r"
        },
        {
            "alias": "OSV-100527"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/126459?format=api",
            "purl": "pkg:deb/debian/rails@0?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/rails@0%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/126448?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-4wah-r1ge-8kbp"
                },
                {
                    "vulnerability": "VCID-5qrc-rq8r-r7cd"
                },
                {
                    "vulnerability": "VCID-7s2b-9sgy-4qb4"
                },
                {
                    "vulnerability": "VCID-j5z3-q9kw-r7er"
                },
                {
                    "vulnerability": "VCID-mz5z-rp6w-hqf3"
                },
                {
                    "vulnerability": "VCID-upyj-312m-cyhg"
                },
                {
                    "vulnerability": "VCID-v7vv-68mh-4fhb"
                },
                {
                    "vulnerability": "VCID-vaev-1h3t-7udp"
                },
                {
                    "vulnerability": "VCID-y8nc-5c1w-c3ed"
                }
            ],
            "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/126446?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-4wah-r1ge-8kbp"
                },
                {
                    "vulnerability": "VCID-5qrc-rq8r-r7cd"
                },
                {
                    "vulnerability": "VCID-7s2b-9sgy-4qb4"
                },
                {
                    "vulnerability": "VCID-j5z3-q9kw-r7er"
                },
                {
                    "vulnerability": "VCID-mz5z-rp6w-hqf3"
                },
                {
                    "vulnerability": "VCID-upyj-312m-cyhg"
                },
                {
                    "vulnerability": "VCID-v7vv-68mh-4fhb"
                },
                {
                    "vulnerability": "VCID-vaev-1h3t-7udp"
                },
                {
                    "vulnerability": "VCID-y8nc-5c1w-c3ed"
                }
            ],
            "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/126450?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-4wah-r1ge-8kbp"
                },
                {
                    "vulnerability": "VCID-5qrc-rq8r-r7cd"
                },
                {
                    "vulnerability": "VCID-7s2b-9sgy-4qb4"
                },
                {
                    "vulnerability": "VCID-j5z3-q9kw-r7er"
                },
                {
                    "vulnerability": "VCID-mz5z-rp6w-hqf3"
                },
                {
                    "vulnerability": "VCID-upyj-312m-cyhg"
                },
                {
                    "vulnerability": "VCID-v7vv-68mh-4fhb"
                },
                {
                    "vulnerability": "VCID-vaev-1h3t-7udp"
                },
                {
                    "vulnerability": "VCID-y8nc-5c1w-c3ed"
                }
            ],
            "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/126449?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/51660?format=api",
            "purl": "pkg:gem/actionpack@3.2.16",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/actionpack@3.2.16"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51661?format=api",
            "purl": "pkg:gem/actionpack@4.0.2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/actionpack@4.0.2"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/75471?format=api",
            "purl": "pkg:gem/actionpack@3.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2p4p-apst-v3cq"
                },
                {
                    "vulnerability": "VCID-464e-wb3p-j3dn"
                },
                {
                    "vulnerability": "VCID-5swj-xwsw-rkac"
                },
                {
                    "vulnerability": "VCID-gadc-jens-nuga"
                },
                {
                    "vulnerability": "VCID-ghj9-vyyr-tub8"
                },
                {
                    "vulnerability": "VCID-vex8-56fk-gqdf"
                },
                {
                    "vulnerability": "VCID-xee7-ge26-yfdc"
                },
                {
                    "vulnerability": "VCID-xvsy-e7fv-1ufe"
                },
                {
                    "vulnerability": "VCID-z94j-z575-4ydx"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/actionpack@3.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51658?format=api",
            "purl": "pkg:gem/actionpack@2.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-chxq-j9us-cygh"
                },
                {
                    "vulnerability": "VCID-cuqq-33dv-xqfh"
                },
                {
                    "vulnerability": "VCID-hdu6-u2pb-aqhp"
                },
                {
                    "vulnerability": "VCID-vp3u-cexw-57a4"
                },
                {
                    "vulnerability": "VCID-z94j-z575-4ydx"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/actionpack@2.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51659?format=api",
            "purl": "pkg:gem/actionpack@4.0.0.beta1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-464e-wb3p-j3dn"
                },
                {
                    "vulnerability": "VCID-z94j-z575-4ydx"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/actionpack@4.0.0.beta1"
        }
    ],
    "references": [
        {
            "reference_url": "http://lists.opensuse.org/opensuse-updates/2013-12/msg00079.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "http://lists.opensuse.org/opensuse-updates/2013-12/msg00079.html"
        },
        {
            "reference_url": "http://lists.opensuse.org/opensuse-updates/2013-12/msg00081.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "http://lists.opensuse.org/opensuse-updates/2013-12/msg00081.html"
        },
        {
            "reference_url": "http://lists.opensuse.org/opensuse-updates/2013-12/msg00082.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "http://lists.opensuse.org/opensuse-updates/2013-12/msg00082.html"
        },
        {
            "reference_url": "http://lists.opensuse.org/opensuse-updates/2014-01/msg00003.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "http://lists.opensuse.org/opensuse-updates/2014-01/msg00003.html"
        },
        {
            "reference_url": "http://rhn.redhat.com/errata/RHSA-2013-1794.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "http://rhn.redhat.com/errata/RHSA-2013-1794.html"
        },
        {
            "reference_url": "http://rhn.redhat.com/errata/RHSA-2014-0008.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "http://rhn.redhat.com/errata/RHSA-2014-0008.html"
        },
        {
            "reference_url": "http://rhn.redhat.com/errata/RHSA-2014-0469.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "http://rhn.redhat.com/errata/RHSA-2014-0469.html"
        },
        {
            "reference_url": "http://seclists.org/oss-sec/2013/q4/403",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://seclists.org/oss-sec/2013/q4/403"
        },
        {
            "reference_url": "https://github.com/rails/rails",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/rails/rails"
        },
        {
            "reference_url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2013-6417.yml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2013-6417.yml"
        },
        {
            "reference_url": "https://groups.google.com/forum/message/raw?msg=ruby-security-ann/niK4drpSHT4/g8JW8ZsayRkJ",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://groups.google.com/forum/message/raw?msg=ruby-security-ann/niK4drpSHT4/g8JW8ZsayRkJ"
        },
        {
            "reference_url": "https://groups.google.com/forum/#!topic/ruby-security-ann/niK4drpSHT4",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://groups.google.com/forum/#!topic/ruby-security-ann/niK4drpSHT4"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2013-6417",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2013-6417"
        },
        {
            "reference_url": "https://puppet.com/security/cve/cve-2013-6417",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://puppet.com/security/cve/cve-2013-6417"
        },
        {
            "reference_url": "https://web.archive.org/web/20160806051251/https://puppet.com/security/cve/cve-2013-6417",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://web.archive.org/web/20160806051251/https://puppet.com/security/cve/cve-2013-6417"
        },
        {
            "reference_url": "http://weblog.rubyonrails.org/2013/12/3/Rails_3_2_16_and_4_0_2_have_been_released",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "http://weblog.rubyonrails.org/2013/12/3/Rails_3_2_16_and_4_0_2_have_been_released"
        },
        {
            "reference_url": "http://www.debian.org/security/2014/dsa-2888",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "http://www.debian.org/security/2014/dsa-2888"
        }
    ],
    "weaknesses": [
        {
            "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": 264,
            "name": "Permissions, Privileges, and Access Controls",
            "description": "Weaknesses in this category are related to the management of permissions, privileges, and other security features that are used to perform access control."
        },
        {
            "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."
        },
        {
            "cwe_id": 284,
            "name": "Improper Access Control",
            "description": "The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor."
        }
    ],
    "exploits": [],
    "severity_range_score": "4.0 - 6.9",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-z94j-z575-4ydx"
}