{"id":"UBUNTU-CVE-2021-38172","details":"perM 0.4.0 has a Buffer Overflow related to strncpy. (Debian initially fixed this in 0.4.0-7.)","modified":"2026-05-20T16:05:08.691126743Z","published":"2022-02-05T18:15:00Z","upstream":["CVE-2021-38172"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-38172"},{"type":"REPORT","url":"https://lists.debian.org/debian-med/2021/08/msg00016.html"},{"type":"REPORT","url":"https://tracker.debian.org/pkg/perm"},{"type":"REPORT","url":"https://salsa.debian.org/med-team/perm/-/commits/master/"},{"type":"REPORT","url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=993019"},{"type":"REPORT","url":"https://packages.qa.debian.org/p/perm.html"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-38172"}],"affected":[{"package":{"name":"perm","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/perm?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.4.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"perm","binary_version":"0.4.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-38172.json"}},{"package":{"name":"perm","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/perm?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.4.0-3"],"ecosystem_specific":{"binaries":[{"binary_version":"0.4.0-3","binary_name":"perm"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-38172.json"}},{"package":{"name":"perm","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/perm?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.4.0-4","0.4.0-4build1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.4.0-4build1","binary_name":"perm"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-38172.json"}},{"package":{"name":"perm","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/perm?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.4.0-7","0.4.0-8"],"ecosystem_specific":{"binaries":[{"binary_name":"perm","binary_version":"0.4.0-8"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-38172.json"}},{"package":{"name":"perm","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/perm?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.4.0-8"],"ecosystem_specific":{"binaries":[{"binary_version":"0.4.0-8","binary_name":"perm"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-38172.json"}},{"package":{"name":"perm","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/perm?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.4.0-8"],"ecosystem_specific":{"binaries":[{"binary_name":"perm","binary_version":"0.4.0-8"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-38172.json"}},{"package":{"name":"perm","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/perm?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.4.0-8"],"ecosystem_specific":{"binaries":[{"binary_name":"perm","binary_version":"0.4.0-8"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-38172.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}