{"id":"UBUNTU-CVE-2022-48682","details":"In deletefiles in FDUPES before 2.2.0, a TOCTOU race condition allows arbitrary file deletion via a symlink.","modified":"2025-10-24T04:54:14Z","published":"2024-04-26T01:15:00Z","upstream":["CVE-2022-48682"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-48682"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-48682"},{"type":"REPORT","url":"https://bugzilla.suse.com/show_bug.cgi?id=1200381"},{"type":"REPORT","url":"https://github.com/adrianlopezroche/fdupes/commit/85680897148f1ac33b55418e00334116e419717f"},{"type":"REPORT","url":"https://github.com/adrianlopezroche/fdupes/blob/4b6bcde1b3eb1cebe87cd30814f7d6cf4ee46e95/fdupes.c"},{"type":"REPORT","url":"https://github.com/adrianlopezroche/fdupes/compare/v2.1.2...v2.2.0"}],"affected":[{"package":{"name":"fdupes","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/fdupes@1.51-1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.51-1"],"ecosystem_specific":{"binaries":[{"binary_name":"fdupes","binary_version":"1.51-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-48682.json"}},{"package":{"name":"fdupes","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/fdupes@1:1.6.1-1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:1.6.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"fdupes","binary_version":"1:1.6.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-48682.json"}},{"package":{"name":"fdupes","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/fdupes@1:1.6.1-2?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:1.6.1-2"],"ecosystem_specific":{"binaries":[{"binary_name":"fdupes","binary_version":"1:1.6.1-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-48682.json"}},{"package":{"name":"fdupes","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/fdupes@1:2.1.2-1build1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:2.1.2-1build1"],"ecosystem_specific":{"binaries":[{"binary_version":"1:2.1.2-1build1","binary_name":"fdupes"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-48682.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}