Incorrect Permission Assignment for Critical Resource Affecting xawtv package, versions <3.103-3+deb8u1build0.16.04.1


Severity

Recommended
low

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.36% (28th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU1604-XAWTV-674586
  • published15 Sept 2020
  • disclosed8 Jun 2020

Introduced: 8 Jun 2020

CVE-2020-13696  (opens in a new tab)
CWE-732  (opens in a new tab)

How to fix?

Upgrade Ubuntu:16.04 xawtv to version 3.103-3+deb8u1build0.16.04.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream xawtv package and not the xawtv package as distributed by Ubuntu. See How to fix? for Ubuntu:16.04 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1