Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/64130?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/64130?format=api", "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-store-filesystem-oldcore@14.5", "type": "maven", "namespace": "org.xwiki.platform", "name": "xwiki-platform-store-filesystem-oldcore", "version": "14.5", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": "14.4.6", "latest_non_vulnerable_version": "14.9-rc-1", "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/44574?format=api", "vulnerability_id": "VCID-n8ka-mqaf-sfc4", "summary": "xwiki contains Exposed Dangerous Method or Function\nXWiki Platform is a generic wiki platform. Starting in version 14.3-rc-1, `org.xwiki.store.script.TemporaryAttachmentsScriptService#uploadTemporaryAttachment` returns an instance of `com.xpn.xwiki.doc.XWikiAttachment`. This class is not supported to be exposed to users without the `programing` right. `com.xpn.xwiki.api.Attachment` should be used instead and takes case of checking the user's rights before performing dangerous operations. This has been patched in versions 14.9-rc-1 and 14.4.6. There are no known workarounds for this issue.", "references": [ { "reference_url": "https://github.com/xwiki/xwiki-platform/commit/3c73c59e39b6436b1074d8834cf276916010014d", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/xwiki/xwiki-platform/commit/3c73c59e39b6436b1074d8834cf276916010014d" }, { "reference_url": "https://jira.xwiki.org/browse/XWIKI-20180", "reference_id": "", "reference_type": "", "scores": [], "url": "https://jira.xwiki.org/browse/XWIKI-20180" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-26478", "reference_id": "CVE-2023-26478", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-26478" }, { "reference_url": "https://github.com/advisories/GHSA-8692-g6g9-gm5p", "reference_id": "GHSA-8692-g6g9-gm5p", "reference_type": "", "scores": [], "url": "https://github.com/advisories/GHSA-8692-g6g9-gm5p" }, { "reference_url": "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-8692-g6g9-gm5p", "reference_id": "GHSA-8692-g6g9-gm5p", "reference_type": "", "scores": [], "url": "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-8692-g6g9-gm5p" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/64132?format=api", "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-store-filesystem-oldcore@14.9-rc-1", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-store-filesystem-oldcore@14.9-rc-1" } ], "aliases": [ "CVE-2023-26478", "GHSA-8692-g6g9-gm5p" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-n8ka-mqaf-sfc4" } ], "fixing_vulnerabilities": [], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-store-filesystem-oldcore@14.5" }