Vulnerability Instance
Lookup for vulnerabilities affecting packages.
GET /api/vulnerabilities/41951?format=api
{ "url": "http://public2.vulnerablecode.io/api/vulnerabilities/41951?format=api", "vulnerability_id": "VCID-htv9-tpny-7ycn", "summary": "Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')\nOroPlatform is a PHP Business Application Platform. an attacker could inject properties into existing JavaScript language construct prototypes, such as objects. Later this injection may lead to JS code execution by libraries that is vulnerable to Prototype Pollution. This issue has been patched Users unable to upgrade may configure a firewall to drop requests containing next strings: `__proto__`, `constructor[prototype]`, and `constructor.prototype` to mitigate this issue.", "aliases": [ { "alias": "CVE-2021-43852" }, { "alias": "GHSA-jx5q-g37m-h5hj" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/59958?format=api", "purl": "pkg:composer/oro/platform@4.2.8", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/oro/platform@4.2.8" } ], "affected_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/59955?format=api", "purl": "pkg:composer/oro/platform@4.1.0", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-htv9-tpny-7ycn" }, { "vulnerability": "VCID-j1uw-vqqx-uuh2" }, { "vulnerability": "VCID-mp7m-9665-uqb6" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/oro/platform@4.1.0" }, { "url": "http://public2.vulnerablecode.io/api/packages/59956?format=api", "purl": "pkg:composer/oro/platform@4.2.0", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-h2ur-dutp-gqba" }, { "vulnerability": "VCID-htv9-tpny-7ycn" }, { "vulnerability": "VCID-j1uw-vqqx-uuh2" }, { "vulnerability": "VCID-mk5p-7x3m-v7hb" }, { "vulnerability": "VCID-mp7m-9665-uqb6" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/oro/platform@4.2.0" } ], "references": [ { "reference_url": "https://github.com/oroinc/platform/commit/62c26936b3adee9c20255dcd9f8ee5c299b464a9", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/oroinc/platform/commit/62c26936b3adee9c20255dcd9f8ee5c299b464a9" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-43852", "reference_id": "CVE-2021-43852", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-43852" }, { "reference_url": "https://github.com/oroinc/platform/security/advisories/GHSA-jx5q-g37m-h5hj", "reference_id": "GHSA-jx5q-g37m-h5hj", "reference_type": "", "scores": [], "url": "https://github.com/oroinc/platform/security/advisories/GHSA-jx5q-g37m-h5hj" } ], "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": 1321, "name": "Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')", "description": "The product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype." }, { "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-htv9-tpny-7ycn" }