CVE-2013-4343
published 2013-09-25CVE-2013-4343: Use-after-free vulnerability in drivers/net/tun.c in the Linux kernel through 3.11.1 allows local users to gain privileges by leveraging the CAP_NET_ADMIN…
PriorityP425medium6.9CVSS 2.0
AVLACMAuNCCICAC
EPSS
0.36%
28.3th percentile
Use-after-free vulnerability in drivers/net/tun.c in the Linux kernel through 3.11.1 allows local users to gain privileges by leveraging the CAP_NET_ADMIN capability and providing an invalid tuntap interface name in a TUNSETIFF ioctl call.
Affected
15 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | linux | < linux 3.11.5-1 (bookworm) | linux 3.11.5-1 (bookworm) |
| debian | linux | < linux 4.14.2-1 (bookworm) | linux 4.14.2-1 (bookworm) |
| linux | linux_kernel | < 4.13.14 | 4.13.14 |
| linux | linux_kernel | >= 0 < 3.11.5-1 | 3.11.5-1 |
| linux | linux_kernel | >= 0 < 4.14.2-1 | 4.14.2-1 |
| linux | linux_kernel | >= 0 < 3.11.5-1 | 3.11.5-1 |
| linux | linux_kernel | >= 0 < 4.14.2-1 | 4.14.2-1 |
| linux | linux_kernel | >= 0 < 3.11.5-1 | 3.11.5-1 |
| linux | linux_kernel | >= 0 < 4.14.2-1 | 4.14.2-1 |
| linux | linux_kernel | >= 0 < 3.11.5-1 | 3.11.5-1 |
| linux | linux_kernel | >= 0 < 4.14.2-1 | 4.14.2-1 |
| linux | linux_kernel | >= 3.11 < 3.11.5 | 3.11.5 |
| linux | linux_kernel | >= 3.8 < 3.10.16 | 3.10.16 |
CVSS provenance
nvdv2.06.9MEDIUMAV:L/AC:M/Au:N/C:C/I:C/A:C
osv6.9MEDIUM
vendor_debian6.9MEDIUM
vendor_redhat6.9MEDIUM
vendor_ubuntu3.6LOW
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-p54q-624c-fr42: In the tun subsystem in the Linux kernel before 4
ghsa_unreviewed·2022-05-24·CVSS 6.9
CVE-2018-7191 [MEDIUM] GHSA-p54q-624c-fr42: In the tun subsystem in the Linux kernel before 4
In the tun subsystem in the Linux kernel before 4.13.14, dev_get_valid_name is not called before register_netdevice. This allows local users to cause a denial of service (NULL pointer dereference and panic) via an ioctl(TUNSETIFF) call with a dev name containing a / character. This is similar to CVE-2013-4343.
GHSA
GHSA-p6h8-8fv7-v27h: Use-after-free vulnerability in drivers/net/tun
ghsa_unreviewed·2022-05-14
CVE-2013-4343 [MEDIUM] GHSA-p6h8-8fv7-v27h: Use-after-free vulnerability in drivers/net/tun
Use-after-free vulnerability in drivers/net/tun.c in the Linux kernel through 3.11.1 allows local users to gain privileges by leveraging the CAP_NET_ADMIN capability and providing an invalid tuntap interface name in a TUNSETIFF ioctl call.
OSV
CVE-2018-7191: In the tun subsystem in the Linux kernel before 4
osv·2019-05-17·CVSS 6.9
CVE-2018-7191 [MEDIUM] CVE-2018-7191: In the tun subsystem in the Linux kernel before 4
In the tun subsystem in the Linux kernel before 4.13.14, dev_get_valid_name is not called before register_netdevice. This allows local users to cause a denial of service (NULL pointer dereference and panic) via an ioctl(TUNSETIFF) call with a dev name containing a / character. This is similar to CVE-2013-4343.
OSV
CVE-2013-4343: Use-after-free vulnerability in drivers/net/tun
osv·2013-09-25·CVSS 6.9
CVE-2013-4343 [MEDIUM] CVE-2013-4343: Use-after-free vulnerability in drivers/net/tun
Use-after-free vulnerability in drivers/net/tun.c in the Linux kernel through 3.11.1 allows local users to gain privileges by leveraging the CAP_NET_ADMIN capability and providing an invalid tuntap interface name in a TUNSETIFF ioctl call.
Red Hat
kernel: denial of service via ioctl call in network tun handling
vendor_redhat·2018-01-17·CVSS 6.9
CVE-2018-7191 [MEDIUM] CWE-400 kernel: denial of service via ioctl call in network tun handling
kernel: denial of service via ioctl call in network tun handling
In the tun subsystem in the Linux kernel before 4.13.14, dev_get_valid_name is not called before register_netdevice. This allows local users to cause a denial of service (NULL pointer dereference and panic) via an ioctl(TUNSETIFF) call with a dev name containing a / character. This is similar to CVE-2013-4343.
A flaw was found in the Linux kernel's implementation of networking tunnel device ioctl. A local attacker can cause a denial of service (NULL pointer dereference and panic) via an ioctl (TUNSETIFF) call with a dev name containing a / character.
Package: kernel (Red Hat Enterprise Linux 5) - Out of support scope
Package: kernel (Red Hat Enterprise Linux 6) - Will not fix
Package: kernel-alt (Red Hat Enterprise Linux
Debian
CVE-2018-7191: linux - In the tun subsystem in the Linux kernel before 4.13.14, dev_get_valid_name is n...
vendor_debian·2018·CVSS 6.9
CVE-2018-7191 [MEDIUM] CVE-2018-7191: linux - In the tun subsystem in the Linux kernel before 4.13.14, dev_get_valid_name is n...
In the tun subsystem in the Linux kernel before 4.13.14, dev_get_valid_name is not called before register_netdevice. This allows local users to cause a denial of service (NULL pointer dereference and panic) via an ioctl(TUNSETIFF) call with a dev name containing a / character. This is similar to CVE-2013-4343.
Scope: local
bookworm: resolved (fixed in 4.14.2-1)
bullseye: resolved (fixed in 4.14.2-1)
forky: resolved (fixed in 4.14.2-1)
sid: resolved (fixed in 4.14.2-1)
trixie: resolved (fixed in 4.14.2-1)
Ubuntu
Linux kernel vulnerabilities
vendor_ubuntu·2013-12-07·CVSS 3.6
CVE-2013-4270 [LOW] Linux kernel vulnerabilities
Title: Linux kernel vulnerabilities
Summary: Several security issues were fixed in the kernel.
Miroslav Vadkerti discovered a flaw in how the permissions for network
sysctls are handled in the Linux kernel. An unprivileged local user could
exploit this flaw to have privileged access to files in /proc/sys/net/.
(CVE-2013-4270)
A flaw was discovered in the Linux kernel's dm snapshot facility. A remote
authenticated user could exploit this flaw to obtain sensitive information
or modify/corrupt data. (CVE-2013-4299)
Wannes Rombouts reported a vulnerability in the networking tuntap interface
of the Linux kernel. A local user with the CAP_NET_ADMIN capability could
leverage this flaw to gain full admin privileges. (CVE-2013-4343)
Alan Chester reported a flaw in the IPv6 Stream Control Trans
Ubuntu
Linux kernel vulnerabilities
vendor_ubuntu·2013-11-08·CVSS 3.2
CVE-2013-0343 [LOW] Linux kernel vulnerabilities
Title: Linux kernel vulnerabilities
Summary: Several security issues were fixed in the kernel.
An information leak was discovered in the handling of ICMPv6 Router
Advertisement (RA) messages in the Linux kernel's IPv6 network stack. A
remote attacker could exploit this flaw to cause a denial of service
(excessive retries and address-generation outage), and consequently obtain
sensitive information. (CVE-2013-0343)
Dan Carpenter discovered an information leak in the HP Smart Array and
Compaq SMART2 disk-array driver in the Linux kernel. A local user could
exploit this flaw to obtain sensitive information from kernel memory.
(CVE-2013-2147)
Kees Cook discovered flaw in the Human Interface Device (HID) subsystem
when CONFIG_HID_ZEROPLUS is enabled. A physically proximate attacker could
le
Ubuntu
Linux kernel (Raring HWE) vulnerabilities
vendor_ubuntu·2013-11-08·CVSS 3.2
CVE-2013-0343 [LOW] Linux kernel (Raring HWE) vulnerabilities
Title: Linux kernel (Raring HWE) vulnerabilities
Summary: Several security issues were fixed in the kernel.
An information leak was discovered in the handling of ICMPv6 Router
Advertisement (RA) messages in the Linux kernel's IPv6 network stack. A
remote attacker could exploit this flaw to cause a denial of service
(excessive retries and address-generation outage), and consequently obtain
sensitive information. (CVE-2013-0343)
Dan Carpenter discovered an information leak in the HP Smart Array and
Compaq SMART2 disk-array driver in the Linux kernel. A local user could
exploit this flaw to obtain sensitive information from kernel memory.
(CVE-2013-2147)
Kees Cook discovered flaw in the Human Interface Device (HID) subsystem
when CONFIG_HID_ZEROPLUS is enabled. A physically proximate atta
Red Hat
Kernel: net: use-after-free TUNSETIFF
vendor_redhat·2013-09-11·CVSS 6.9
CVE-2013-4343 [MEDIUM] CWE-416 Kernel: net: use-after-free TUNSETIFF
Kernel: net: use-after-free TUNSETIFF
Use-after-free vulnerability in drivers/net/tun.c in the Linux kernel through 3.11.1 allows local users to gain privileges by leveraging the CAP_NET_ADMIN capability and providing an invalid tuntap interface name in a TUNSETIFF ioctl call.
Statement: This issue does not affect the versions of the kernel package as shipped with Red Hat Enterprise Linux 5, 6 and Red Hat Enterprise MRG 2.
Package: kernel (Red Hat Enterprise Linux 5) - Not affected
Package: kernel (Red Hat Enterprise Linux 6) - Not affected
Package: kernel (Red Hat Enterprise Linux 7) - Not affected
Debian
CVE-2013-4343: linux - Use-after-free vulnerability in drivers/net/tun.c in the Linux kernel through 3....
vendor_debian·2013·CVSS 6.9
CVE-2013-4343 [MEDIUM] CVE-2013-4343: linux - Use-after-free vulnerability in drivers/net/tun.c in the Linux kernel through 3....
Use-after-free vulnerability in drivers/net/tun.c in the Linux kernel through 3.11.1 allows local users to gain privileges by leveraging the CAP_NET_ADMIN capability and providing an invalid tuntap interface name in a TUNSETIFF ioctl call.
Scope: local
bookworm: resolved (fixed in 3.11.5-1)
bullseye: resolved (fixed in 3.11.5-1)
forky: resolved (fixed in 3.11.5-1)
sid: resolved (fixed in 3.11.5-1)
trixie: resolved (fixed in 3.11.5-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2013-4343 Kernel: net: use-after-free TUNSETIFF
bugzilla·2013-09-13·CVSS 6.9
CVE-2013-4343 [MEDIUM] CVE-2013-4343 Kernel: net: use-after-free TUNSETIFF
CVE-2013-4343 Kernel: net: use-after-free TUNSETIFF
Linux kernel built with the Universal TUN/TAP device driver(CONFIG_TUN) support
is vulnerable to a potential privilege escalation via an use-after-free flaw.
It could occur while doing an ioctl(TUNSETIFF) call.
A privileged(CAP_NET_ADMIN) user/program could use this flaw to crash the
kernel resulting DoS or potentially escalate privileges to gain root access
to a system.
Upstream fix:
-> https://lkml.org/lkml/2013/9/11/335
Reference:
-> http://www.openwall.com/lists/oss-security/2013/09/12/3
Discussion:
Statement:
This issue does not affect the versions of the kernel package as shipped with Red Hat Enterprise Linux 5, 6 and Red Hat Enterprise MRG 2.
---
Created kernel tracking bugs for this issue:
Affects: fedora-all [bug 100774
Bugzilla
CVE-2013-4343 Kernel: net: use-after-free TUNSETIFF [fedora-all]
bugzilla·2013-09-13·CVSS 6.9
CVE-2013-4343 [MEDIUM] CVE-2013-4343 Kernel: net: use-after-free TUNSETIFF [fedora-all]
CVE-2013-4343 Kernel: net: use-after-free TUNSETIFF [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When creating a Bodhi update request, please use the bodhi submission link
noted in the next comment(s). This will include the bug IDs of this
tracking bug as well as the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
Bodhi notes field when available.
Please note: this issue affects multiple
http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00071.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-06/msg00039.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-06/msg00048.htmlhttp://marc.info/?l=linux-kernel&m=137889490510745&w=2http://rhn.redhat.com/errata/RHSA-2013-1490.htmlhttp://www.openwall.com/lists/oss-security/2013/09/12/3http://www.spinics.net/lists/netdev/msg250066.htmlhttp://www.ubuntu.com/usn/USN-2020-1http://www.ubuntu.com/usn/USN-2023-1http://www.ubuntu.com/usn/USN-2049-1https://bugzilla.redhat.com/show_bug.cgi?id=1007733http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00071.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-06/msg00039.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-06/msg00048.htmlhttp://marc.info/?l=linux-kernel&m=137889490510745&w=2http://rhn.redhat.com/errata/RHSA-2013-1490.htmlhttp://www.openwall.com/lists/oss-security/2013/09/12/3http://www.spinics.net/lists/netdev/msg250066.htmlhttp://www.ubuntu.com/usn/USN-2020-1http://www.ubuntu.com/usn/USN-2023-1http://www.ubuntu.com/usn/USN-2049-1https://bugzilla.redhat.com/show_bug.cgi?id=1007733
2013-09-25
Published