flbgzipcompress in flb_gzip.c in Fluent Bit before 1.6.4 has an out-of-bounds write because it does not use the correct calculation of the maximum gzip data-size expansion.
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-35963.json"
[
{
"deprecated": false,
"id": "CVE-2020-35963-e15cec1a",
"digest": {
"length": 1551.0,
"function_hash": "57581972273330664649563572033679346079"
},
"source": "https://github.com/fluent/fluent-bit/commit/cadff53c093210404aed01c4cf586adb8caa07af",
"signature_version": "v1",
"signature_type": "Function",
"target": {
"file": "src/flb_gzip.c",
"function": "flb_gzip_compress"
}
},
{
"deprecated": false,
"id": "CVE-2020-35963-ed34a5e6",
"digest": {
"threshold": 0.9,
"line_hashes": [
"78104538685687191706812304235110739877",
"115090620069431853279167780948713951302",
"189634672769753926143120117205069540212",
"21512769843125165463443561585067901613",
"319455758311923949884162954932813695046"
]
},
"source": "https://github.com/fluent/fluent-bit/commit/cadff53c093210404aed01c4cf586adb8caa07af",
"signature_version": "v1",
"signature_type": "Line",
"target": {
"file": "src/flb_gzip.c"
}
}
]