CVE-2020-35963

Source
https://cve.org/CVERecord?id=CVE-2020-35963
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-35963.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2020-35963
Aliases
Published
2021-01-03T19:15:11.673Z
Modified
2026-03-10T23:19:26.185803Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/fluent/fluent-bit

Affected ranges

Type
GIT
Repo
https://github.com/fluent/fluent-bit
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "fixed": "1.6.4"
        }
    ]
}

Affected versions

0.*
0.13-dev-0.10
0.13-dev-0.11
0.13-dev-0.12
0.13-dev-0.13
0.13-dev-0.14
0.13-dev-0.15
0.13-dev-0.16
0.13-dev-0.17
0.13-dev-0.18
0.13-dev-0.4
0.13-dev-0.5
0.13-dev-0.6
0.13-dev-0.7
0.13-dev-0.8
0.13-dev-0.9
v0.*
v0.10.0
v0.11.0
v0.12.0
v0.12.1
v0.12.2
v0.12.3
v0.12.4
v0.13.0
v0.14.0
v0.3
v0.4
v0.5
v0.5.1
v0.6.0
v0.7.0
v0.8.0
v0.8.1
v0.8.2
v0.9.0
v1.*
v1.0.0
v1.1.0
v1.2.0
v1.3.0
v1.4.0
v1.5.0
v1.6.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-35963.json"
vanir_signatures
[
    {
        "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"
        }
    }
]