{"id":"CVE-2023-35887","published":"2023-07-10T09:28:54Z","modified":"2024-10-07T19:40:46Z","title":"Apache MINA SSHD: Information disclosure bugs with RootedFilesystem","vendor":"Apache","product":"Apache MINA SSHD","tier":"tail","description":{"text":"Exposure of Sensitive Information to an Unauthorized Actor vulnerability in Apache Software Foundation Apache MINA.\n\nIn SFTP servers implemented using Apache MINA SSHD that use a RootedFileSystem, logged users may be able to discover \"exists/does not exist\" information about items outside the rooted tree via paths including parent navigation (\"..\") beyond the root, or involving symlinks.\n\nThis issue affects Apache MINA: from 1.0 before 2.10. Users are recommended to upgrade to 2.10\n","provenance":"source","from":"CVE.org"},"cvss":{"score":5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01311,"percentile":0.71379,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://lists.apache.org/thread/b9qgtqvhnvgfpn0w1gz918p21p53tqk2","tags":["vendor-advisory"]}],"priority":{"score":17.8,"factors":[{"name":"EPSS percentile","points":14.28},{"name":"CVSS severity","points":3.5}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache MINA SSHD","versions":[">= 1.0, < 2.10"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-10-07T19:40:36.469029Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.apache.sshd:sshd-common","vulnerableRanges":[">=2.1.0, <2.9.3"],"patched":["2.9.3"],"from":["GHSA-mjmq-gwgm-5qhm"],"provenance":"source"},{"ecosystem":"Maven","package":"org.apache.sshd:sshd-sftp","vulnerableRanges":[">=1.0.0, <2.9.3"],"patched":["2.9.3"],"from":["GHSA-mjmq-gwgm-5qhm"],"provenance":"source"},{"ecosystem":"Maven","package":"org.apache.sshd:sshd-core","vulnerableRanges":[">=1.0.0, <2.1.0"],"patched":["2.1.0"],"from":["GHSA-mjmq-gwgm-5qhm"],"provenance":"source"}],"summary":{"text":"The flaw is in Apache MINA SSHD's SFTP server support when it uses a RootedFileSystem: path handling does not properly confine lookups to the rooted tree. The specific component is the file system path resolution used by SFTP servers built on Apache MINA SSHD. An authenticated, logged-in user can send paths that navigate above the root (via \"..\") or that traverse symlinks, learning whether files or directories outside the rooted tree exist, with no user interaction required and no network access beyond the SFTP service itself.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:52:30Z"},"euvd":{"id":"EUVD-2023-2101","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2022-45047","published":"2022-11-16","fixed":"2.9.2","kev":false,"link":{"from":"CVE-2022-45047","to":"CVE-2023-35887","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.sshd:sshd-common","fromFixed":"2.9.2","toFixed":"2.9.3","daysApart":236}]}},{"cve":"CVE-2023-35887","published":"2023-07-10","fixed":"2.9.3","kev":false},{"cve":"CVE-2024-41909","published":"2024-08-12","fixed":"2.12.0","kev":false,"link":{"from":"CVE-2023-35887","to":"CVE-2024-41909","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.sshd:sshd-common","fromFixed":"2.9.3","toFixed":"2.12.0","daysApart":399}]}}],"package":"Maven:org.apache.sshd:sshd-common"}}