Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35440?format=api",
    "vulnerability_id": "VCID-k57g-qscb-yyex",
    "summary": "trytond 2.4: ModelView.button fails to validate authorization",
    "aliases": [
        {
            "alias": "CVE-2012-2238"
        },
        {
            "alias": "GHSA-jfgc-5vh4-8rh5"
        },
        {
            "alias": "PYSEC-2019-211"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/9275?format=api",
            "purl": "pkg:pypi/trytond@2.4.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-d2ex-b38e-bbg2"
                },
                {
                    "vulnerability": "VCID-dn5v-2sp3-5uez"
                },
                {
                    "vulnerability": "VCID-kf2v-9dsr-6fhg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/trytond@2.4.2"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/9273?format=api",
            "purl": "pkg:pypi/trytond@2.4.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-d2ex-b38e-bbg2"
                },
                {
                    "vulnerability": "VCID-dn5v-2sp3-5uez"
                },
                {
                    "vulnerability": "VCID-k57g-qscb-yyex"
                },
                {
                    "vulnerability": "VCID-kf2v-9dsr-6fhg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/trytond@2.4.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/9274?format=api",
            "purl": "pkg:pypi/trytond@2.4.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-d2ex-b38e-bbg2"
                },
                {
                    "vulnerability": "VCID-dn5v-2sp3-5uez"
                },
                {
                    "vulnerability": "VCID-k57g-qscb-yyex"
                },
                {
                    "vulnerability": "VCID-kf2v-9dsr-6fhg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/trytond@2.4.1"
        }
    ],
    "references": [
        {
            "reference_url": "http://hg.tryton.org/2.4/trytond/rev/279f0031b461",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://hg.tryton.org/2.4/trytond/rev/279f0031b461"
        },
        {
            "reference_url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/78435",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/78435"
        },
        {
            "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/trytond/PYSEC-2019-211.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/pypa/advisory-database/tree/main/vulns/trytond/PYSEC-2019-211.yaml"
        },
        {
            "reference_url": "https://github.com/tryton/trytond",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/tryton/trytond"
        },
        {
            "reference_url": "https://github.com/tryton/trytond/commit/4509595762da0c08fdf182e2bdf952cbbe300667",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/tryton/trytond/commit/4509595762da0c08fdf182e2bdf952cbbe300667"
        },
        {
            "reference_url": "https://github.com/tryton/trytond/commit/96cd5d58ea82fb746b42dc2ebde9b8f531368d53",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/tryton/trytond/commit/96cd5d58ea82fb746b42dc2ebde9b8f531368d53"
        },
        {
            "reference_url": "https://security-tracker.debian.org/tracker/CVE-2012-2238",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://security-tracker.debian.org/tracker/CVE-2012-2238"
        },
        {
            "reference_url": "https://web.archive.org/web/20200229115241/https://www.securityfocus.com/bid/55503",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://web.archive.org/web/20200229115241/https://www.securityfocus.com/bid/55503"
        },
        {
            "reference_url": "http://www.openwall.com/lists/oss-security/2012/09/11/10",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.openwall.com/lists/oss-security/2012/09/11/10"
        },
        {
            "reference_url": "http://www.securityfocus.com/bid/55503",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.securityfocus.com/bid/55503"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2012-2238",
            "reference_id": "CVE-2012-2238",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2012-2238"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-jfgc-5vh4-8rh5",
            "reference_id": "GHSA-jfgc-5vh4-8rh5",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-jfgc-5vh4-8rh5"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 863,
            "name": "Incorrect Authorization",
            "description": "The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. This allows attackers to bypass intended access restrictions."
        },
        {
            "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": 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."
        }
    ],
    "exploits": [],
    "severity_range_score": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-k57g-qscb-yyex"
}