Canonical Apport vulnerabilities, page 2
36 vulnerabilities
Known vulnerabilities in Canonical Apport, newest first, with CVSS severity, EPSS, KEV listings, ransomware use and the affected versions.
RoutineCVE-2021-32549canonical · apport +2 moreapport read_file() function could follow maliciously constructed symbolic linksIt was discovered that read_file() in apport/hookutils.py would follow symbolic links or open FIFOs. When this function is used by the openjdk-13 package apport hooks, it could expose private data to other local users.CVSS7.3HighEPSS0.29%RoutineCVE-2021-32548canonical · apport +2 moreapport read_file() function could follow maliciously constructed symbolic linksIt was discovered that read_file() in apport/hookutils.py would follow symbolic links or open FIFOs. When this function is used by the openjdk-8 package apport hooks, it could expose private data to other local users.CVSS7.3HighEPSS0.29%RoutineCVE-2021-32547canonical · apport +2 moreapport read_file() function could follow maliciously constructed symbolic linksIt was discovered that read_file() in apport/hookutils.py would follow symbolic links or open FIFOs. When this function is used by the openjdk-lts package apport hooks, it could expose private data to other local users.CVSS7.3HighEPSS0.29%PrioritiseCVE-2021-25684canonical · apport +1 moreapport can be stalled by reading a FIFOIt was discovered that apport in data/apport did not properly open a report file to prevent hanging reads on a FIFO.CVSS8.8HighEPSS0.57%PrioritiseCVE-2021-25683canonical · apport +1 moreapport improperly parses /proc/pid/statIt was discovered that the get_starttime() function in data/apport did not properly parse the /proc/pid/stat file from the kernel.CVSS8.8HighEPSS0.43%PrioritiseCVE-2021-25682canonical · apport +1 moreapport improperly parses /proc/pid/statusIt was discovered that the get_pid_info() function in data/apport did not properly parse the /proc/pid/status file from the kernel.CVSS8.8HighEPSS0.45%RoutineCVE-2020-15702canonical · apport +2 moreTOCTOU in apportTOCTOU Race Condition vulnerability in apport allows a local attacker to escalate privileges and execute arbitrary code. An attacker may exit the crashed process and exploit PID recycling to spawn a root process with the same PID as the crashed process, which can then be used to escalate privileges. Fixed in 2.20.1-0ubuntu2.24, 2.20.9 versions prior to 2.20.9-0ubuntu7.16 and 2.20.11 versions prior to 2.20.11-0ubuntu27.6. Was ZDI-CAN-11234.CVSS7.0HighEPSS0.50%RoutineCVE-2020-15701canonical · apport +2 moreUnhandled exception in apportAn unhandled exception in check_ignored() in apport/report.py can be exploited by a local attacker to cause a denial of service. If the mtime attribute is a string value in apport-ignore.xml, it will trigger an unhandled exception, resulting in a crash. Fixed in 2.20.1-0ubuntu2.24, 2.20.9-0ubuntu7.16, 2.20.11-0ubuntu27.6.CVSS5.5MediumEPSS0.43%RoutineCVE-2019-15790canonical · apport +3 moreApport reads PID files with elevated privilegesApport reads and writes information on a crashed process to /proc/pid with elevated privileges. Apport then determines which user the crashed process belongs to by reading /proc/pid through get_pid_info() in data/apport. An unprivileged user could exploit this to read information about a privileged running process by exploiting PID recycling. This information could then be used to obtain ASLR offsets for a process with an existing memory corruption vulnerability. The initial fix introduced regressions in the Python Apport library due to a missing argument in Report.add_proc_environ in apport/report.py. It also caused an autopkgtest failure when reading /proc/pid and with Python 2 compatibility by reading /proc maps. The initial and subsequent regression fixes are in 2.20.11-0ubuntu16, 2.20.11-0ubuntu8.6, 2.20.9-0ubuntu7.12, 2.20.1-0ubuntu2.22 and 2.14.1-0ubuntu3.29+esm3.CVSS3.3LowEPSS0.52%RoutineCVE-2020-8833canonical · apport +3 moreApport race condition in crash report permissionsTime-of-check Time-of-use Race Condition vulnerability on crash report ownership change in Apport allows for a possible privilege escalation opportunity. If fs.protected_symlinks is disabled, this can be exploited between the os.open and os.chown calls when the Apport cron script clears out crash files of size 0. A symlink with the same name as the deleted file can then be created upon which chown will be called, changing the file owner to root. Fixed in versions 2.20.1-0ubuntu2.23, 2.20.9-0ubuntu7.14, 2.20.11-0ubuntu8.8 and 2.20.11-0ubuntu22.CVSS5.6MediumEPSS0.34%RoutineCVE-2020-8831canonical · apport +3 moreWorld writable root owned lock file created in user controllable locationApport creates a world writable lock file with root ownership in the world writable /var/lock/apport directory. If the apport/ directory does not exist (this is not uncommon as /var/lock is a tmpfs), it will create the directory, otherwise it will simply continue execution using the existing directory. This allows for a symlink attack if an attacker were to create a symlink at /var/lock/apport, changing apport's lock file location. This file could then be used to escalate privileges, for example. Fixed in versions 2.20.1-0ubuntu2.23, 2.20.9-0ubuntu7.14, 2.20.11-0ubuntu8.8 and 2.20.11-0ubuntu22.CVSS6.5MediumEPSS0.65%RoutineCVE-2019-11485canonical · apport +3 moreapport created lock file in wrong directorySander Bos discovered Apport's lock file was in a world-writable directory which allowed all users to prevent crash handling.CVSS3.3LowEPSS0.26%RoutineCVE-2019-11483canonical · apport +3 morecanonical apportSander Bos discovered Apport mishandled crash dumps originating from containers. This could be used by a local attacker to generate a crash report for a privileged process that is readable by an unprivileged user.CVSS7.0HighEPSS0.40%RoutineCVE-2019-11482canonical · apport +3 moreRace condition between reading current working directory and writing a core dumpSander Bos discovered a time of check to time of use (TOCTTOU) vulnerability in apport that allowed a user to cause core files to be written in arbitrary directories.CVSS4.7MediumEPSS0.23%RoutineCVE-2019-11481canonical · apport +3 moreApport reads arbitrary files if ~/.config/apport/settings is a symlinkKevin Backhouse discovered that apport would read a user-supplied configuration file with elevated privileges. By replacing the file with a symbolic link, a user could get apport to read any file on the system as root, with unknown consequences.CVSS7.8HighEPSS0.45%RoutineCVE-2015-1341ubuntu · apport +3 moreApport privilege escalation through Python module importsAny Python module in sys.path can be imported if the command line of the process triggering the coredump is Python and the first argument is -m in Apport before 2.19.2 function _python_module_path.CVSS7.8HighEPSS0.43%