{
  "threat_severity" : "Important",
  "public_date" : "2021-07-05T00:00:00Z",
  "bugzilla" : {
    "description" : "linuxptp: missing length check of forwarded messages",
    "id" : "1966240",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1966240"
  },
  "cvss3" : {
    "cvss3_base_score" : "8.8",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
    "status" : "verified"
  },
  "cwe" : "CWE-119",
  "details" : [ "A flaw was found in the ptp4l program of the linuxptp package. A missing length check when forwarding a PTP message between ports allows a remote attacker to cause an information leak, crash, or potentially remote code execution. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability. This flaw affects linuxptp versions before 3.1.1, before 2.0.1, before 1.9.3, before 1.8.1, before 1.7.1, before 1.6.1 and before 1.5.1.", "A flaw was found in the ptp4l program of the linuxptp package. A missing length check when forwarding a PTP message between ports allows a remote attacker to cause an information leak, crash, or potentially remote code execution. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability." ],
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 7",
    "release_date" : "2021-07-06T00:00:00Z",
    "advisory" : "RHSA-2021:2658",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7",
    "package" : "linuxptp-0:2.0-2.el7_9.1"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2021-07-06T00:00:00Z",
    "advisory" : "RHSA-2021:2660",
    "cpe" : "cpe:/a:redhat:enterprise_linux:8",
    "package" : "linuxptp-0:2.0-5.el8_4.1"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.1 Extended Update Support",
    "release_date" : "2021-07-06T00:00:00Z",
    "advisory" : "RHSA-2021:2659",
    "cpe" : "cpe:/a:redhat:rhel_eus:8.1",
    "package" : "linuxptp-0:2.0-4.el8_1.1"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.2 Extended Update Support",
    "release_date" : "2021-07-06T00:00:00Z",
    "advisory" : "RHSA-2021:2657",
    "cpe" : "cpe:/a:redhat:rhel_eus:8.2",
    "package" : "linuxptp-0:2.0-4.el8_2.1"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 6",
    "fix_state" : "Out of support scope",
    "package_name" : "linuxptp",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "fix_state" : "Not affected",
    "package_name" : "linuxptp",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2021-3570\nhttps://nvd.nist.gov/vuln/detail/CVE-2021-3570" ],
  "name" : "CVE-2021-3570",
  "mitigation" : {
    "value" : "Only attackers that can connect to the `ptp4l` service can exploit this vulnerability. If `ptp4l` is bound only to a private network interface, or is protected by firewall rules to block incoming PTP management messages, the attack surface is correspondingly limited. When using the UDP IPv4 or IPv6 network transport, the following tcpdump filter can be used to detect PTP management messages:\n```\n(port 319 or port 320) and udp[8]&0xf=0xd\n```",
    "lang" : "en:us"
  },
  "csaw" : false
}