SecurityContext

CVE-2021-46879: Treasure Data Fluent Bit - Buffer Overflow

  • Cve: CVE-2021-46879
  • Name: Treasure Data Fluent Bit - Buffer Overflow
  • Description: An issue was discovered in Treasure Data Fluent Bit 1.7.1, a wrong variable is used to get the msgpack data resulting in a heap overflow in flb_msgpack_gelf_value_ext. An attacker can craft a malicious file and tick the victim to open the file with the software, triggering a heap overflow and execute arbitrary code on the target system.
  • Impact: Attackers can execute arbitrary code on the target system by exploiting the heap overflow via malicious files.
  • Remediation: Update to the latest version of Treasure Data Fluent Bit or apply patches addressing this heap overflow.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: remote_code_execution
  • Requirement type: user_interaction
  • Requirements: Victim must open a malicious file crafted by attacker
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.8
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Epss score: 0.0038
  • Epss percentile: 0.32746
  • Assignee: [email protected]
  • Published at: 2023-04-11T18:15:58Z
  • Age in days: 1323
  • Modified at: 2026-06-17T04:15:43Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-46879
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-787Out-of-bounds Write

Public exploits

UrlSourceAdded date
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=26851nvd2023-04-11

References

UrlSourceTags
https://github.com/fluent/fluent-bit/pull/3100nvdPatch
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=26851nvdExploit, Issue Tracking, Patch, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
treasuredata:fluent_bit= 1.7.1nonvd/v1/products/treasuredata/fluent_bit

Projects

RepositoryLink kindsIndexedUrl
fluent/fluent-bitpullyes/v1/repositories/fluent/fluent-bit

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2023-04-11
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts