Information Exposure Affecting xawtv package, versions [,3.107)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. 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-UNMANAGED-XAWTV-2374286
  • published26 Jan 2022
  • disclosed8 Jun 2020
  • creditUnknown

Introduced: 8 Jun 2020

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

How to fix?

Upgrade xawtv to version 3.107 or higher.

Overview

Affected versions of this package are vulnerable to Information Exposure. 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.

References

CVSS Base Scores

version 3.1