{"id":"CVE-2021-41185","state":"PUBLISHED","title":"Download file outside intended directory","description":"Mycodo is an environmental monitoring and regulation system. An exploit in versions prior to 8.12.7 allows anyone with access to endpoints to download files outside the intended directory. A patch has been applied and a release made. Users should upgrade to version 8.12.7. As a workaround, users may manually apply the changes from the fix commit.","publishedAt":"2021-10-26T14:45:13.000Z","updatedAt":"2024-08-04T03:08:31.274Z","severity":{"score":8.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["kizniche Mycodo"],"affected":[{"vendor":"kizniche","product":"Mycodo","versions":[{"version":"< 8.12.7","status":"affected"}]}],"references":["https://github.com/kizniche/Mycodo/security/advisories/GHSA-252r-94ph-m229","https://github.com/kizniche/Mycodo/issues/1105","https://github.com/kizniche/Mycodo/commit/23ac5dd422029c2b6ae1701a3599b6d41b66a6a9","https://github.com/kizniche/Mycodo/releases/tag/v8.12.7"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T19:49:01.697Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/41xxx/CVE-2021-41185.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-41185","state":"PUBLISHED","datePublished":"2021-10-26T14:45:13.000Z","dateUpdated":"2024-08-04T03:08:31.274Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2021-09-15T00:00:00.000Z"},"containers":{"cna":{"title":"Download file outside intended directory","descriptions":[{"lang":"en","value":"Mycodo is an environmental monitoring and regulation system. An exploit in versions prior to 8.12.7 allows anyone with access to endpoints to download files outside the intended directory. A patch has been applied and a release made. Users should upgrade to version 8.12.7. As a workaround, users may manually apply the changes from the fix commit."}],"affected":[{"vendor":"kizniche","product":"Mycodo","versions":[{"version":"< 8.12.7","status":"affected"}]}],"references":[{"url":"https://github.com/kizniche/Mycodo/security/advisories/GHSA-252r-94ph-m229","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/kizniche/Mycodo/issues/1105","tags":["x_refsource_MISC"]},{"url":"https://github.com/kizniche/Mycodo/commit/23ac5dd422029c2b6ae1701a3599b6d41b66a6a9","tags":["x_refsource_MISC"]},{"url":"https://github.com/kizniche/Mycodo/releases/tag/v8.12.7","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","dateUpdated":"2021-10-26T14:45:13.000Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa"},"source":{"advisory":"GHSA-252r-94ph-m229","discovery":"UNKNOWN"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2021-41185","STATE":"PUBLIC","TITLE":"Download file outside intended directory"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"Mycodo","version":{"version_data":[{"version_value":"< 8.12.7"}]}}]},"vendor_name":"kizniche"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"Mycodo is an environmental monitoring and regulation system. An exploit in versions prior to 8.12.7 allows anyone with access to endpoints to download files outside the intended directory. A patch has been applied and a release made. Users should upgrade to version 8.12.7. As a workaround, users may manually apply the changes from the fix commit."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')"}]}]},"references":{"reference_data":[{"name":"https://github.com/kizniche/Mycodo/security/advisories/GHSA-252r-94ph-m229","refsource":"CONFIRM","url":"https://github.com/kizniche/Mycodo/security/advisories/GHSA-252r-94ph-m229"},{"name":"https://github.com/kizniche/Mycodo/issues/1105","refsource":"MISC","url":"https://github.com/kizniche/Mycodo/issues/1105"},{"name":"https://github.com/kizniche/Mycodo/commit/23ac5dd422029c2b6ae1701a3599b6d41b66a6a9","refsource":"MISC","url":"https://github.com/kizniche/Mycodo/commit/23ac5dd422029c2b6ae1701a3599b6d41b66a6a9"},{"name":"https://github.com/kizniche/Mycodo/releases/tag/v8.12.7","refsource":"MISC","url":"https://github.com/kizniche/Mycodo/releases/tag/v8.12.7"}]},"source":{"advisory":"GHSA-252r-94ph-m229","discovery":"UNKNOWN"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/kizniche/Mycodo/security/advisories/GHSA-252r-94ph-m229","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/kizniche/Mycodo/issues/1105","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/kizniche/Mycodo/commit/23ac5dd422029c2b6ae1701a3599b6d41b66a6a9","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/kizniche/Mycodo/releases/tag/v8.12.7","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T03:08:31.274Z"}}]}}}