{"id":"CVE-2022-37703","aliases":["DEBIAN-CVE-2022-37703","DLA-3681-1","DLA-3880-1","EUVD-2022-40317","GHSA-j9rc-2hv9-v5v8","UBUNTU-CVE-2022-37703","USN-5966-1","USN-5966-3","openSUSE-SU-2024:12808-1"],"status":"published","title":"In Amanda 3.5.1, an information leak vulnerability was found in the calcsize SUID binary. An...","description":"In Amanda 3.5.1, an information leak vulnerability was found in the calcsize SUID binary. An attacker can abuse this vulnerability to know if a directory exists or not anywhere in the fs. The binary will use `opendir()` as root directly without checking the path, letting the attacker provide an arbitrary path.","severity":{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"low","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.00747,"percentile":0.55319,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-22","CWE-668"],"published":"2022-09-13T00:00:00Z","modified":"2026-11-03T08:03:54Z","exploits":[{"source":"pocgithub","id":"MaherAzzouzi/CVE-2022-37703","title":"MaherAzzouzi/CVE-2022-37703","date":"2022-09-13","url":"https://github.com/MaherAzzouzi/CVE-2022-37703"}],"fixes":[{"ecosystem":"Debian:12","package":"amanda","fixed_in":["1:3.5.1-10"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"amanda","fixed_in":["1:3.5.1-10"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"amanda","fixed_in":["1:3.5.1-10"],"sources":["osv"]},{"ecosystem":"Ubuntu:18.04:LTS","package":"amanda","fixed_in":["1:3.5.1-1ubuntu0.3"],"sources":["osv"]},{"ecosystem":"Ubuntu:20.04:LTS","package":"amanda","fixed_in":["1:3.5.1-2ubuntu0.3"],"sources":["osv"]},{"ecosystem":"Ubuntu:22.04:LTS","package":"amanda","fixed_in":["1:3.5.1-8ubuntu1.3"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"amanda","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.5.1-10"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"amanda","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.5.1-10"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"amanda","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.5.1-10"}]}]},{"source":"osv","ecosystem":"Debian:10","package":"amanda","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.5.1-2+deb10u2"}]}],"versions":["1:3.5.1-2","1:3.5.1-2+deb10u1"],"bundled":3},{"source":"osv","ecosystem":"Debian:11","package":"amanda","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.5.1-7+deb11u1"}]}],"versions":["1:3.5.1-7"],"bundled":4},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"amanda","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:3.3.6-4","1:3.3.6-4.1","1:3.3.6-4.1ubuntu0.1","1:3.3.6-4.1ubuntu0.1+actuallyesm2","1:3.3.6-4.1ubuntu0.1+esm1","1:3.3.6-4.1ubuntu0.1+esm2"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"amanda","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.5.1-1ubuntu0.3"}]}],"versions":["1:3.3.9-5build1","1:3.5-2","1:3.5.1-1","1:3.5.1-1build1","1:3.5.1-1build2","1:3.5.1-1ubuntu0.1","1:3.5.1-1ubuntu0.2"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"amanda","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.5.1-2ubuntu0.3"}]}],"versions":["1:3.5.1-2build2","1:3.5.1-2build3","1:3.5.1-2ubuntu0.1","1:3.5.1-2ubuntu0.2"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"amanda","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.5.1-8ubuntu1.3"}]}],"versions":["1:3.5.1-5ubuntu1","1:3.5.1-8","1:3.5.1-8ubuntu1","1:3.5.1-8ubuntu1.1","1:3.5.1-8ubuntu1.2"]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"amanda","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.3.3-2ubuntu1.1+esm1"}]}],"versions":["1:3.3.3-2","1:3.3.3-2build1","1:3.3.3-2ubuntu1","1:3.3.3-2ubuntu1.1","1:3.3.3-2ubuntu1.1+actuallyesm2"],"bundled":3},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"amanda","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.3.6-4.1ubuntu0.1"}]}],"versions":["1:3.3.6-4","1:3.3.6-4.1"],"bundled":3},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"amanda","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.5.1-1ubuntu0.1"}]}],"versions":["1:3.3.9-5build1","1:3.5-2","1:3.5.1-1","1:3.5.1-1build1","1:3.5.1-1build2"],"bundled":3},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"amanda","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.5.1-2ubuntu0.1"}]}],"versions":["1:3.5.1-2build2","1:3.5.1-2build3"],"bundled":3},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"amanda","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.5.1-8ubuntu1.1"}]}],"versions":["1:3.5.1-5ubuntu1","1:3.5.1-8","1:3.5.1-8ubuntu1"],"bundled":3},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"amanda","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.5.1-1ubuntu0.3"}]}],"versions":["1:3.3.9-5build1","1:3.5-2","1:3.5.1-1","1:3.5.1-1build1","1:3.5.1-1build2","1:3.5.1-1ubuntu0.1","1:3.5.1-1ubuntu0.2"],"bundled":3},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"amanda","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.5.1-2ubuntu0.3"}]}],"versions":["1:3.5.1-2build2","1:3.5.1-2build3","1:3.5.1-2ubuntu0.1","1:3.5.1-2ubuntu0.2"],"bundled":3},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"amanda","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.5.1-8ubuntu1.3"}]}],"versions":["1:3.5.1-5ubuntu1","1:3.5.1-8","1:3.5.1-8ubuntu1","1:3.5.1-8ubuntu1.1","1:3.5.1-8ubuntu1.2"],"bundled":3},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"amanda","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.3-1.1"}]}],"bundled":2}],"products":[{"vendor":"amanda","product":"amanda"}],"references":[{"url":"http://www.amanda.org/","tags":["x_transferred","Vendor Advisory","web","report"]},{"url":"https://github.com/MaherAzzouzi/CVE-2022-37703","tags":["x_transferred","Third Party Advisory","package","report"]},{"url":"https://bugs.gentoo.org/870037","tags":["x_transferred","Third Party Advisory","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ATMGMVS3QDN6OMKMHGUTUTU7NS7HR3BZ/","tags":["vendor-advisory","x_transferred","advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JYREA6LFXF5M7K4WLNJV5VNQPS4MTBW2/","tags":["vendor-advisory","x_transferred","advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/A5DCLSX5YYTWMKSMDL67M5STZ5ZDSOXK/","tags":["vendor-advisory","x_transferred","advisory"]},{"url":"https://github.com/zmanda/amanda/releases/tag/tag-community-3.5.3","tags":["x_transferred","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/12/msg00003.html","tags":["mailing-list","x_transferred","article"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/09/msg00023.html","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-37703","tags":["advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/A5DCLSX5YYTWMKSMDL67M5STZ5ZDSOXK"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ATMGMVS3QDN6OMKMHGUTUTU7NS7HR3BZ"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JYREA6LFXF5M7K4WLNJV5VNQPS4MTBW2"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/A5DCLSX5YYTWMKSMDL67M5STZ5ZDSOXK"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ATMGMVS3QDN6OMKMHGUTUTU7NS7HR3BZ"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JYREA6LFXF5M7K4WLNJV5VNQPS4MTBW2"},{"url":"http://www.amanda.org"},{"url":"https://github.com/advisories/GHSA-j9rc-2hv9-v5v8"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/37xxx/CVE-2022-37703.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-37703","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2022-37703","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-5966-3","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-37703","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-5966-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2022-37704","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2022-37705","tags":["report"]},{"url":"https://launchpad.net/bugs/2012536","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2022-37703","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2022-37704","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2022-37703","description":"In Amanda 3.5.1, an information leak vulnerability was found in the calcsize SUID binary. An attacker can abuse this vulnerability to know if a directory exists or not anywhere in the fs. The binary will use `opendir()` as root directly without checking the path, letting the attacker provide an arbitrary path.","status":"published","published":"2022-09-13T00:00:00Z","modified":"2025-11-04T16:09:48.244Z","updated_at":"2026-11-02T14:34:26.977054Z"}],"euvd":[{"id":"EUVD-2022-40317","description":"In Amanda 3.5.1, an information leak vulnerability was found in the calcsize SUID binary. An attacker can abuse this vulnerability to know if a directory exists or not anywhere in the fs. The binary will use `opendir()` as root directly without checking the path, letting the attacker provide an arbitrary path.","status":"published","published":"2022-09-13T00:00:00Z","modified":"2025-11-04T16:09:48Z","updated_at":"2026-11-02T19:49:29.391161Z"}],"ghsa":[{"id":"GHSA-j9rc-2hv9-v5v8","title":"In Amanda 3.5.1, an information leak vulnerability was found in the calcsize SUID binary. An...","description":"In Amanda 3.5.1, an information leak vulnerability was found in the calcsize SUID binary. An attacker can abuse this vulnerability to know if a directory exists or not anywhere in the fs. The binary will use `opendir()` as root directly without checking the path, letting the attacker provide an arbitrary path.","status":"published","published":"2022-09-14T00:00:44Z","modified":"2025-11-04T18:31:42Z","cvss":[{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"low"}],"cwes":["CWE-22","CWE-668"],"updated_at":"2026-11-02T15:04:34.447716Z"}],"nvd":[{"id":"CVE-2022-37703","description":"In Amanda 3.5.1, an information leak vulnerability was found in the calcsize SUID binary. An attacker can abuse this vulnerability to know if a directory exists or not anywhere in the fs. The binary will use `opendir()` as root directly without checking the path, letting the attacker provide an arbitrary path.","status":"published","published":"2022-09-13T20:15:09.793Z","modified":"2026-06-17T04:55:10.833Z","cvss":[{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"low","assessor":"primary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:07:27.631109Z"}],"osv":[{"id":"DEBIAN-CVE-2022-37703","description":"In Amanda 3.5.1, an information leak vulnerability was found in the calcsize SUID binary. An attacker can abuse this vulnerability to know if a directory exists or not anywhere in the fs. The binary will use `opendir()` as root directly without checking the path, letting the attacker provide an arbitrary path.","status":"published","published":"2022-09-13T20:15:09.793Z","modified":"2026-11-03T08:03:54.263793689Z","cvss":[{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"low"}],"updated_at":"2026-11-03T08:23:34.488036Z"},{"id":"UBUNTU-CVE-2022-37703","description":"In Amanda 3.5.1, an information leak vulnerability was found in the calcsize SUID binary. An attacker can abuse this vulnerability to know if a directory exists or not anywhere in the fs. The binary will use `opendir()` as root directly without checking the path, letting the attacker provide an arbitrary path.","status":"published","published":"2022-09-13T20:15:00Z","modified":"2026-02-04T04:01:40.671283Z","cvss":[{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"low"}],"updated_at":"2026-11-02T16:53:54.697021Z"},{"id":"CVE-2022-37703","description":"In Amanda 3.5.1, an information leak vulnerability was found in the calcsize SUID binary. An attacker can abuse this vulnerability to know if a directory exists or not anywhere in the fs. The binary will use `opendir()` as root directly without checking the path, letting the attacker provide an arbitrary path.","status":"published","published":"2022-09-13T00:00:00Z","modified":"2026-10-28T02:30:29.366517206Z","updated_at":"2026-11-02T15:44:26.53798Z"},{"id":"DLA-3681-1","title":"amanda - security update","status":"published","published":"2023-12-03T00:00:00Z","modified":"2026-03-09T01:22:34.58434Z","updated_at":"2026-11-02T15:46:12.203458Z"},{"id":"DLA-3880-1","title":"amanda - security update","status":"published","published":"2024-09-07T00:00:00Z","modified":"2026-03-09T01:22:25.856002Z","updated_at":"2026-11-02T15:46:12.203458Z"},{"id":"openSUSE-SU-2024:12808-1","title":"amanda-3.5.3-1.1 on GA media","description":"These are all security issues fixed in the amanda-3.5.3-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T02:42:48.157421Z","updated_at":"2026-11-02T16:58:35.751245Z"},{"id":"USN-5966-1","title":"amanda vulnerabilities","description":"Maher Azzouzi discovered an information disclosure vulnerability in the\ncalcsize binary within amanda. calcsize is a suid binary owned by root that\ncould possibly be used by a malicious local attacker to expose sensitive\nfile system information. (CVE-2022-37703)\n\nMaher Azzouzi discovered a privilege escalation vulnerability in the\nrundump binary within amanda. rundump is a suid binary owned by root that\ndid not perform adequate sanitization of environment variables or\ncommandline options and could possibly be used by a malicious local\nattacker to escalate privileges. (CVE-2022-37704)\n\nMaher Azzouzi discovered a privilege escalation vulnerability in the runtar\nbinary within amanda. runtar is a suid binary owned by root that did not\nperform adequate sanitization of commandline options and could possibly be\nused by a malicious local attacker to escalate privileges. (CVE-2022-37705)\n","status":"published","published":"2023-03-23T06:20:37Z","modified":"2026-02-10T04:43:01Z","updated_at":"2026-11-02T16:58:16.738762Z"},{"id":"USN-5966-3","title":"amanda regression","description":"USN-5966-1 fixed vulnerabilities in amanda. Unfortunately that update\ncaused a regression and was reverted in USN-5966-2. This update provides\nsecurity fixes for Ubuntu 22.10, Ubuntu 22.04 LTS, Ubuntu 20.04\nLTS and Ubuntu 18.04 LTS.\n\nWe apologize for the inconvenience.\n\nOriginal advisory details:\n\nMaher Azzouzi discovered an information disclosure vulnerability in the\ncalcsize binary within amanda. calcsize is a suid binary owned by root that\ncould possibly be used by a malicious local attacker to expose sensitive\nfile system information. (CVE-2022-37703)\n\nMaher Azzouzi discovered a privilege escalation vulnerability in the\nrundump binary within amanda. rundump is a suid binary owned by root that\ndid not perform adequate sanitization of environment variables or\ncommandline options and could possibly be used by a malicious local\nattacker to escalate privileges. (CVE-2022-37704)\n\nMaher Azzouzi discovered a privilege escalation vulnerability in the runtar\nbinary within amanda. runtar is a suid binary owned by root that did not\nperform adequate sanitization of commandline options and could possibly be\nused by a malicious local attacker to escalate privileges. (CVE-2022-37705)\n \n","status":"published","published":"2023-04-03T02:46:52Z","modified":"2026-02-10T04:43:01Z","updated_at":"2026-11-02T16:58:16.738762Z"}]}}
