Skip to content
OpenAdvisories
High · 7.3 CVE-2021-32550 EUVD-2021-19395GHSA-x4fx-g8rh-wxj5

apport read_file() function could follow maliciously constructed symbolic links

Published Jun 12, 2021 · Updated Sep 16, 2024 · Assigned by canonical

Description

It was discovered that read_file() in apport/hookutils.py would follow symbolic links or open FIFOs. When this function is used by the openjdk-14 package apport hooks, it could expose private data to other local users.

Affected products

VendorProductAffectedFixed
Canonical apport 2.20.1 – < 2.20.1-0ubuntu2.30+esm1, 2.20.9 – < 2.20.9-0ubuntu7.24, 2.20.11-0ubuntu27 – < 2.20.11-0ubuntu27.18, 2.20.11-0ubuntu50 – < 2.20.11-0ubuntu50.7, 2.20.11-0ubuntu65 – < 2.20.11-0ubuntu65.1, 2.14.1-0ubuntu3 – < 2.14.1-0ubuntu3.29+esm7 2.20.1-0ubuntu2.30+esm1

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS apport 2.20.11-0ubuntu27.18 USN-4965-1
Ubuntu 18.04 LTS apport 2.20.9-0ubuntu7.24 USN-4965-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS apport 2.20.1-0ubuntu2.30+esm1 USN-4965-2
Ubuntu Pro 14.04 LTS apport 2.14.1-0ubuntu3.29+esm7 USN-4965-2

Advisories 2

References