Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/740407?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/740407?format=api", "purl": "pkg:composer/neos/swiftmailer@5.4.1", "type": "composer", "namespace": "neos", "name": "swiftmailer", "version": "5.4.1", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": "5.4.5", "latest_non_vulnerable_version": "5.4.5", "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/54930?format=api", "vulnerability_id": "VCID-w2z4-snqu-nkh7", "summary": "Flow Swift Mailer package Remote code execution\nA remote code execution vulnerability has been found in the Swift Mailer library (swiftmailer/swiftmailer) recently. [See this advisory for details](http://legalhackers.com/advisories/SwiftMailer-Exploit-Remote-Code-Exec-CVE-2016-10074-Vuln.html). If you are not using the default mail() transport, this particular problem does not affect you. Upgrading is of course still recommended!", "references": [ { "reference_url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/neos/swiftmailer/2017-01-06.yaml", "reference_id": "", "reference_type": "", "scores": [ { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/neos/swiftmailer/2017-01-06.yaml" }, { "reference_url": "https://github.com/neos/swiftmailer", "reference_id": "", "reference_type": "", "scores": [ { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/neos/swiftmailer" }, { "reference_url": "https://www.neos.io/blog/flow-sa-2017-01.html", "reference_id": "", "reference_type": "", "scores": [ { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://www.neos.io/blog/flow-sa-2017-01.html" }, { "reference_url": "https://github.com/advisories/GHSA-rq6q-hjvh-5mwh", "reference_id": "GHSA-rq6q-hjvh-5mwh", "reference_type": "", "scores": [ { "value": "CRITICAL", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" } ], "url": "https://github.com/advisories/GHSA-rq6q-hjvh-5mwh" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/81477?format=api", "purl": "pkg:composer/neos/swiftmailer@5.4.5", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/neos/swiftmailer@5.4.5" } ], "aliases": [ "GHSA-rq6q-hjvh-5mwh" ], "risk_score": 4.5, "exploitability": "0.5", "weighted_severity": "9.0", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-w2z4-snqu-nkh7" } ], "fixing_vulnerabilities": [], "risk_score": "4.5", "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/neos/swiftmailer@5.4.1" }