4.4
MEDIUM
CVE-2019-3701
Linux kernel Can CAN frame modificationrule allows writing arbitrary content beyond CAN controller's I/O memory
Description

An issue was discovered in can_can_gw_rcv in net/can/gw.c in the Linux kernel through 4.19.13. The CAN frame modification rules allow bitwise logical operations that can be also applied to the can_dlc field. The privileged user "root" with CAP_NET_ADMIN can create a CAN frame modification rule that makes the data length code a higher value than the available CAN frame data size. In combination with a configured checksum calculation where the result is stored relatively to the end of the data (e.g. cgw_csum_xor_rel) the tail of the skb (e.g. frag_list pointer in skb_shared_info) can be rewritten which finally can cause a system crash. Because of a missing check, the CAN drivers may write arbitrary content beyond the data registers in the CAN controller's I/O memory when processing can-gw manipulated outgoing frames.

INFO

Published Date :

Jan. 3, 2019, 4:29 p.m.

Last Modified :

Nov. 21, 2024, 4:42 a.m.

Remotely Exploitable :

No

Impact Score :

3.6

Exploitability Score :

0.8
Affected Products

The following products are affected by CVE-2019-3701 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
1 Canonical ubuntu_linux
1 Debian debian_linux
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2019-3701.

URL Resource
http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00035.html
http://www.securityfocus.com/bid/106443 Third Party Advisory VDB Entry
https://bugzilla.suse.com/show_bug.cgi?id=1120386 Exploit Issue Tracking Patch Third Party Advisory
https://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git/commit/?id=0aaa81377c5a01f686bcdb8c7a6929a7bf330c68 Mailing List Patch Vendor Advisory
https://lists.debian.org/debian-lts-announce/2019/03/msg00034.html Mailing List Third Party Advisory
https://lists.debian.org/debian-lts-announce/2019/04/msg00004.html Mailing List Third Party Advisory
https://lists.debian.org/debian-lts-announce/2019/05/msg00002.html Mailing List Third Party Advisory
https://marc.info/?l=linux-netdev&m=154651842302479&w=2 Patch Third Party Advisory
https://marc.info/?l=linux-netdev&m=154661373531512&w=2 Mailing List Patch Third Party Advisory
https://support.f5.com/csp/article/K17957133 Third Party Advisory
https://usn.ubuntu.com/3932-1/ Third Party Advisory
https://usn.ubuntu.com/3932-2/ Third Party Advisory
https://usn.ubuntu.com/4115-1/
https://usn.ubuntu.com/4118-1/
http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00035.html
http://www.securityfocus.com/bid/106443 Third Party Advisory VDB Entry
https://bugzilla.suse.com/show_bug.cgi?id=1120386 Exploit Issue Tracking Patch Third Party Advisory
https://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git/commit/?id=0aaa81377c5a01f686bcdb8c7a6929a7bf330c68 Mailing List Patch Vendor Advisory
https://lists.debian.org/debian-lts-announce/2019/03/msg00034.html Mailing List Third Party Advisory
https://lists.debian.org/debian-lts-announce/2019/04/msg00004.html Mailing List Third Party Advisory
https://lists.debian.org/debian-lts-announce/2019/05/msg00002.html Mailing List Third Party Advisory
https://marc.info/?l=linux-netdev&m=154651842302479&w=2 Patch Third Party Advisory
https://marc.info/?l=linux-netdev&m=154661373531512&w=2 Mailing List Patch Third Party Advisory
https://support.f5.com/csp/article/K17957133 Third Party Advisory
https://usn.ubuntu.com/3932-1/ Third Party Advisory
https://usn.ubuntu.com/3932-2/ Third Party Advisory
https://usn.ubuntu.com/4115-1/
https://usn.ubuntu.com/4118-1/

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2019-3701 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2019-3701 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Apr. 23, 2020

    Action Type Old Value New Value
    Added Reference http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00035.html [No Types Assigned]
  • CVE Modified by [email protected]

    Sep. 03, 2019

    Action Type Old Value New Value
    Added Reference https://usn.ubuntu.com/4115-1/ [No Types Assigned]
    Added Reference https://usn.ubuntu.com/4118-1/ [No Types Assigned]
  • Modified Analysis by [email protected]

    May. 15, 2019

    Action Type Old Value New Value
    Changed CVSS V2 (AV:N/AC:M/Au:N/C:N/I:N/A:C) (AV:L/AC:L/Au:N/C:N/I:N/A:C)
    Changed CVSS V3 AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
    Changed Reference Type https://lists.debian.org/debian-lts-announce/2019/04/msg00004.html No Types Assigned https://lists.debian.org/debian-lts-announce/2019/04/msg00004.html Mailing List, Third Party Advisory
    Changed Reference Type https://support.f5.com/csp/article/K17957133 No Types Assigned https://support.f5.com/csp/article/K17957133 Third Party Advisory
    Changed Reference Type https://usn.ubuntu.com/3932-2/ No Types Assigned https://usn.ubuntu.com/3932-2/ Third Party Advisory
    Changed Reference Type https://marc.info/?l=linux-netdev&m=154661373531512&w=2 No Types Assigned https://marc.info/?l=linux-netdev&m=154661373531512&w=2 Mailing List, Patch, Third Party Advisory
    Changed Reference Type https://usn.ubuntu.com/3932-1/ No Types Assigned https://usn.ubuntu.com/3932-1/ Third Party Advisory
    Changed Reference Type https://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git/commit/?id=0aaa81377c5a01f686bcdb8c7a6929a7bf330c68 No Types Assigned https://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git/commit/?id=0aaa81377c5a01f686bcdb8c7a6929a7bf330c68 Mailing List, Patch, Vendor Advisory
    Changed Reference Type https://lists.debian.org/debian-lts-announce/2019/05/msg00002.html No Types Assigned https://lists.debian.org/debian-lts-announce/2019/05/msg00002.html Mailing List, Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
  • CVE Modified by [email protected]

    May. 03, 2019

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2019/05/msg00002.html [No Types Assigned]
  • CVE Modified by [email protected]

    Apr. 24, 2019

    Action Type Old Value New Value
    Changed Description An issue was discovered in can_can_gw_rcv in net/can/gw.c in the Linux kernel through 4.19.13. The CAN frame modification rules allow bitwise logical operations that can be also applied to the can_dlc field. Because of a missing check, the CAN drivers may write arbitrary content beyond the data registers in the CAN controller's I/O memory when processing can-gw manipulated outgoing frames. This is related to cgw_csum_xor_rel. An unprivileged user can trigger a system crash (general protection fault). An issue was discovered in can_can_gw_rcv in net/can/gw.c in the Linux kernel through 4.19.13. The CAN frame modification rules allow bitwise logical operations that can be also applied to the can_dlc field. The privileged user "root" with CAP_NET_ADMIN can create a CAN frame modification rule that makes the data length code a higher value than the available CAN frame data size. In combination with a configured checksum calculation where the result is stored relatively to the end of the data (e.g. cgw_csum_xor_rel) the tail of the skb (e.g. frag_list pointer in skb_shared_info) can be rewritten which finally can cause a system crash. Because of a missing check, the CAN drivers may write arbitrary content beyond the data registers in the CAN controller's I/O memory when processing can-gw manipulated outgoing frames.
    Added Reference https://marc.info/?l=linux-netdev&m=154661373531512&w=2 [No Types Assigned]
    Added Reference https://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git/commit/?id=0aaa81377c5a01f686bcdb8c7a6929a7bf330c68 [No Types Assigned]
  • CVE Modified by [email protected]

    Apr. 12, 2019

    Action Type Old Value New Value
    Added Reference https://support.f5.com/csp/article/K17957133 [No Types Assigned]
  • CVE Modified by [email protected]

    Apr. 03, 2019

    Action Type Old Value New Value
    Added Reference https://usn.ubuntu.com/3932-2/ [No Types Assigned]
    Added Reference https://usn.ubuntu.com/3932-1/ [No Types Assigned]
  • CVE Modified by [email protected]

    Apr. 01, 2019

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2019/04/msg00004.html [No Types Assigned]
  • Modified Analysis by [email protected]

    Mar. 29, 2019

    Action Type Old Value New Value
    Changed Reference Type https://lists.debian.org/debian-lts-announce/2019/03/msg00034.html No Types Assigned https://lists.debian.org/debian-lts-announce/2019/03/msg00034.html Mailing List, Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Mar. 27, 2019

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2019/03/msg00034.html [No Types Assigned]
  • Initial Analysis by [email protected]

    Feb. 11, 2019

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:M/Au:N/C:N/I:N/A:C)
    Added CVSS V3 AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
    Changed Reference Type http://www.securityfocus.com/bid/106443 No Types Assigned http://www.securityfocus.com/bid/106443 Third Party Advisory, VDB Entry
    Changed Reference Type https://bugzilla.suse.com/show_bug.cgi?id=1120386 No Types Assigned https://bugzilla.suse.com/show_bug.cgi?id=1120386 Exploit, Issue Tracking, Patch, Third Party Advisory
    Changed Reference Type https://marc.info/?l=linux-netdev&m=154651842302479&w=2 No Types Assigned https://marc.info/?l=linux-netdev&m=154651842302479&w=2 Patch, Third Party Advisory
    Added CWE CWE-787
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions up to (including) 4.19.13
  • CVE Modified by [email protected]

    Jan. 04, 2019

    Action Type Old Value New Value
    Added Reference http://www.securityfocus.com/bid/106443 [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2019-3701 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2019-3701 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.07 }} 0.00%

score

0.29992

percentile

CVSS30 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability