Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/35341?format=api",
    "purl": "pkg:pypi/geonode@4.1.2",
    "type": "pypi",
    "namespace": "",
    "name": "geonode",
    "version": "4.1.2",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "4.4.5",
    "latest_non_vulnerable_version": "5.0.2",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37286?format=api",
            "vulnerability_id": "VCID-3112-xnvn-gyen",
            "summary": "GeoNode versions 4.4.5 and 5.0.2 (and prior within their respective releases) contain a server-side request forgery vulnerability in the service registration endpoint that allows authenticated attackers to trigger outbound network requests to arbitrary URLs by submitting a crafted service URL during form validation. Attackers can probe internal network targets including loopback addresses, RFC1918 private IP ranges, link-local addresses, and cloud metadata services by exploiting insufficient URL validation in the WMS service handler without private IP filtering or allowlist enforcement.",
            "references": [
                {
                    "reference_url": "https://github.com/GeoNode/geonode/security/advisories/GHSA-hw9r-6m78-w6h3",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"
                        }
                    ],
                    "url": "https://github.com/GeoNode/geonode/security/advisories/GHSA-hw9r-6m78-w6h3"
                },
                {
                    "reference_url": "https://www.vulncheck.com/advisories/geonode-ssrf-via-service-registration",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"
                        }
                    ],
                    "url": "https://www.vulncheck.com/advisories/geonode-ssrf-via-service-registration"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/49542?format=api",
                    "purl": "pkg:pypi/geonode@4.4.5",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/geonode@4.4.5"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/49543?format=api",
                    "purl": "pkg:pypi/geonode@5.0.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/geonode@5.0.2"
                }
            ],
            "aliases": [
                "CVE-2026-39922",
                "GHSA-hw9r-6m78-w6h3",
                "PYSEC-2026-61"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-3112-xnvn-gyen"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/36528?format=api",
            "vulnerability_id": "VCID-y7sz-snam-5ycz",
            "summary": "GeoNode is an open source platform that facilitates the creation, sharing, and collaborative use of geospatial data. In versions 3.2.0 through 4.1.2, the endpoint `/proxy/?url=` does not properly protect against server-side request forgery. This allows an attacker to port scan internal hosts and request information from internal hosts. A patch is available at commit a9eebae80cb362009660a1fd49e105e7cdb499b9.",
            "references": [
                {
                    "reference_url": "https://github.com/GeoNode/geonode/commit/a9eebae80cb362009660a1fd49e105e7cdb499b9",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
                        }
                    ],
                    "url": "https://github.com/GeoNode/geonode/commit/a9eebae80cb362009660a1fd49e105e7cdb499b9"
                },
                {
                    "reference_url": "https://github.com/GeoNode/geonode/security/advisories/GHSA-rmxg-6qqf-x8mr",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
                        }
                    ],
                    "url": "https://github.com/GeoNode/geonode/security/advisories/GHSA-rmxg-6qqf-x8mr"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-40017",
                    "reference_id": "CVE-2023-40017",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-40017"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/35342?format=api",
                    "purl": "pkg:pypi/geonode@4.1.3",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-3112-xnvn-gyen"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/geonode@4.1.3"
                }
            ],
            "aliases": [
                "CVE-2023-40017",
                "GHSA-rmxg-6qqf-x8mr",
                "PYSEC-2023-269"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-y7sz-snam-5ycz"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/geonode@4.1.2"
}