Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/53439?format=api",
    "purl": "pkg:gem/ember-source@1.12.2",
    "type": "gem",
    "namespace": "",
    "name": "ember-source",
    "version": "1.12.2",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "1.13.12",
    "latest_non_vulnerable_version": "2.2.1",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38543?format=api",
            "vulnerability_id": "VCID-a5hm-euty-z7g1",
            "summary": "XSS Vulnerability with User-Supplied JSON\nBy default, Ember will escape any values in Handlebars templates that use double curlies (`{{value}}`). Developers can specifically opt out of this escaping behavior by passing an instance of `SafeString` rather than a raw string, which tells Ember that it should not escape the string because the developer has taken responsibility for escapement. It is possible for an attacker to create a specially-crafted payload that causes a non-sanitized string to be treated as a `SafeString`, and thus bypass Ember's normal escaping behavior. This could allow an attacker to execute arbitrary JavaScript in the context of the current domain (\"XSS\").",
            "references": [
                {
                    "reference_url": "https://groups.google.com/forum/#!topic/ember-security/OfyQkoSuppY",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://groups.google.com/forum/#!topic/ember-security/OfyQkoSuppY"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/53438?format=api",
                    "purl": "pkg:gem/ember-source@1.11.4",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/ember-source@1.11.4"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/53439?format=api",
                    "purl": "pkg:gem/ember-source@1.12.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/ember-source@1.12.2"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/53440?format=api",
                    "purl": "pkg:gem/ember-source@1.13.12",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/ember-source@1.13.12"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/53441?format=api",
                    "purl": "pkg:gem/ember-source@2.0.3",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/ember-source@2.0.3"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/53442?format=api",
                    "purl": "pkg:gem/ember-source@2.1.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/ember-source@2.1.2"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/53443?format=api",
                    "purl": "pkg:gem/ember-source@2.2.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/ember-source@2.2.1"
                }
            ],
            "aliases": [
                "CVE-2015-7565"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-a5hm-euty-z7g1"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/ember-source@1.12.2"
}