Skip to content

CVE-2020-13696 An issue was discovered in LinuxTV xawtv before 3.107. The function dev_open() in v4l-conf.c does not perform sufficient checks to prevent an unprivileged caller of the program from opening unintended...

MediumCVSS 4.4 EPSS 0.36%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

Description

An issue was discovered in LinuxTV xawtv before 3.107. The function dev_open() in v4l-conf.c does not perform sufficient checks to prevent an unprivileged caller of the program from opening unintended filesystem paths. This allows a local attacker with access to the v4l-conf setuid-root program to test for the existence of arbitrary files and to trigger an open on arbitrary files with mode O_RDWR. To achieve this, relative path components need to be added to the device path, as demonstrated by a v4l-conf -c /dev/../root/.bash_history command.

Upgrade path

12 packages: 5 fixed, 2 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/xawtv(Ubuntu 18.04) = 3.103-4build1; All versions No fix listed No fix yet
ubuntu/xawtv(Ubuntu 20.04) = 3.106-1; All versions No fix listed No fix yet
debian/xawtv(Debian 12) < 3.107-1 3.107-1 Fixed
debian/xawtv(Debian 13) < 3.107-1 3.107-1 Fixed
debian/xawtv(Debian 14) < 3.107-1 3.107-1 Fixed
linuxtv xawtv < 3.107 3.107 Fixed
ubuntu/xawtv(Ubuntu 16.04) < 3.103-3+deb8u1build0.16.04.1; = 3.103-3; = 3.103-3build1 3.103-3+deb8u1build0.16.04.1 Fixed
Canonical Ubuntu Linux = 16.04 No fix listed Versions listed
debian linux = 8.0 No fix listed Versions listed
fedoraproject fedora = 31; = 32 No fix listed Versions listed
openSUSE backports sle = 15.0-sp1 No fix listed Versions listed
openSUSE leap = 15.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/xawtv(Debian:12) < 3.107-1 3.107-1
debian/xawtv(Debian:13) < 3.107-1 3.107-1
debian/xawtv(Debian:14) < 3.107-1 3.107-1
linuxtv xawtv < 3.107 3.107
debian linux = 8.0 No fix listed
openSUSE backports sle = 15.0-sp1 No fix listed
openSUSE leap = 15.1 No fix listed
fedoraproject fedora = 31 No fix listed
fedoraproject fedora = 32 No fix listed
Canonical Ubuntu Linux = 16.04 No fix listed
ubuntu/xawtv(Ubuntu:16.04) < 3.103-3+deb8u1build0.16.04.1 3.103-3+deb8u1build0.16.04.1
ubuntu/xawtv(Ubuntu:16.04) = 3.103-3 No fix listed
ubuntu/xawtv(Ubuntu:16.04) = 3.103-3build1 No fix listed
ubuntu/xawtv(Ubuntu:18.04) All versions No fix listed
ubuntu/xawtv(Ubuntu:18.04) = 3.103-4build1 No fix listed
ubuntu/xawtv(Ubuntu:20.04) All versions No fix listed
ubuntu/xawtv(Ubuntu:20.04) = 3.106-1 No fix listed

References