Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/44179?format=api",
    "vulnerability_id": "VCID-redv-2x5y-8khx",
    "summary": "Cross-Site Request Forgery (CSRF)\norg/apache/catalina/filters/CsrfPreventionFilter.java in Apache Tomcat 6.x before 6.0.36 and 7.x before 7.0.32 allows remote attackers to bypass the cross-site request forgery (CSRF) protection mechanism via a request that lacks a session identifier.",
    "aliases": [
        {
            "alias": "CVE-2012-4431"
        },
        {
            "alias": "GHSA-76vr-72mv-mf3q"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/63549?format=api",
            "purl": "pkg:maven/org.apache.tomcat/tomcat@6.0.36",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.tomcat/tomcat@6.0.36"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/63550?format=api",
            "purl": "pkg:maven/org.apache.tomcat/tomcat@7.0.32",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.tomcat/tomcat@7.0.32"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/61688?format=api",
            "purl": "pkg:maven/org.apache.tomcat/tomcat@6.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2kjh-4r2g-rqe6"
                },
                {
                    "vulnerability": "VCID-46sr-9kr3-1ubw"
                },
                {
                    "vulnerability": "VCID-4t2h-jjhm-y7fq"
                },
                {
                    "vulnerability": "VCID-5m85-3zyu-7qak"
                },
                {
                    "vulnerability": "VCID-6uuq-2a39-yubx"
                },
                {
                    "vulnerability": "VCID-74c7-a56p-kufz"
                },
                {
                    "vulnerability": "VCID-7787-4bwm-efgq"
                },
                {
                    "vulnerability": "VCID-89e9-m968-vfhe"
                },
                {
                    "vulnerability": "VCID-9hm5-e4dw-6ffe"
                },
                {
                    "vulnerability": "VCID-9j31-459b-4qbm"
                },
                {
                    "vulnerability": "VCID-aar2-398x-p3d8"
                },
                {
                    "vulnerability": "VCID-atus-ryef-17h1"
                },
                {
                    "vulnerability": "VCID-axzz-cadr-b7fv"
                },
                {
                    "vulnerability": "VCID-crhe-rt8j-wycu"
                },
                {
                    "vulnerability": "VCID-eawm-8v9w-yfap"
                },
                {
                    "vulnerability": "VCID-eygg-nt7y-qubh"
                },
                {
                    "vulnerability": "VCID-f4ka-47dk-zffs"
                },
                {
                    "vulnerability": "VCID-fu9h-e3jx-abe2"
                },
                {
                    "vulnerability": "VCID-fuxz-fqw3-ufa9"
                },
                {
                    "vulnerability": "VCID-hmqa-jhuf-hfe2"
                },
                {
                    "vulnerability": "VCID-hqzu-shyu-j3hp"
                },
                {
                    "vulnerability": "VCID-jw6e-g8z9-43ej"
                },
                {
                    "vulnerability": "VCID-kxc3-vz2c-wqca"
                },
                {
                    "vulnerability": "VCID-n4zk-mdyw-3fcz"
                },
                {
                    "vulnerability": "VCID-pq53-6deg-abfx"
                },
                {
                    "vulnerability": "VCID-pzkk-4e94-aqag"
                },
                {
                    "vulnerability": "VCID-qz87-x4zb-rud7"
                },
                {
                    "vulnerability": "VCID-qzyq-d6qk-67ag"
                },
                {
                    "vulnerability": "VCID-rdr4-db3y-p3cz"
                },
                {
                    "vulnerability": "VCID-redv-2x5y-8khx"
                },
                {
                    "vulnerability": "VCID-s37s-p75k-27e6"
                },
                {
                    "vulnerability": "VCID-t3ya-1w1r-h3dv"
                },
                {
                    "vulnerability": "VCID-t4mh-zvhq-27du"
                },
                {
                    "vulnerability": "VCID-tcmv-6ftg-fqen"
                },
                {
                    "vulnerability": "VCID-vsta-e8jg-4qa8"
                },
                {
                    "vulnerability": "VCID-w8uj-zy2r-fyca"
                },
                {
                    "vulnerability": "VCID-wg7f-pjmn-uudk"
                },
                {
                    "vulnerability": "VCID-wtke-y2cx-x3et"
                },
                {
                    "vulnerability": "VCID-y9yv-u4jh-mqew"
                },
                {
                    "vulnerability": "VCID-yswq-hnqg-sycs"
                },
                {
                    "vulnerability": "VCID-yvcg-96dp-r7e6"
                },
                {
                    "vulnerability": "VCID-zm75-zwps-h3fv"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.tomcat/tomcat@6.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/55088?format=api",
            "purl": "pkg:maven/org.apache.tomcat/tomcat@7.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1a1b-3pdg-jbfq"
                },
                {
                    "vulnerability": "VCID-2kjh-4r2g-rqe6"
                },
                {
                    "vulnerability": "VCID-3txt-1psa-5kf5"
                },
                {
                    "vulnerability": "VCID-46sr-9kr3-1ubw"
                },
                {
                    "vulnerability": "VCID-4qcn-52ug-mbd5"
                },
                {
                    "vulnerability": "VCID-4t2h-jjhm-y7fq"
                },
                {
                    "vulnerability": "VCID-59dd-qzpt-aucm"
                },
                {
                    "vulnerability": "VCID-5m85-3zyu-7qak"
                },
                {
                    "vulnerability": "VCID-5udv-rheh-kqfy"
                },
                {
                    "vulnerability": "VCID-6umz-z8db-kqcy"
                },
                {
                    "vulnerability": "VCID-6uuq-2a39-yubx"
                },
                {
                    "vulnerability": "VCID-74c7-a56p-kufz"
                },
                {
                    "vulnerability": "VCID-89e9-m968-vfhe"
                },
                {
                    "vulnerability": "VCID-937w-2w2q-7fdy"
                },
                {
                    "vulnerability": "VCID-9hm5-e4dw-6ffe"
                },
                {
                    "vulnerability": "VCID-aar2-398x-p3d8"
                },
                {
                    "vulnerability": "VCID-atus-ryef-17h1"
                },
                {
                    "vulnerability": "VCID-axzz-cadr-b7fv"
                },
                {
                    "vulnerability": "VCID-dk58-p9py-rka9"
                },
                {
                    "vulnerability": "VCID-e2gy-1c6a-6fdf"
                },
                {
                    "vulnerability": "VCID-e72e-axdj-7qfw"
                },
                {
                    "vulnerability": "VCID-f4ka-47dk-zffs"
                },
                {
                    "vulnerability": "VCID-fu9h-e3jx-abe2"
                },
                {
                    "vulnerability": "VCID-g3vd-74yh-s7bn"
                },
                {
                    "vulnerability": "VCID-gmjm-6ck2-skgu"
                },
                {
                    "vulnerability": "VCID-hqzu-shyu-j3hp"
                },
                {
                    "vulnerability": "VCID-j1m6-79yt-f7h5"
                },
                {
                    "vulnerability": "VCID-jw6e-g8z9-43ej"
                },
                {
                    "vulnerability": "VCID-jzta-navk-87bn"
                },
                {
                    "vulnerability": "VCID-nnye-4xbb-kuf5"
                },
                {
                    "vulnerability": "VCID-nxb3-55eu-auhp"
                },
                {
                    "vulnerability": "VCID-pq53-6deg-abfx"
                },
                {
                    "vulnerability": "VCID-qhqg-ekuv-z7fc"
                },
                {
                    "vulnerability": "VCID-redv-2x5y-8khx"
                },
                {
                    "vulnerability": "VCID-s37s-p75k-27e6"
                },
                {
                    "vulnerability": "VCID-se44-f85s-xyex"
                },
                {
                    "vulnerability": "VCID-sk1w-8yt4-93cv"
                },
                {
                    "vulnerability": "VCID-tcmv-6ftg-fqen"
                },
                {
                    "vulnerability": "VCID-vsta-e8jg-4qa8"
                },
                {
                    "vulnerability": "VCID-wtke-y2cx-x3et"
                },
                {
                    "vulnerability": "VCID-xjj5-fy4e-e7ha"
                },
                {
                    "vulnerability": "VCID-y9hs-ymcm-3ucx"
                },
                {
                    "vulnerability": "VCID-yusx-ncpv-sfhg"
                },
                {
                    "vulnerability": "VCID-yvcg-96dp-r7e6"
                },
                {
                    "vulnerability": "VCID-zm75-zwps-h3fv"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.tomcat/tomcat@7.0.0"
        }
    ],
    "references": [
        {
            "reference_url": "http://lists.opensuse.org/opensuse-updates/2012-12/msg00089.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://lists.opensuse.org/opensuse-updates/2012-12/msg00089.html"
        },
        {
            "reference_url": "http://lists.opensuse.org/opensuse-updates/2012-12/msg00090.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://lists.opensuse.org/opensuse-updates/2012-12/msg00090.html"
        },
        {
            "reference_url": "http://lists.opensuse.org/opensuse-updates/2013-01/msg00037.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://lists.opensuse.org/opensuse-updates/2013-01/msg00037.html"
        },
        {
            "reference_url": "http://lists.opensuse.org/opensuse-updates/2013-01/msg00051.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://lists.opensuse.org/opensuse-updates/2013-01/msg00051.html"
        },
        {
            "reference_url": "http://lists.opensuse.org/opensuse-updates/2013-01/msg00080.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://lists.opensuse.org/opensuse-updates/2013-01/msg00080.html"
        },
        {
            "reference_url": "http://marc.info/?l=bugtraq&m=136612293908376&w=2",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://marc.info/?l=bugtraq&m=136612293908376&w=2"
        },
        {
            "reference_url": "http://marc.info/?l=bugtraq&m=139344343412337&w=2",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://marc.info/?l=bugtraq&m=139344343412337&w=2"
        },
        {
            "reference_url": "http://rhn.redhat.com/errata/RHSA-2013-0267.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://rhn.redhat.com/errata/RHSA-2013-0267.html"
        },
        {
            "reference_url": "http://rhn.redhat.com/errata/RHSA-2013-0268.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://rhn.redhat.com/errata/RHSA-2013-0268.html"
        },
        {
            "reference_url": "http://rhn.redhat.com/errata/RHSA-2013-0647.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://rhn.redhat.com/errata/RHSA-2013-0647.html"
        },
        {
            "reference_url": "http://rhn.redhat.com/errata/RHSA-2013-0648.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://rhn.redhat.com/errata/RHSA-2013-0648.html"
        },
        {
            "reference_url": "http://rhn.redhat.com/errata/RHSA-2013-1853.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://rhn.redhat.com/errata/RHSA-2013-1853.html"
        },
        {
            "reference_url": "https://h20566.www2.hp.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c03748878",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://h20566.www2.hp.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c03748878"
        },
        {
            "reference_url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A18541",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A18541"
        },
        {
            "reference_url": "http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/filters/CsrfPreventionFilter.java?r1=1393088&r2=1393087&pathrev=1393088",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/filters/CsrfPreventionFilter.java?r1=1393088&r2=1393087&pathrev=1393088"
        },
        {
            "reference_url": "http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml?r1=1393088&r2=1393087&pathrev=1393088",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml?r1=1393088&r2=1393087&pathrev=1393088"
        },
        {
            "reference_url": "http://svn.apache.org/viewvc?view=revision&revision=1393088",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://svn.apache.org/viewvc?view=revision&revision=1393088"
        },
        {
            "reference_url": "http://tomcat.apache.org/security-6.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://tomcat.apache.org/security-6.html"
        },
        {
            "reference_url": "http://tomcat.apache.org/security-7.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://tomcat.apache.org/security-7.html"
        },
        {
            "reference_url": "http://www.ubuntu.com/usn/USN-1685-1",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.ubuntu.com/usn/USN-1685-1"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2012-4431",
            "reference_id": "CVE-2012-4431",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2012-4431"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-76vr-72mv-mf3q",
            "reference_id": "GHSA-76vr-72mv-mf3q",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-76vr-72mv-mf3q"
        }
    ],
    "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": 352,
            "name": "Cross-Site Request Forgery (CSRF)",
            "description": "The web application does not, or can not, sufficiently verify whether a well-formed, valid, consistent request was intentionally provided by the user who submitted the request."
        },
        {
            "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": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-redv-2x5y-8khx"
}