Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/46609?format=api",
    "vulnerability_id": "VCID-unr1-phjn-2ycz",
    "summary": "Improper Neutralization of Special Elements Used in a Template Engine\nA template injection flaw was found in Ansible where a user's controller internal templating operations may remove the unsafe designation from template data. This issue could allow an attacker to use a specially crafted file to introduce code injection when supplying templating data.",
    "aliases": [
        {
            "alias": "CVE-2023-5764"
        },
        {
            "alias": "GHSA-7j69-qfc3-2fq9"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/22508?format=api",
            "purl": "pkg:pypi/ansible@3.0.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/ansible@3.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/68175?format=api",
            "purl": "pkg:pypi/ansible-core@2.14.12",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/ansible-core@2.14.12"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/39574?format=api",
            "purl": "pkg:pypi/ansible-core@2.15.8",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-d5za-vy85-j3he"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/ansible-core@2.15.8"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/39578?format=api",
            "purl": "pkg:pypi/ansible-core@2.16.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-d5za-vy85-j3he"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/ansible-core@2.16.1"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/68108?format=api",
            "purl": "pkg:pypi/ansible@2.15.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-unr1-phjn-2ycz"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/ansible@2.15.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/68109?format=api",
            "purl": "pkg:pypi/ansible@2.16.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-unr1-phjn-2ycz"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/ansible@2.16.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/39559?format=api",
            "purl": "pkg:pypi/ansible-core@2.15.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-d5za-vy85-j3he"
                },
                {
                    "vulnerability": "VCID-unr1-phjn-2ycz"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/ansible-core@2.15.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/39576?format=api",
            "purl": "pkg:pypi/ansible-core@2.16.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-d5za-vy85-j3he"
                },
                {
                    "vulnerability": "VCID-unr1-phjn-2ycz"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/ansible-core@2.16.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2023:7773",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2023:7773"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2247629",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2247629"
        },
        {
            "reference_url": "https://github.com/ansible/ansible",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/ansible/ansible"
        },
        {
            "reference_url": "https://github.com/ansible/ansible/commit/270b39f6ff02511a2199505161218cbd1a5ae34f",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/ansible/ansible/commit/270b39f6ff02511a2199505161218cbd1a5ae34f"
        },
        {
            "reference_url": "https://github.com/ansible/ansible/commit/7239d2d371bc6e274cbb7314e01431adce6ae25a",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/ansible/ansible/commit/7239d2d371bc6e274cbb7314e01431adce6ae25a"
        },
        {
            "reference_url": "https://github.com/ansible/ansible/commit/fea130480d261ea5bf6fcd5cf19a348f1686ceb1",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/ansible/ansible/commit/fea130480d261ea5bf6fcd5cf19a348f1686ceb1"
        },
        {
            "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/X7Q6CHPVCHMZS5M7V22GOKFSXZAQ24EU",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/X7Q6CHPVCHMZS5M7V22GOKFSXZAQ24EU"
        },
        {
            "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/X7Q6CHPVCHMZS5M7V22GOKFSXZAQ24EU/",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/X7Q6CHPVCHMZS5M7V22GOKFSXZAQ24EU/"
        },
        {
            "reference_url": "https://access.redhat.com/security/cve/CVE-2023-5764",
            "reference_id": "CVE-2023-5764",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/security/cve/CVE-2023-5764"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-5764",
            "reference_id": "CVE-2023-5764",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-5764"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-7j69-qfc3-2fq9",
            "reference_id": "GHSA-7j69-qfc3-2fq9",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-7j69-qfc3-2fq9"
        }
    ],
    "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": 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": 1336,
            "name": "Improper Neutralization of Special Elements Used in a Template Engine",
            "description": "The product uses a template engine to insert or process externally-influenced input, but it does not neutralize or incorrectly neutralizes special elements or syntax that can be interpreted as template expressions or other code directives when processed by the engine."
        }
    ],
    "exploits": [],
    "severity_range_score": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-unr1-phjn-2ycz"
}