Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/42885?format=api",
    "purl": "pkg:maven/org.jamesframework/james@3.6.1",
    "type": "maven",
    "namespace": "org.jamesframework",
    "name": "james",
    "version": "3.6.1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/12509?format=api",
            "vulnerability_id": "VCID-1vru-s5v2-dbcq",
            "summary": "Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')\nFix of CVE-2021-40525 do not prepend delimiters upon valid directory validations. Affected implementations include the maildir mailbox store and the Sieve file repository. This enables a user to access other users data stores (limited to user names being prefixed by the value of the username being used).",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-22931",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.02834",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86248",
                            "published_at": "2026-05-05T12:55:00Z"
                        },
                        {
                            "value": "0.02834",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86183",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.02834",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86199",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.02834",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86205",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.02834",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86197",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.02834",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86218",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.02834",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86228",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.02834",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86229",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.02834",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86129",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.02834",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86144",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.02834",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86163",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.02834",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86175",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.02834",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8619",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.02834",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86187",
                            "published_at": "2026-04-12T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-22931"
                },
                {
                    "reference_url": "https://github.com/apache/james-project",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/apache/james-project"
                },
                {
                    "reference_url": "https://github.com/apache/james-project/pull/877",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/apache/james-project/pull/877"
                },
                {
                    "reference_url": "https://github.com/apache/james-project/pull/877/commits/b1e891a9e5eeadfa1d779ae50f21c73efe4d2fc7",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/apache/james-project/pull/877/commits/b1e891a9e5eeadfa1d779ae50f21c73efe4d2fc7"
                },
                {
                    "reference_url": "https://lists.apache.org/thread/bp8yql4wws56jlh0vxoowj7foothsmpr",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://lists.apache.org/thread/bp8yql4wws56jlh0vxoowj7foothsmpr"
                },
                {
                    "reference_url": "https://www.openwall.com/lists/oss-security/2022/02/07/1",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://www.openwall.com/lists/oss-security/2022/02/07/1"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-22931",
                    "reference_id": "CVE-2022-22931",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-22931"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-v84g-cf5j-xjqx",
                    "reference_id": "GHSA-v84g-cf5j-xjqx",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-v84g-cf5j-xjqx"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/43026?format=api",
                    "purl": "pkg:maven/org.jamesframework/james@3.6.2",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-k6dw-17nc-xbd5"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jamesframework/james@3.6.2"
                }
            ],
            "aliases": [
                "CVE-2022-22931",
                "GHSA-v84g-cf5j-xjqx"
            ],
            "risk_score": 3.1,
            "exploitability": "0.5",
            "weighted_severity": "6.2",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-1vru-s5v2-dbcq"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "3.1",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jamesframework/james@3.6.1"
}