cve.bz

CVE-2022-24903 Classic Buffer Overflow

8.1 highEPSS 3.9%Fix available

High (8.1). EPSS 3.9% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

8.1 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
3.9% (unchanged from 3.9% a week ago; 3.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 91st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2025-04-23. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-1284 Improper Validation of Specified Quantity in Input
CWE-120 Buffer Copy without Checking Size of Input (Classic Buffer Overflow)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-24903 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-24903?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-24903?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-24903 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
rsyslog:rsyslogbefore 8.2204.1
fedoraproject:fedora35
debian:debian_linux9.0
debian:debian_linux10.0
debian:debian_linux11.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9rsyslog8.24.0-1+deb9u2DLA-3016-1
Debian10rsyslog8.1901.0-1+deb10u2DSA-5150-1
Debian11rsyslog8.2102.0-2+deb11u1DSA-5150-1
Debian12, 13, 14rsyslog8.2204.1-1DEBIAN-CVE-2022-24903
Ubuntu14.04:LTSrsyslogno fix listedUBUNTU-CVE-2022-24903
Ubuntu18.04:LTSrsyslog8.32.0-1ubuntu4.2UBUNTU-CVE-2022-24903 USN-5404-1
Ubuntu20.04:LTSrsyslog8.2001.0-1ubuntu1.3UBUNTU-CVE-2022-24903 USN-5404-1
Ubuntu22.04:LTSrsyslog8.2112.0-2ubuntu2.2UBUNTU-CVE-2022-24903 USN-5404-1
UbuntuPro:16.04:LTSrsyslog8.16.0-1ubuntu3.1+esm2UBUNTU-CVE-2022-24903 USN-5404-2
Red Hatenterprise_linux:7::client, enterprise_linux:7::server, enterprise_linux:7::workstationrsyslog, rsyslog-doc, rsyslog-relp and 16 more0:8.24.0-57.el7_9.3RHSA-2022:4803
Red Hatenterprise_linux:7::computenodersyslog-doc, rsyslog-snmp, rsyslog-mysql and 10 more0:8.24.0-57.el7_9.3RHSA-2022:4803
Red Hatenterprise_linux:7::hypervisorredhat-virtualization-host, redhat-virtualization-host-image-update0:4.3.23-20220622.0.el7_9RHSA-2022:5439
Red Hatenterprise_linux:7::hypervisorrsyslog, rsyslog-debuginfo, rsyslog-mmjsonparse and 2 more0:8.24.0-57.el7_9.3RHSA-2022:4803
Red Hatenterprise_linux:8::appstreamrsyslog, rsyslog-doc, rsyslog-relp and 37 more0:8.2102.0-7.el8_6.1RHSA-2022:4799
Red Hatenterprise_linux:9::appstreamrsyslog, rsyslog-doc, rsyslog-relp and 38 more0:8.2102.0-101.el9_0.1RHSA-2022:4795
Red Hatrhel_e4s:8.1::appstreamrsyslog, rsyslog-doc, rsyslog-relp and 29 more0:8.37.0-13.el8_1.1RHSA-2022:4801
Red Hatrhel_els:6rsyslog, rsyslog-relp, rsyslog-snmp and 5 more0:5.8.10-12.el6_10.1RHSA-2022:4808
Red Hatrhel_els:6rsyslog7, rsyslog7-relp, rsyslog7-snmp and 6 more0:7.4.10-7.el6_10.1RHSA-2022:4808
Red Hatrhel_eus:8.2::appstreamrsyslog, rsyslog-doc, rsyslog-relp and 29 more0:8.1911.0-3.el8_2.1RHSA-2022:4800
Red Hatrhel_eus:8.4::appstreamrsyslog, rsyslog-doc, rsyslog-relp and 33 more0:8.1911.0-7.el8_4.3RHSA-2022:4802
Red Hatrhev_hypervisor:4.4::el8redhat-virtualization-host, redhat-virtualization-host-image-update0:4.5.0-202205291010_8.6RHSA-2022:4896
1 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 7 morersyslog8.33.1-150000.3.37.1SUSE-SU-2022:1817-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-ESPOS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 9 morersyslog8.2106.0-150200.4.26.1SUSE-SU-2022:1583-1
SUSEHPE Helion OpenStack 8, Linux Enterprise Server 12 SP3-BCL, Linux Enterprise Server 12 SP3-LTSS and 7 morersyslog8.24.0-3.58.2SUSE-SU-2022:2331-1
SUSELinux Enterprise Server 12 SP2-BCLrsyslog8.4.0-18.16.1SUSE-SU-2022:2333-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5rsyslog8.2106.0-8.5.2SUSE-SU-2022:2314-1
openSUSELeap 15.3rsyslog8.2106.0-150200.4.26.1SUSE-SU-2022:1583-1
openSUSETumbleweedrsyslog8.2204.1-1.1openSUSE-SU-2024:12059-1
AlmaLinux8rsyslog, rsyslog-doc, rsyslog-relp and 17 more8.2102.0-7.el8ALSA-2022:4799
Rocky Linux8rsyslog0:8.2102.0-7.el8_6.1RLSA-2022:4799
Rocky Linux9rsyslog0:8.2102.0-101.el9_0.1RLSA-2022:4795
Alpinev3.12rsyslog8.2004.0-r2ALPINE-CVE-2022-24903
Alpinev3.13, v3.14rsyslog8.2012.0-r3ALPINE-CVE-2022-24903
Alpinev3.15rsyslog8.2108.0-r2ALPINE-CVE-2022-24903
Alpinev3.16, v3.17, v3.18 and 6 morersyslog8.2204.1-r0ALPINE-CVE-2022-24903
Azure Linux2rsyslog8.2204.1-1AZL-9736

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6 Extended Lifecycle Supportrsyslog-0:5.8.10-12.el6_10.1Fixed 2022-05-31RHSA-2022:4808
Red Hat Enterprise Linux 6 Extended Lifecycle Supportrsyslog7-0:7.4.10-7.el6_10.1Fixed 2022-05-31RHSA-2022:4808
Red Hat Enterprise Linux 7rsyslog-0:8.24.0-57.el7_9.3Fixed 2022-05-30RHSA-2022:4803
Red Hat Enterprise Linux 8rsyslog-0:8.2102.0-7.el8_6.1Fixed 2022-05-30RHSA-2022:4799
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutionsrsyslog-0:8.37.0-13.el8_1.1Fixed 2022-05-30RHSA-2022:4801
Red Hat Enterprise Linux 8.2 Extended Update Supportrsyslog-0:8.1911.0-3.el8_2.1Fixed 2022-05-30RHSA-2022:4800
Red Hat Enterprise Linux 8.4 Extended Update Supportrsyslog-0:8.1911.0-7.el8_4.3Fixed 2022-05-30RHSA-2022:4802
Red Hat Enterprise Linux 9rsyslog-0:8.2102.0-101.el9_0.1Fixed 2022-05-30RHSA-2022:4795
Red Hat Virtualization 4 for Red Hat Enterprise Linux 7rsyslog-0:8.24.0-57.el7_9.3Fixed 2022-05-30RHSA-2022:4803
Red Hat Virtualization 4 for Red Hat Enterprise Linux 7redhat-virtualization-host-0:4.3.23-20220622.0.el7_9Fixed 2022-07-01RHSA-2022:5439
Red Hat Virtualization 4 for Red Hat Enterprise Linux 8redhat-virtualization-host-0:4.5.0-202205291010_8.6Fixed 2022-06-03RHSA-2022:4896
Red Hat Virtualization Engine 4.3rsyslog-0:8.24.0-57.el7_9.3Fixed 2022-05-30RHSA-2022:4803

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-24903.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-23-194-01Siemens RUGGEDCOM ROX2023-07-11MultipleRUGGEDCOM ROX MX5000, RUGGEDCOM ROX MX5000RE, RUGGEDCOM ROX RX1400 and 8 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

GitHub PoC (unverified)

Repositories on GitHub named after this CVE. Nobody has checked them and they are not scanned: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-120 (13).

References

Check your stackJSON