{"id":"CVE-2021-39223","state":"PUBLISHED","title":"File path disclosure of shared files in Richdocuments application","description":"Nextcloud is an open-source, self-hosted productivity platform. The Nextcloud Richdocuments application prior to versions 3.8.6 and 4.2.3 returned verbatim exception messages to the user. This could result in a full path disclosure on shared files. (e.g. an attacker could see that the file `shared.txt` is located within `/files/$username/Myfolder/Mysubfolder/shared.txt`). It is recommended that the Richdocuments application is upgraded to 3.8.6 or 4.2.3. As a workaround, disable the Richdocuments application in the app settings.","publishedAt":"2021-10-25T21:35:11.000Z","updatedAt":"2024-08-04T01:58:18.329Z","severity":{"score":4.8,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["nextcloud security-advisories"],"affected":[{"vendor":"nextcloud","product":"security-advisories","versions":[{"version":"< 3.8.6,","status":"affected"},{"version":">= 4.0.0, < 4.2.3","status":"affected"}]}],"references":["https://github.com/nextcloud/security-advisories/security/advisories/GHSA-rjcc-4cgj-6v93","https://github.com/nextcloud/richdocuments/pull/1760","https://hackerone.com/reports/1253460"],"weaknesses":["CWE-200"],"ingestedAt":"2026-10-29T19:48:52.666Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/39xxx/CVE-2021-39223.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-39223","state":"PUBLISHED","datePublished":"2021-10-25T21:35:11.000Z","dateUpdated":"2024-08-04T01:58:18.329Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2021-08-16T00:00:00.000Z"},"containers":{"cna":{"title":"File path disclosure of shared files in Richdocuments application","descriptions":[{"lang":"en","value":"Nextcloud is an open-source, self-hosted productivity platform. The Nextcloud Richdocuments application prior to versions 3.8.6 and 4.2.3 returned verbatim exception messages to the user. This could result in a full path disclosure on shared files. (e.g. an attacker could see that the file `shared.txt` is located within `/files/$username/Myfolder/Mysubfolder/shared.txt`). It is recommended that the Richdocuments application is upgraded to 3.8.6 or 4.2.3. As a workaround, disable the Richdocuments application in the app settings."}],"affected":[{"vendor":"nextcloud","product":"security-advisories","versions":[{"version":"< 3.8.6,","status":"affected"},{"version":">= 4.0.0, < 4.2.3","status":"affected"}]}],"references":[{"url":"https://github.com/nextcloud/security-advisories/security/advisories/GHSA-rjcc-4cgj-6v93","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nextcloud/richdocuments/pull/1760","tags":["x_refsource_MISC"]},{"url":"https://hackerone.com/reports/1253460","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4.8,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-200","description":"CWE-200: Exposure of Sensitive Information to an Unauthorized Actor","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","dateUpdated":"2021-10-25T21:35:11.000Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa"},"source":{"advisory":"GHSA-rjcc-4cgj-6v93","discovery":"UNKNOWN"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2021-39223","STATE":"PUBLIC","TITLE":"File path disclosure of shared files in Richdocuments application"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"security-advisories","version":{"version_data":[{"version_value":"< 3.8.6,"},{"version_value":">= 4.0.0, < 4.2.3"}]}}]},"vendor_name":"nextcloud"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"Nextcloud is an open-source, self-hosted productivity platform. The Nextcloud Richdocuments application prior to versions 3.8.6 and 4.2.3 returned verbatim exception messages to the user. This could result in a full path disclosure on shared files. (e.g. an attacker could see that the file `shared.txt` is located within `/files/$username/Myfolder/Mysubfolder/shared.txt`). It is recommended that the Richdocuments application is upgraded to 3.8.6 or 4.2.3. As a workaround, disable the Richdocuments application in the app settings."}]},"impact":{"cvss":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4.8,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-200: Exposure of Sensitive Information to an Unauthorized Actor"}]}]},"references":{"reference_data":[{"name":"https://github.com/nextcloud/security-advisories/security/advisories/GHSA-rjcc-4cgj-6v93","refsource":"CONFIRM","url":"https://github.com/nextcloud/security-advisories/security/advisories/GHSA-rjcc-4cgj-6v93"},{"name":"https://github.com/nextcloud/richdocuments/pull/1760","refsource":"MISC","url":"https://github.com/nextcloud/richdocuments/pull/1760"},{"name":"https://hackerone.com/reports/1253460","refsource":"MISC","url":"https://hackerone.com/reports/1253460"}]},"source":{"advisory":"GHSA-rjcc-4cgj-6v93","discovery":"UNKNOWN"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/nextcloud/security-advisories/security/advisories/GHSA-rjcc-4cgj-6v93","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/nextcloud/richdocuments/pull/1760","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://hackerone.com/reports/1253460","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T01:58:18.329Z"}}]}}}