Skip to content
OpenAdvisories
Unscored CVE-2020-15709 EUVD-2020-7695GHSA-9gjg-6646-fqxh

add-apt-repository print ASNI terminal codes

Published Sep 5, 2020 · Updated Sep 17, 2024 · Assigned by canonical

Description

Versions of add-apt-repository before 0.98.9.2, 0.96.24.32.14, 0.96.20.10, and 0.92.37.8ubuntu0.1~esm1, printed a PPA (personal package archive) description to the terminal as-is, which allowed PPA owners to provide ANSI terminal escapes to modify terminal contents in unexpected ways.

Affected products

VendorProductAffectedFixed
Canonical add-apt-repository 0.98.9.* – < 0.98.9.2, 0.96.24.32.* – < 0.96.24.32.14, 0.96.20.* – < 0.96.20.10, 0.92.37.* – < 0.92.37.8ubuntu0.1~esm1 0.98.9.2

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
Debian 12 software-properties No fix yet —
Debian 9 software-properties 0.96.20.2-1+deb9u1 DLA-2339-1
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS software-properties 0.98.9.2 USN-4457-1
Ubuntu 18.04 LTS software-properties 0.96.24.32.14 USN-4457-1
Ubuntu 16.04 LTS software-properties 0.96.20.10 USN-4457-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 14.04 LTS software-properties 0.92.37.8ubuntu0.1~esm1 USN-4457-2

Advisories 3

References