OSV-2021-261 Stack-buffer-overflow in flb_sds_cat

Not scored Published

A stack-buffer-overflow in Fluent Bit's flb_sds_cat function can lead to crashes or potential code execution.

Exploited in the wild
Not known
Login needed
Not stated
Attackable
Not stated
Victim action needed
Not needed
Fix
None listed

What is OSV-2021-261?

OSV-2021-261 is a memory corruption vulnerability in fluent-bit, published on 2 Feb 2021.

Official description

OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=30093

Crash type: Stack-buffer-overflow READ {*}
Crash state:
flb_sds_cat
ra_translate_keymap
flb_ra_translate

Which versions are affected by OSV-2021-261?

1 open source package ship an affected version, including fluent-bit.

PackageAffectedFixed in
fluent-bit OSS-FuzzAll versionsNone

How do I fix OSV-2021-261?

No fix has been published for OSV-2021-261 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is OSV-2021-261 being exploited?

There is no known exploitation of OSV-2021-261 in the wild and no public exploit code.

Sources

Is OSV-2021-261 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free