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,
"signature_version": "v1",
"digest": {
"function_hash": "302333153565315774508503202736230264542",
"length": 1168.0
},
"source": "https://github.com/fluent/fluent-bit/commit/626b22f1dff69c155a2d84df7625c58b78881eeb",
"signature_type": "Function",
"id": "CVE-2020-35963-2595e37e",
"target": {
"file": "tests/internal/aws_credentials_sts.c",
"function": "test_sts_provider_api_error"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "77048056922639755535802814914479255142",
"length": 1656.0
},
"source": "https://github.com/fluent/fluent-bit/commit/626b22f1dff69c155a2d84df7625c58b78881eeb",
"signature_type": "Function",
"id": "CVE-2020-35963-2bda8d04",
"target": {
"file": "tests/internal/aws_credentials_sts.c",
"function": "test_sts_provider"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "193202644905934632633886159497632325100",
"length": 1225.0
},
"source": "https://github.com/fluent/fluent-bit/commit/626b22f1dff69c155a2d84df7625c58b78881eeb",
"signature_type": "Function",
"id": "CVE-2020-35963-4815c013",
"target": {
"file": "tests/internal/aws_credentials_sts.c",
"function": "test_sts_provider_unexpected_api_response"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"124735178251830900871491375568048314504",
"293622293194209887123959125400464257060",
"120939548274153104331139632533530568629",
"54306140510477136175755562999182789446",
"277021983509763747482207259127212161181",
"152989603011667552483711257643298154630",
"312494415219487269529278744742529149872",
"278295091071519183037175122725760081614",
"124735178251830900871491375568048314504",
"293622293194209887123959125400464257060",
"120939548274153104331139632533530568629",
"54306140510477136175755562999182789446",
"124735178251830900871491375568048314504",
"293622293194209887123959125400464257060",
"120939548274153104331139632533530568629",
"54306140510477136175755562999182789446",
"277021983509763747482207259127212161181",
"152989603011667552483711257643298154630",
"312494415219487269529278744742529149872",
"278295091071519183037175122725760081614",
"124735178251830900871491375568048314504",
"293622293194209887123959125400464257060",
"120939548274153104331139632533530568629",
"54306140510477136175755562999182789446",
"277021983509763747482207259127212161181",
"152989603011667552483711257643298154630",
"312494415219487269529278744742529149872",
"278295091071519183037175122725760081614",
"124735178251830900871491375568048314504",
"293622293194209887123959125400464257060",
"120939548274153104331139632533530568629",
"54306140510477136175755562999182789446",
"124735178251830900871491375568048314504",
"293622293194209887123959125400464257060",
"120939548274153104331139632533530568629",
"54306140510477136175755562999182789446",
"124735178251830900871491375568048314504",
"293622293194209887123959125400464257060",
"120939548274153104331139632533530568629",
"54306140510477136175755562999182789446",
"39841690865401529696043477842857335448",
"58115453181828316769903993001829882048",
"74256574215574336428172966280006597954",
"176078921011120848351910237683021557823"
]
},
"source": "https://github.com/fluent/fluent-bit/commit/626b22f1dff69c155a2d84df7625c58b78881eeb",
"signature_type": "Line",
"id": "CVE-2020-35963-50be23e5",
"target": {
"file": "tests/internal/aws_credentials_sts.c"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "13215181864013254412438448372055788786",
"length": 1485.0
},
"source": "https://github.com/fluent/fluent-bit/commit/626b22f1dff69c155a2d84df7625c58b78881eeb",
"signature_type": "Function",
"id": "CVE-2020-35963-6169565b",
"target": {
"file": "tests/internal/aws_credentials_sts.c",
"function": "test_eks_provider"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "10197313747727121921242795550451454598",
"length": 906.0
},
"source": "https://github.com/fluent/fluent-bit/commit/626b22f1dff69c155a2d84df7625c58b78881eeb",
"signature_type": "Function",
"id": "CVE-2020-35963-67a32269",
"target": {
"file": "tests/internal/aws_credentials_sts.c",
"function": "test_eks_provider_api_error"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "176501941791709427790083787017163200053",
"length": 1402.0
},
"source": "https://github.com/fluent/fluent-bit/commit/626b22f1dff69c155a2d84df7625c58b78881eeb",
"signature_type": "Function",
"id": "CVE-2020-35963-7a9aa647",
"target": {
"file": "tests/internal/aws_credentials_sts.c",
"function": "test_eks_provider_random_session_name"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "117810127888757996725744180303068170379",
"length": 941.0
},
"source": "https://github.com/fluent/fluent-bit/commit/626b22f1dff69c155a2d84df7625c58b78881eeb",
"signature_type": "Function",
"id": "CVE-2020-35963-996d68b7",
"target": {
"file": "tests/internal/aws_credentials_sts.c",
"function": "test_eks_provider_unexpected_api_response"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "57581972273330664649563572033679346079",
"length": 1551.0
},
"source": "https://github.com/fluent/fluent-bit/commit/cadff53c093210404aed01c4cf586adb8caa07af",
"signature_type": "Function",
"id": "CVE-2020-35963-e15cec1a",
"target": {
"file": "src/flb_gzip.c",
"function": "flb_gzip_compress"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"78104538685687191706812304235110739877",
"115090620069431853279167780948713951302",
"189634672769753926143120117205069540212",
"21512769843125165463443561585067901613",
"319455758311923949884162954932813695046"
]
},
"source": "https://github.com/fluent/fluent-bit/commit/cadff53c093210404aed01c4cf586adb8caa07af",
"signature_type": "Line",
"id": "CVE-2020-35963-ed34a5e6",
"target": {
"file": "src/flb_gzip.c"
}
}
]