Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/38814?format=api",
    "purl": "pkg:pypi/embedchain@0.0.33",
    "type": "pypi",
    "namespace": "",
    "name": "embedchain",
    "version": "0.0.33",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "0.1.57",
    "latest_non_vulnerable_version": "0.1.57",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/36687?format=api",
            "vulnerability_id": "VCID-j5eb-ugzc-7qad",
            "summary": "The JSON loader in Embedchain before 0.1.57 allows a ReDoS (regular expression denial of service) via a long string to json.py.",
            "references": [
                {
                    "reference_url": "https://github.com/embedchain/embedchain/compare/0.1.56...0.1.57",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/embedchain/embedchain/compare/0.1.56...0.1.57"
                },
                {
                    "reference_url": "https://github.com/embedchain/embedchain/pull/1122",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/embedchain/embedchain/pull/1122"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/embedchain/PYSEC-2024-8.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/embedchain/PYSEC-2024-8.yaml"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2024-23732",
                    "reference_id": "CVE-2024-23732",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-23732"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-r67w-f99w-mgxj",
                    "reference_id": "GHSA-r67w-f99w-mgxj",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-r67w-f99w-mgxj"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/38941?format=api",
                    "purl": "pkg:pypi/embedchain@0.1.57",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/embedchain@0.1.57"
                }
            ],
            "aliases": [
                "CVE-2024-23732",
                "GHSA-r67w-f99w-mgxj",
                "PYSEC-2024-8"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-j5eb-ugzc-7qad"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/36688?format=api",
            "vulnerability_id": "VCID-yewd-g5yb-6bfv",
            "summary": "The OpenAPI loader in Embedchain before 0.1.57 allows attackers to execute arbitrary code, related to the openapi.py yaml.load function argument.",
            "references": [
                {
                    "reference_url": "https://github.com/embedchain/embedchain/compare/0.1.56...0.1.57",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/embedchain/embedchain/compare/0.1.56...0.1.57"
                },
                {
                    "reference_url": "https://github.com/embedchain/embedchain/pull/1122",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/embedchain/embedchain/pull/1122"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/embedchain/PYSEC-2024-7.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/embedchain/PYSEC-2024-7.yaml"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2024-23731",
                    "reference_id": "CVE-2024-23731",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-23731"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-rhhj-5436-95vf",
                    "reference_id": "GHSA-rhhj-5436-95vf",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-rhhj-5436-95vf"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/38941?format=api",
                    "purl": "pkg:pypi/embedchain@0.1.57",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/embedchain@0.1.57"
                }
            ],
            "aliases": [
                "CVE-2024-23731",
                "GHSA-rhhj-5436-95vf",
                "PYSEC-2024-7"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-yewd-g5yb-6bfv"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/embedchain@0.0.33"
}