CVE-2022-24903
Rsyslog Octet-Counted Framing Heap Buffer Overflow
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.
INFO
Published Date :
May 6, 2022, 12:15 a.m.
Last Modified :
Nov. 21, 2024, 6:51 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
2.2
Affected Products
The following products are affected by CVE-2022-24903
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.
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-2022-24903
.
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-2022-24903
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-24903
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 af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://github.com/rsyslog/rsyslog/commit/f211042ecbb472f9d8beb4678a65d272b6f07705 Added Reference https://github.com/rsyslog/rsyslog/security/advisories/GHSA-ggw7-xr6h-mmr8 Added Reference https://lists.debian.org/debian-lts-announce/2022/05/msg00028.html Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GMNNXLCU2UORRVSZO24HL4KMVPK5PHVW/ Added Reference https://security.netapp.com/advisory/ntap-20221111-0002/ Added Reference https://www.debian.org/security/2022/dsa-5150 -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Nov. 07, 2023
Action Type Old Value New Value Added Reference GitHub, Inc. https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GMNNXLCU2UORRVSZO24HL4KMVPK5PHVW/ [No types assigned] Removed Reference GitHub, Inc. https://lists.fedoraproject.org/archives/list/[email protected]/message/GMNNXLCU2UORRVSZO24HL4KMVPK5PHVW/ -
Reanalysis by [email protected]
Jun. 23, 2023
Action Type Old Value New Value Removed CWE NIST CWE-787 Added CWE NIST CWE-1284 -
Modified Analysis by [email protected]
Jan. 20, 2023
Action Type Old Value New Value Changed Reference Type https://security.netapp.com/advisory/ntap-20221111-0002/ No Types Assigned https://security.netapp.com/advisory/ntap-20221111-0002/ Third Party Advisory Added CPE Configuration OR *cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:vmware_vsphere:*:* -
CVE Modified by [email protected]
Nov. 14, 2022
Action Type Old Value New Value Added Reference https://security.netapp.com/advisory/ntap-20221111-0002/ [No Types Assigned] -
Modified Analysis by [email protected]
Oct. 06, 2022
Action Type Old Value New Value Changed Reference Type https://lists.debian.org/debian-lts-announce/2022/05/msg00028.html No Types Assigned https://lists.debian.org/debian-lts-announce/2022/05/msg00028.html Mailing List, Third Party Advisory Changed Reference Type https://www.debian.org/security/2022/dsa-5150 No Types Assigned https://www.debian.org/security/2022/dsa-5150 Third Party Advisory Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Jun. 02, 2022
Action Type Old Value New Value Added Reference https://www.debian.org/security/2022/dsa-5150 [No Types Assigned] -
CVE Modified by [email protected]
May. 21, 2022
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2022/05/msg00028.html [No Types Assigned] -
Initial Analysis by [email protected]
May. 17, 2022
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:M/Au:N/C:P/I:P/A:P) Added CVSS V3.1 NIST AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://github.com/rsyslog/rsyslog/commit/f211042ecbb472f9d8beb4678a65d272b6f07705 No Types Assigned https://github.com/rsyslog/rsyslog/commit/f211042ecbb472f9d8beb4678a65d272b6f07705 Patch, Third Party Advisory Changed Reference Type https://github.com/rsyslog/rsyslog/security/advisories/GHSA-ggw7-xr6h-mmr8 No Types Assigned https://github.com/rsyslog/rsyslog/security/advisories/GHSA-ggw7-xr6h-mmr8 Third Party Advisory Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/GMNNXLCU2UORRVSZO24HL4KMVPK5PHVW/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/GMNNXLCU2UORRVSZO24HL4KMVPK5PHVW/ Mailing List, Third Party Advisory Added CWE NIST CWE-787 Added CPE Configuration OR *cpe:2.3:a:rsyslog:rsyslog:*:*:*:*:*:*:*:* versions up to (excluding) 8.2204.1 Added CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* -
CVE Modified by [email protected]
May. 17, 2022
Action Type Old Value New Value Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/GMNNXLCU2UORRVSZO24HL4KMVPK5PHVW/ [No Types Assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-24903
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-2022-24903
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
13.98 }} -9.86%
score
0.95642
percentile