Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/512568?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/512568?format=api", "purl": "pkg:composer/phpfastcache/phpfastcache@4.0.2beta1", "type": "composer", "namespace": "phpfastcache", "name": "phpfastcache", "version": "4.0.2beta1", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": "6.1.5", "latest_non_vulnerable_version": "8.0.7", "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/341923?format=api", "vulnerability_id": "VCID-hz3z-hjsy-hqbk", "summary": "", "references": [ { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-37704", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.6113", "scoring_system": "epss", "scoring_elements": "0.98343", "published_at": "2026-06-11T12:55:00Z" }, { "value": "0.6113", "scoring_system": "epss", "scoring_elements": "0.98349", "published_at": "2026-06-12T12:55:00Z" }, { "value": "0.6113", "scoring_system": "epss", "scoring_elements": "0.9835", "published_at": "2026-06-14T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-37704" }, { "reference_url": "https://github.com/flextype/flextype/issues/567", "reference_id": "", "reference_type": "", "scores": [ { "value": "5.4", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/flextype/flextype/issues/567" }, { "reference_url": "https://github.com/PHPSocialNetwork/phpfastcache/blob/master/CHANGELOG.md#807", "reference_id": "", "reference_type": "", "scores": [ { "value": "5.4", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/PHPSocialNetwork/phpfastcache/blob/master/CHANGELOG.md#807" }, { "reference_url": "https://github.com/PHPSocialNetwork/phpfastcache/commit/41a77d0d8f126dbd6fbedcd9e6a82e86cdaafa51", "reference_id": "", "reference_type": "", "scores": [ { "value": "5.4", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/PHPSocialNetwork/phpfastcache/commit/41a77d0d8f126dbd6fbedcd9e6a82e86cdaafa51" }, { "reference_url": "https://github.com/PHPSocialNetwork/phpfastcache/pull/813", "reference_id": "", "reference_type": "", "scores": [ { "value": "5.4", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/PHPSocialNetwork/phpfastcache/pull/813" }, { "reference_url": "https://github.com/PHPSocialNetwork/phpfastcache/pull/814", "reference_id": "", "reference_type": "", "scores": [ { "value": "5.4", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/PHPSocialNetwork/phpfastcache/pull/814" }, { "reference_url": "https://github.com/PHPSocialNetwork/phpfastcache/pull/815", "reference_id": "", "reference_type": "", "scores": [ { "value": "5.4", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/PHPSocialNetwork/phpfastcache/pull/815" }, { "reference_url": "https://github.com/PHPSocialNetwork/phpfastcache/security/advisories/GHSA-cvh5-p6r6-g2qc", "reference_id": "", "reference_type": "", "scores": [ { "value": "5.4", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L" }, { "value": "MODERATE", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/PHPSocialNetwork/phpfastcache/security/advisories/GHSA-cvh5-p6r6-g2qc" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-37704", "reference_id": "", "reference_type": "", "scores": [ { "value": "5.4", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-37704" }, { "reference_url": "https://packagist.org/packages/phpfastcache/phpfastcache", "reference_id": "", "reference_type": "", "scores": [ { "value": "5.4", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://packagist.org/packages/phpfastcache/phpfastcache" }, { "reference_url": "https://github.com/advisories/GHSA-cvh5-p6r6-g2qc", "reference_id": "GHSA-cvh5-p6r6-g2qc", "reference_type": "", "scores": [ { "value": "MODERATE", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" } ], "url": "https://github.com/advisories/GHSA-cvh5-p6r6-g2qc" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/382868?format=api", "purl": "pkg:composer/phpfastcache/phpfastcache@6.1.5", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/phpfastcache/phpfastcache@6.1.5" }, { "url": "http://public2.vulnerablecode.io/api/packages/512649?format=api", "purl": "pkg:composer/phpfastcache/phpfastcache@7.0.0-RC", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/phpfastcache/phpfastcache@7.0.0-RC" }, { "url": "http://public2.vulnerablecode.io/api/packages/382869?format=api", "purl": "pkg:composer/phpfastcache/phpfastcache@7.1.2", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/phpfastcache/phpfastcache@7.1.2" }, { "url": "http://public2.vulnerablecode.io/api/packages/512657?format=api", "purl": "pkg:composer/phpfastcache/phpfastcache@8.0.0-alpha", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/phpfastcache/phpfastcache@8.0.0-alpha" }, { "url": "http://public2.vulnerablecode.io/api/packages/382870?format=api", "purl": "pkg:composer/phpfastcache/phpfastcache@8.0.7", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/phpfastcache/phpfastcache@8.0.7" } ], "aliases": [ "CVE-2021-37704", "GHSA-cvh5-p6r6-g2qc" ], "risk_score": 3.1, "exploitability": "0.5", "weighted_severity": "6.2", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-hz3z-hjsy-hqbk" } ], "fixing_vulnerabilities": [], "risk_score": "3.1", "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/phpfastcache/phpfastcache@4.0.2beta1" }