Incorrect Permission Assignment for Critical Resource Affecting xawtv package, versions <3.107-1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

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-DEBIAN11-XAWTV-571380
  • published4 Jun 2020
  • disclosed8 Jun 2020

Introduced: 4 Jun 2020

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

How to fix?

Upgrade Debian:11 xawtv to version 3.107-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 Debian. See How to fix? for Debian:11 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