CVE-2022-24903: debian debian_linux Classic Buffer Overflow
Vulnerability summary
CVE-2022-24903 is a high (CVSS 8.1) Classic Buffer Overflow vulnerability in debian debian_linux. EPSS estimates a 3.95% chance of exploitation in the next 30 days, higher than 90.2% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 3Timeline
- 05-05-2022PublishedVulnerability first disclosed.
- 23-04-2025Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
7 scores · 6 sources · 2 versions- OSV · AlpineEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · Red hatEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVDNIST8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
3.95%
Chance of exploitation in the next 30 days
Percentile
90%
Versus all other CVEs
30-day change
+0.02 pp
From 3.93% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-120Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer.
- CWE-1284Improper Validation of Specified Quantity in InputThe product receives input that is expected to specify a quantity (such as size or length), but it does not validate or incorrectly validates that the quantity has the required properties.
Affected systems
Redhat51 products
- rsyslog< 0:8.2102.0-101.el9_0.1 | < 0:8.2102.0-7.el8_6.1 | < 0:8.1911.0-3.el8_2.1 | < 0:8.37.0-13.el8_1.1 | < 0:8.1911.0-7.el8_4.3 | < 0:8.24.0-57.el7_9.3 | < 0:5.8.10-12.el6_10.1
- rsyslog-crypto< 0:8.2102.0-101.el9_0.1 | < 0:8.2102.0-7.el8_6.1 | < 0:8.1911.0-3.el8_2.1 | < 0:8.37.0-13.el8_1.1 | < 0:8.1911.0-7.el8_4.3 | < 0:8.24.0-57.el7_9.3
- rsyslog-crypto-debuginfo< 0:8.2102.0-101.el9_0.1 | < 0:8.2102.0-7.el8_6.1 | < 0:8.1911.0-3.el8_2.1 | < 0:8.37.0-13.el8_1.1 | < 0:8.1911.0-7.el8_4.3
- rsyslog-debuginfo< 0:8.2102.0-101.el9_0.1 | < 0:8.2102.0-7.el8_6.1 | < 0:8.1911.0-3.el8_2.1 | < 0:8.37.0-13.el8_1.1 | < 0:8.1911.0-7.el8_4.3 | < 0:8.24.0-57.el7_9.3 | < 0:5.8.10-12.el6_10.1
- rsyslog-debugsource< 0:8.2102.0-101.el9_0.1 | < 0:8.2102.0-7.el8_6.1 | < 0:8.1911.0-3.el8_2.1 | < 0:8.37.0-13.el8_1.1 | < 0:8.1911.0-7.el8_4.3
Suse35 products
- rsyslog&distro=HPE Helion OpenStack 8< 8.24.0-3.58.2
- rsyslog&distro=SUSE Enterprise Storage 6< 8.33.1-150000.3.37.1
- rsyslog&distro=SUSE Enterprise Storage 7< 8.2106.0-150200.4.26.1
- rsyslog&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS< 8.33.1-150000.3.37.1
- rsyslog&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS< 8.33.1-150000.3.37.1
Debian2 products
- rsyslog< 8.1901.0-1+deb10u2 | < 8.2102.0-2+deb11u1 | < 8.2204.1-1
- debian_linuxEOL9.0 | 10.0 | 11.0
Opensuse2 products
- rsyslog&distro=openSUSE Leap 15.3< 8.2106.0-150200.4.26.1
- rsyslog&distro=openSUSE Tumbleweed< 8.2204.1-1.1
Alpine1 product
- rsyslog< 8.2004.0-r2 | < 8.2012.0-r3 | < 8.2108.0-r2 | < 8.2204.1-r0
Fedoraproject1 product
- fedoraEOL35
Mageia1 product
- rsyslog< 8.2204.1-1.mga8
Netapp1 product
Rsyslog1 product
- rsyslog< 8.2204.1
Ubuntu1 product
- rsyslogAll versions (No fix recorded) | < 8.32.0-1ubuntu4.2 | < 8.2001.0-1ubuntu1.3 | < 8.2112.0-2ubuntu2.2 | < 8.16.0-1ubuntu3.1+esm2
10 vendors · 96 products
References
50 links- github.com/rsyslog/rsyslog/security/advisories/GHSA-ggw7-xr6h-mmr8AdvisoryARTICLEThird Party Advisory
- lists.fedoraproject.org/archives/…Vendor Advisory
- security.netapp.com/advisory/ntap-20221111-0002/Third Party Advisory