{"id":"CVE-2020-13696","state":"PUBLISHED","title":"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 fro","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.","publishedAt":"2020-06-08T16:32:54.000Z","updatedAt":"2024-08-04T12:25:16.525Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://git.linuxtv.org/xawtv3.git/commit/?id=31f31f9cbaee7be806cba38e0ff5431bd44b20a3","https://git.linuxtv.org/xawtv3.git/commit/?id=36dc44e68e5886339b4a0fbe3f404fb1a4fd2292","https://git.linuxtv.org/xawtv3.git/commit/?id=8e3feea862db68d3ca0886f46cd99fab45d2db7c","https://bugzilla.suse.com/show_bug.cgi?id=CVE-2020-13696","http://www.openwall.com/lists/oss-security/2020/06/04/6","http://lists.opensuse.org/opensuse-security-announce/2020-06/msg00009.html","http://lists.opensuse.org/opensuse-security-announce/2020-06/msg00013.html","https://lists.debian.org/debian-lts-announce/2020/06/msg00018.html","https://usn.ubuntu.com/4518-1/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ELOXU5LXQSQOXX64D4BICZV3TQWOBXHC/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/I7XWAO7W2DGA6M52JGK2TDWUGF62Q2KY/"],"weaknesses":[],"ingestedAt":"2026-10-29T19:46:30.825Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2020/13xxx/CVE-2020-13696.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2020-13696","state":"PUBLISHED","datePublished":"2020-06-08T16:32:54.000Z","dateUpdated":"2024-08-04T12:25:16.525Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2020-05-29T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://git.linuxtv.org/xawtv3.git/commit/?id=31f31f9cbaee7be806cba38e0ff5431bd44b20a3","tags":["x_refsource_MISC"]},{"url":"https://git.linuxtv.org/xawtv3.git/commit/?id=36dc44e68e5886339b4a0fbe3f404fb1a4fd2292","tags":["x_refsource_MISC"]},{"url":"https://git.linuxtv.org/xawtv3.git/commit/?id=8e3feea862db68d3ca0886f46cd99fab45d2db7c","tags":["x_refsource_MISC"]},{"url":"https://bugzilla.suse.com/show_bug.cgi?id=CVE-2020-13696","tags":["x_refsource_MISC"]},{"url":"http://www.openwall.com/lists/oss-security/2020/06/04/6","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-06/msg00009.html","name":"openSUSE-SU-2020:0784","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-06/msg00013.html","name":"openSUSE-SU-2020:0787","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/06/msg00018.html","name":"[debian-lts-announce] 20200612 [SECURITY] [DLA 2246-1] xawtv security update","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://usn.ubuntu.com/4518-1/","name":"USN-4518-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ELOXU5LXQSQOXX64D4BICZV3TQWOBXHC/","name":"FEDORA-2020-cd5ad916e4","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/I7XWAO7W2DGA6M52JGK2TDWUGF62Q2KY/","name":"FEDORA-2020-93db553bb7","tags":["vendor-advisory","x_refsource_FEDORA"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2020-10-05T02:06:13.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2020-13696","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://git.linuxtv.org/xawtv3.git/commit/?id=31f31f9cbaee7be806cba38e0ff5431bd44b20a3","refsource":"MISC","url":"https://git.linuxtv.org/xawtv3.git/commit/?id=31f31f9cbaee7be806cba38e0ff5431bd44b20a3"},{"name":"https://git.linuxtv.org/xawtv3.git/commit/?id=36dc44e68e5886339b4a0fbe3f404fb1a4fd2292","refsource":"MISC","url":"https://git.linuxtv.org/xawtv3.git/commit/?id=36dc44e68e5886339b4a0fbe3f404fb1a4fd2292"},{"name":"https://git.linuxtv.org/xawtv3.git/commit/?id=8e3feea862db68d3ca0886f46cd99fab45d2db7c","refsource":"MISC","url":"https://git.linuxtv.org/xawtv3.git/commit/?id=8e3feea862db68d3ca0886f46cd99fab45d2db7c"},{"name":"https://bugzilla.suse.com/show_bug.cgi?id=CVE-2020-13696","refsource":"MISC","url":"https://bugzilla.suse.com/show_bug.cgi?id=CVE-2020-13696"},{"name":"http://www.openwall.com/lists/oss-security/2020/06/04/6","refsource":"CONFIRM","url":"http://www.openwall.com/lists/oss-security/2020/06/04/6"},{"name":"openSUSE-SU-2020:0784","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2020-06/msg00009.html"},{"name":"openSUSE-SU-2020:0787","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2020-06/msg00013.html"},{"name":"[debian-lts-announce] 20200612 [SECURITY] [DLA 2246-1] xawtv security update","refsource":"MLIST","url":"https://lists.debian.org/debian-lts-announce/2020/06/msg00018.html"},{"name":"USN-4518-1","refsource":"UBUNTU","url":"https://usn.ubuntu.com/4518-1/"},{"name":"FEDORA-2020-cd5ad916e4","refsource":"FEDORA","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ELOXU5LXQSQOXX64D4BICZV3TQWOBXHC/"},{"name":"FEDORA-2020-93db553bb7","refsource":"FEDORA","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/I7XWAO7W2DGA6M52JGK2TDWUGF62Q2KY/"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://git.linuxtv.org/xawtv3.git/commit/?id=31f31f9cbaee7be806cba38e0ff5431bd44b20a3","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://git.linuxtv.org/xawtv3.git/commit/?id=36dc44e68e5886339b4a0fbe3f404fb1a4fd2292","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://git.linuxtv.org/xawtv3.git/commit/?id=8e3feea862db68d3ca0886f46cd99fab45d2db7c","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://bugzilla.suse.com/show_bug.cgi?id=CVE-2020-13696","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2020/06/04/6","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-06/msg00009.html","name":"openSUSE-SU-2020:0784","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-06/msg00013.html","name":"openSUSE-SU-2020:0787","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/06/msg00018.html","name":"[debian-lts-announce] 20200612 [SECURITY] [DLA 2246-1] xawtv security update","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://usn.ubuntu.com/4518-1/","name":"USN-4518-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ELOXU5LXQSQOXX64D4BICZV3TQWOBXHC/","name":"FEDORA-2020-cd5ad916e4","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/I7XWAO7W2DGA6M52JGK2TDWUGF62Q2KY/","name":"FEDORA-2020-93db553bb7","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T12:25:16.525Z"}}]}}}