cve.bz

CVE-2021-41186 fluentd fluentd: Uncontrolled Resource Consumption

7.5 highEPSS 2.2%Fix available

High (7.5) in fluentd fluentd. EPSS 2.2% estimated probability of exploitation activity in the next 30 days. Fixed in fluentd 1.14.2.

On this page
Fluentd collects events from various data sources and writes them to files to help unify logging infrastructure. The parser_apache2 plugin in Fluentd v0.14.14 to v1.14.1 suffers from a regular expression denial of service (ReDoS) vulnerability. A broken apache log with a certain pattern of string can spend too much time in a regular expression, resulting in the potential for a DoS attack. This issue is patched in version 1.14.2 There are two workarounds available. Either don't use parser_apache2 for parsing logs (which cannot guarantee generated by Apache), or put patched version of parser_apache2.rb into /etc/fluent/plugin directory (or any other directories specified by the environment variable `FLUENT_PLUGIN` or `--plugin` option of fluentd).

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
2.2% (unchanged from 2.2% a week ago; 2.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 83rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-400 Uncontrolled Resource Consumption
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-2021-41186 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-41186?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-41186?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-2021-41186 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
fluentd:fluentdfrom 0.14.14 through 1.14.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-hwhf-64mh-r662RubyGemsfluentd>=0.14.14 <1.14.21.14.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
openSUSETumbleweedruby3.2-rubygem-fluentd1.15.3-1.4openSUSE-SU-2024:13155-1
openSUSETumbleweedrubygem-fluentd1.14.4-1.1openSUSE-SU-2024:11795-1
openSUSETumbleweedrubygem-fluentd1.17.0-1.1openSUSE-SU-2024:14072-1
openSUSETumbleweedrubygem-fluentd1.17.1-1.3openSUSE-SU-2025:15115-1
openSUSETumbleweedrubygem-fluentd1.17.1-1.5openSUSE-SU-2026:10346-1

From the distributions' data via OSV.dev: SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The OpenShift Logging team does not configure to use the parser_apache2 plugin. Fixes for this vulnerbility will be delivered in a future fluentd update.

ProductPackageStateAdvisory
Logging Subsystem for Red Hat OpenShiftopenshift-logging/fluentd-rhel9Will not fix
Red Hat OpenShift Container Platform 3.11fluentdOut of support scope
Red Hat OpenShift Container Platform 4openshift4/ose-logging-fluentdOut of support scope
Red Hat OpenStack Platform 10 (Newton)puppet-fluentdOut of support scope
Red Hat OpenStack Platform 10 (Newton) Operational ToolsfluentdOut of support scope
Red Hat OpenStack Platform 13 (Queens)puppet-fluentdOut of support scope
Red Hat OpenStack Platform 13 (Queens) Operational ToolsfluentdOut of support scope

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-2021-41186.

Attack patterns (CAPEC)

  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement
  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON