{
  "threat_severity" : "Important",
  "public_date" : "2022-05-05T00:00:00Z",
  "bugzilla" : {
    "description" : "rsyslog: Heap-based overflow in TCP syslog server",
    "id" : "2081353",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2081353"
  },
  "cvss3" : {
    "cvss3_base_score" : "8.1",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
    "status" : "verified"
  },
  "cwe" : "CWE-787",
  "details" : [ "Rsyslog is a rocket-fast system for log processing. Modules for TCP syslog reception have a potential heap buffer overflow when octet-counted framing is used. This can result in a segfault or some other malfunction. As of our understanding, this vulnerability can not be used for remote code execution. But there may still be a slight chance for experts to do that. The bug occurs when the octet count is read. While there is a check for the maximum number of octets, digits are written to a heap buffer even when the octet count is over the maximum, This can be used to overrun the memory buffer. However, once the sequence of digits stop, no additional characters can be added to the buffer. In our opinion, this makes remote exploits impossible or at least highly complex. Octet-counted framing is one of two potential framing modes. It is relatively uncommon, but enabled by default on receivers. Modules `imtcp`, `imptcp`, `imgssapi`, and `imhttp` are used for regular syslog message reception. It is best practice not to directly expose them to the public. When this practice is followed, the risk is considerably lower. Module `imdiag` is a diagnostics module primarily intended for testbench runs. We do not expect it to be present on any production installation. Octet-counted framing is not very common. Usually, it needs to be specifically enabled at senders. If users do not need it, they can turn it off for the most important modules. This will mitigate the vulnerability.", "A flaw was found in rsyslog's reception TCP modules. This flaw allows an attacker to craft a malicious message leading to a heap-based buffer overflow. This issue allows the attacker to corrupt or access data stored in memory, leading to a denial of service in the rsyslog or possible remote code execution." ],
  "acknowledgement" : "Red Hat would like to thank Pieter Agten (Fortanix) for reporting this issue.",
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 6 Extended Lifecycle Support",
    "release_date" : "2022-05-31T00:00:00Z",
    "advisory" : "RHSA-2022:4808",
    "cpe" : "cpe:/o:redhat:rhel_els:6",
    "package" : "rsyslog-0:5.8.10-12.el6_10.1"
  }, {
    "product_name" : "Red Hat Enterprise Linux 6 Extended Lifecycle Support",
    "release_date" : "2022-05-31T00:00:00Z",
    "advisory" : "RHSA-2022:4808",
    "cpe" : "cpe:/o:redhat:rhel_els:6",
    "package" : "rsyslog7-0:7.4.10-7.el6_10.1"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "release_date" : "2022-05-30T00:00:00Z",
    "advisory" : "RHSA-2022:4803",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7",
    "package" : "rsyslog-0:8.24.0-57.el7_9.3"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2022-05-30T00:00:00Z",
    "advisory" : "RHSA-2022:4799",
    "cpe" : "cpe:/a:redhat:enterprise_linux:8",
    "package" : "rsyslog-0:8.2102.0-7.el8_6.1"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.1 Update Services for SAP Solutions",
    "release_date" : "2022-05-30T00:00:00Z",
    "advisory" : "RHSA-2022:4801",
    "cpe" : "cpe:/a:redhat:rhel_e4s:8.1",
    "package" : "rsyslog-0:8.37.0-13.el8_1.1"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.2 Extended Update Support",
    "release_date" : "2022-05-30T00:00:00Z",
    "advisory" : "RHSA-2022:4800",
    "cpe" : "cpe:/a:redhat:rhel_eus:8.2",
    "package" : "rsyslog-0:8.1911.0-3.el8_2.1"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.4 Extended Update Support",
    "release_date" : "2022-05-30T00:00:00Z",
    "advisory" : "RHSA-2022:4802",
    "cpe" : "cpe:/a:redhat:rhel_eus:8.4",
    "package" : "rsyslog-0:8.1911.0-7.el8_4.3"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2022-05-30T00:00:00Z",
    "advisory" : "RHSA-2022:4795",
    "cpe" : "cpe:/a:redhat:enterprise_linux:9",
    "package" : "rsyslog-0:8.2102.0-101.el9_0.1"
  }, {
    "product_name" : "Red Hat Virtualization 4 for Red Hat Enterprise Linux 7",
    "release_date" : "2022-05-30T00:00:00Z",
    "advisory" : "RHSA-2022:4803",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7::hypervisor",
    "package" : "rsyslog-0:8.24.0-57.el7_9.3"
  }, {
    "product_name" : "Red Hat Virtualization 4 for Red Hat Enterprise Linux 7",
    "release_date" : "2022-07-01T00:00:00Z",
    "advisory" : "RHSA-2022:5439",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7::hypervisor",
    "package" : "redhat-virtualization-host-0:4.3.23-20220622.0.el7_9"
  }, {
    "product_name" : "Red Hat Virtualization 4 for Red Hat Enterprise Linux 8",
    "release_date" : "2022-06-03T00:00:00Z",
    "advisory" : "RHSA-2022:4896",
    "cpe" : "cpe:/o:redhat:rhev_hypervisor:4.4::el8",
    "package" : "redhat-virtualization-host-0:4.5.0-202205291010_8.6"
  }, {
    "product_name" : "Red Hat Virtualization Engine 4.3",
    "release_date" : "2022-05-30T00:00:00Z",
    "advisory" : "RHSA-2022:4803",
    "cpe" : "cpe:/a:redhat:rhev_manager:4.3",
    "package" : "rsyslog-0:8.24.0-57.el7_9.3"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2022-24903\nhttps://nvd.nist.gov/vuln/detail/CVE-2022-24903\nhttps://github.com/rsyslog/rsyslog/security/advisories/GHSA-ggw7-xr6h-mmr8" ],
  "name" : "CVE-2022-24903",
  "csaw" : false
}