Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/54003?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/54003?format=api", "purl": "pkg:composer/propel/propel@2.0.0-alpha8", "type": "composer", "namespace": "propel", "name": "propel", "version": "2.0.0-alpha8", "qualifiers": {}, "subpath": "", "is_vulnerable": false, "next_non_vulnerable_version": null, "latest_non_vulnerable_version": null, "affected_by_vulnerabilities": [], "fixing_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/12141?format=api", "vulnerability_id": "VCID-7zw9-pszt-aydv", "summary": "SQL injection with limit() on MySQL\nThe `limit()` query method is vulnerable to SQL injection with MySQL.", "references": [ { "reference_url": "https://github.com/propelorm/Propel2/commit/4c309e3e5adaba077f54c0fab93c34995d7c9b3d", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/propelorm/Propel2/commit/4c309e3e5adaba077f54c0fab93c34995d7c9b3d" }, { "reference_url": "https://github.com/propelorm/Propel2/issues/1463", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/propelorm/Propel2/issues/1463" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/54003?format=api", "purl": "pkg:composer/propel/propel@2.0.0-alpha8", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/propel/propel@2.0.0-alpha8" } ], "aliases": [ "GMS-2018-12" ], "risk_score": null, "exploitability": "0.5", "weighted_severity": "0.0", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-7zw9-pszt-aydv" }, { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/340817?format=api", "vulnerability_id": "VCID-99my-7jav-f3db", "summary": "Propel2 SQL injection possible with limit() on MySQL", "references": [ { "reference_url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/propel/propel/2018-02-14.yaml", "reference_id": "", "reference_type": "", "scores": [ { "value": "9.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/propel/propel/2018-02-14.yaml" }, { "reference_url": "https://github.com/propelorm/Propel2", "reference_id": "", "reference_type": "", "scores": [ { "value": "9.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/propelorm/Propel2" }, { "reference_url": "https://github.com/propelorm/Propel2/commit/cd23d7384a15cfe203e23b3a835c8ab1d81d9246", "reference_id": "", "reference_type": "", "scores": [ { "value": "9.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/propelorm/Propel2/commit/cd23d7384a15cfe203e23b3a835c8ab1d81d9246" }, { "reference_url": "https://github.com/propelorm/Propel2/issues/1463", "reference_id": "", "reference_type": "", "scores": [ { "value": "9.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/propelorm/Propel2/issues/1463" }, { "reference_url": "https://github.com/propelorm/Propel2/pull/1464", "reference_id": "", "reference_type": "", "scores": [ { "value": "9.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/propelorm/Propel2/pull/1464" }, { "reference_url": "https://github.com/advisories/GHSA-7vw7-qx38-37vr", "reference_id": "GHSA-7vw7-qx38-37vr", "reference_type": "", "scores": [ { "value": "CRITICAL", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" } ], "url": "https://github.com/advisories/GHSA-7vw7-qx38-37vr" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/54003?format=api", "purl": "pkg:composer/propel/propel@2.0.0-alpha8", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/propel/propel@2.0.0-alpha8" } ], "aliases": [ "GHSA-7vw7-qx38-37vr" ], "risk_score": 4.5, "exploitability": "0.5", "weighted_severity": "9.0", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-99my-7jav-f3db" } ], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/propel/propel@2.0.0-alpha8" }