{"id":"CVE-2022-0409","published":"2022-02-19T04:35:10Z","modified":"2024-08-02T23:25:40Z","title":"Unrestricted Upload of File with Dangerous Type in star7th/showdoc","vendor":"star7th","product":"star7th/showdoc","tier":"tail","description":{"text":"Unrestricted Upload of File with Dangerous Type in Packagist showdoc/showdoc prior to 2.10.2.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.2,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00942,"percentile":0.61875,"provenance":"source"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"references":[{"url":"https://huntr.dev/bounties/c25bfad1-2611-4226-954f-009e50f966f7","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/star7th/showdoc/commit/7383d7a3c1b0807b6f397ba7df415a0ce7ccc436","tags":["x_refsource_MISC"]}],"priority":{"score":17.4,"factors":[{"name":"EPSS percentile","points":12.38},{"name":"CVSS severity","points":5.04}]},"vendorSlug":"star7th","affectedVersions":[{"vendor":"star7th","product":"star7th/showdoc","versions":[">= unspecified, < 2.10.2"]}],"affected":[{"ecosystem":"Packagist","package":"showdoc/showdoc","vulnerableRanges":["<2.10.2"],"patched":["2.10.2"],"from":["GHSA-6x3j-x9rp-whxp"],"provenance":"source"}],"summary":{"text":"The unrestricted file upload flaw affects the star7th/showdoc product (the Packagist showdoc/showdoc package) in versions prior to 2.10.2. An attacker with high privileges and network access to the application can upload files of a dangerous type, with no user interaction required and no special configuration needed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:45:25Z"},"euvd":{"id":"EUVD-2022-0874","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-star7th-showdoc-cve-2022-0409","children":[{"from":"CVE-2022-0409","to":"CVE-2022-0950","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["server/Application/Api/Controller/AttachmentController.class.php"],"commits":["https://github.com/star7th/showdoc/commit/7383d7a3c1b0807b6f397ba7df415a0ce7ccc436","https://github.com/star7th/showdoc/commit/237ac6d43bf3728bf3587c486a23b4a48ea7acb3"],"basis":"shared function","functions":["attachmentUpload","getQiuniuEndpointByKey","uploadImg"]},{"kind":"similar","provenance":"machine","score":0.7,"basis":"same product + CWE + description similarity"}]},{"from":"CVE-2022-0409","to":"CVE-2022-0951","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["server/Application/Api/Controller/AttachmentController.class.php"],"commits":["https://github.com/star7th/showdoc/commit/7383d7a3c1b0807b6f397ba7df415a0ce7ccc436","https://github.com/star7th/showdoc/commit/237ac6d43bf3728bf3587c486a23b4a48ea7acb3"],"basis":"shared function","functions":["attachmentUpload","getQiuniuEndpointByKey","uploadImg"]}]}],"packageHistory":[{"cve":"CVE-2021-4168","published":"2021-12-26","fixed":"2.9.15","kev":false},{"cve":"CVE-2022-0079","published":"2022-01-03","fixed":"2.10.0","kev":false,"link":{"from":"CVE-2022-0079","to":"CVE-2022-0409","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:showdoc/showdoc","fromFixed":"2.10.0","toFixed":"2.10.2","daysApart":47}]}},{"cve":"CVE-2021-4172","published":"2022-01-22","fixed":"2.10.2","kev":false},{"cve":"CVE-2022-0409","published":"2022-02-19","fixed":"2.10.2","kev":false},{"cve":"CVE-2022-0362","published":"2022-01-26","fixed":"2.10.3","kev":false},{"cve":"CVE-2022-0880","published":"2022-03-12","fixed":"2.10.4","kev":false},{"cve":"CVE-2022-0937","published":"2022-03-14","fixed":"2.10.4","kev":false}],"package":"Packagist:showdoc/showdoc"}}