CVE-2019-11938

Source
https://nvd.nist.gov/vuln/detail/CVE-2019-11938
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2019-11938.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2019-11938
Related
Published
2020-03-10T21:15:11.653Z
Modified
2025-11-14T09:05:54.910046Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

Java Facebook Thrift servers would not error upon receiving messages declaring containers of sizes larger than the payload. As a result, malicious clients could send short messages which would result in a large memory allocation, potentially leading to denial of service. This issue affects Facebook Thrift prior to v2019.12.09.00.

References

Affected packages

Git / github.com/facebook/fbthrift

Affected ranges

Type
GIT
Repo
https://github.com/facebook/fbthrift
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed

Affected versions

0.*

0.19.0

v0.*

v0.20.0
v0.24.0
v0.25.0
v0.26.0
v0.27.0
v0.28.0
v0.29.0
v0.30.0
v0.31.0

v2016.*

v2016.09.26.00
v2016.10.03.00
v2016.10.10.00
v2016.10.17.00
v2016.10.24.00
v2016.10.31.00
v2016.11.07.00
v2016.11.14.00
v2016.11.21.00
v2016.11.28.00
v2016.12.05.00
v2016.12.12.00
v2016.12.19.00
v2016.12.26.00

v2017.*

v2017.01.02.00
v2017.01.09.00
v2017.01.16.00
v2017.01.23.00
v2017.01.30.00
v2017.03.06.00
v2017.03.13.00
v2017.03.20.00
v2017.03.27.00
v2017.04.03.00
v2017.04.10.00
v2017.04.17.00
v2017.04.24.00
v2017.05.01.00
v2017.05.08.00
v2017.05.15.00
v2017.05.22.00
v2017.05.29.00
v2017.06.05.00
v2017.06.12.00
v2017.06.19.00
v2017.06.26.00
v2017.07.03.00
v2017.07.10.00
v2017.07.17.00
v2017.07.24.00
v2017.07.31.00
v2017.08.07.00
v2017.08.14.00
v2017.08.21.00
v2017.08.28.00
v2017.09.04.00
v2017.09.11.00
v2017.09.18.00
v2017.09.25.00
v2017.10.02.00
v2017.10.09.00
v2017.10.16.00
v2017.10.23.00
v2017.10.30.00
v2017.11.06.00
v2017.11.13.00
v2017.11.20.00
v2017.11.27.00
v2017.12.04.00
v2017.12.11.00
v2017.12.18.00
v2017.12.25.00

v2018.*

v2018.01.01.00
v2018.01.08.00
v2018.01.15.00
v2018.01.22.00
v2018.01.29.00
v2018.02.05.00
v2018.02.12.00
v2018.02.19.00
v2018.02.26.00
v2018.03.05.00
v2018.03.12.00
v2018.03.19.00
v2018.03.26.00
v2018.04.02.00
v2018.04.09.00
v2018.04.16.00
v2018.04.23.00
v2018.04.30.00
v2018.05.07.00
v2018.05.14.00
v2018.05.21.00
v2018.05.28.00
v2018.06.04.00
v2018.06.11.00
v2018.06.18.00
v2018.06.25.00
v2018.07.02.00
v2018.07.09.00
v2018.07.16.00
v2018.07.23.00
v2018.07.30.00
v2018.08.06.00
v2018.08.13.00
v2018.08.20.00
v2018.08.27.00
v2018.09.03.00
v2018.09.10.00
v2018.09.17.00
v2018.09.24.00
v2018.10.01.00
v2018.10.08.00
v2018.10.15.00
v2018.10.22.00
v2018.10.29.00
v2018.11.05.00
v2018.11.12.00
v2018.11.19.00
v2018.11.26.00
v2018.12.03.00
v2018.12.10.00
v2018.12.17.00
v2018.12.24.00
v2018.12.31.00

v2019.*

v2019.01.07.00
v2019.01.14.00
v2019.01.21.00
v2019.01.28.00
v2019.02.04.00
v2019.02.11.00
v2019.02.18.00
v2019.02.25.00
v2019.03.04.00
v2019.03.11.00
v2019.03.18.00
v2019.04.08.00
v2019.04.15.00
v2019.04.22.00
v2019.04.29.00
v2019.05.06.00
v2019.05.13.00
v2019.05.20.00
v2019.05.27.00
v2019.06.03.00
v2019.06.10.00
v2019.06.17.00
v2019.06.24.00
v2019.07.01.00
v2019.07.08.00
v2019.07.15.00
v2019.07.22.00
v2019.07.29.00
v2019.09.23.00
v2019.09.30.00
v2019.10.07.00
v2019.10.14.00
v2019.10.21.00
v2019.10.28.00
v2019.11.04.00
v2019.11.11.00
v2019.12.02.00
v2019.12.06.00

Database specific

vanir_signatures

[
    {
        "source": "https://github.com/facebook/fbthrift/commit/08c2d412adb214c40bb03be7587057b25d053030",
        "id": "CVE-2019-11938-09407411",
        "target": {
            "file": "thrift/lib/java/src/test/java/com/facebook/thrift/TruncatedFrameTest.java"
        },
        "signature_type": "Line",
        "deprecated": false,
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "71370382024167026448375113489015355388",
                "28679137971303806335748603837255008654",
                "122386665065737562089408307836839331109",
                "155703683962912949159256407518608453116",
                "150325850835209429028784063142058335300",
                "204455473606270602673074416144493706739",
                "31962169622821067755021233028444924988",
                "18665661183082249854100297393609117657",
                "150325850835209429028784063142058335300",
                "204455473606270602673074416144493706739",
                "254813110885488808113955641301075290638",
                "13377981779667711992036191582704063857",
                "150325850835209429028784063142058335300",
                "204455473606270602673074416144493706739",
                "31962169622821067755021233028444924988",
                "18665661183082249854100297393609117657",
                "150325850835209429028784063142058335300",
                "204455473606270602673074416144493706739",
                "254813110885488808113955641301075290638",
                "301258761102636905165115127047660746617",
                "81745649606018528601581942743336159498",
                "51250529886491700171814997231139713286",
                "106254410500504962722951633903215831803",
                "172289554499364176023370052090949134437",
                "60966902630711655694339818123396709099",
                "166479722029848141238587891195265835184",
                "314060325416943673143082617185985595189",
                "143358749505352814707090204371464204328",
                "210011027347231125863748771437367199301",
                "304268847888108311689037316494687589793",
                "154104528742629190248408119171067792591",
                "300207405749964017325646656962085933396"
            ]
        },
        "signature_version": "v1"
    },
    {
        "source": "https://github.com/facebook/fbthrift/commit/71c97ffdcb61cccf1f8267774e873e21ebd3ebd3",
        "id": "CVE-2019-11938-671c48e1",
        "target": {
            "file": "thrift/lib/java/src/main/java/com/facebook/thrift/protocol/TProtocol.java"
        },
        "signature_type": "Line",
        "deprecated": false,
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "323973751675422377963269394753535514830",
                "339158453663786909457687863571771243595"
            ]
        },
        "signature_version": "v1"
    },
    {
        "source": "https://github.com/facebook/fbthrift/commit/71c97ffdcb61cccf1f8267774e873e21ebd3ebd3",
        "id": "CVE-2019-11938-6d802bc5",
        "target": {
            "function": "readMapBegin",
            "file": "thrift/lib/java/src/main/java/com/facebook/thrift/protocol/TBinaryProtocol.java"
        },
        "signature_type": "Function",
        "deprecated": false,
        "digest": {
            "length": 106.0,
            "function_hash": "31710071794858648350423479642739361833"
        },
        "signature_version": "v1"
    },
    {
        "source": "https://github.com/facebook/fbthrift/commit/71c97ffdcb61cccf1f8267774e873e21ebd3ebd3",
        "id": "CVE-2019-11938-86ce8488",
        "target": {
            "file": "thrift/lib/java/src/test/java/com/facebook/thrift/StructTest.java"
        },
        "signature_type": "Line",
        "deprecated": false,
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "114085937586889929170260506342507576125",
                "331558074517638748098594858316425868981",
                "71158288545554374680491447059712406240",
                "30954779488706543078670786227095628184",
                "89175113461685332919913219134503957624",
                "209621962710644556489653004292673396084"
            ]
        },
        "signature_version": "v1"
    },
    {
        "source": "https://github.com/facebook/fbthrift/commit/71c97ffdcb61cccf1f8267774e873e21ebd3ebd3",
        "id": "CVE-2019-11938-987be36c",
        "target": {
            "file": "thrift/lib/java/src/main/java/com/facebook/thrift/protocol/TCompactProtocol.java"
        },
        "signature_type": "Line",
        "deprecated": false,
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "74771347127876036427401549784542042811",
                "163311529738838366369460728159846812053",
                "31788733233047613584259494268390062096",
                "339099543116152471473616310579096008035",
                "206032680257557893581977889436677355889",
                "307296327200739690638246310920064302051",
                "16168353838762762402301079820466983503",
                "27622458853141881236488719668955867885",
                "61770961079333234746409456475238341602",
                "201697527828558247313011986395721296436",
                "73221666786568765909919170324372656865"
            ]
        },
        "signature_version": "v1"
    },
    {
        "source": "https://github.com/facebook/fbthrift/commit/71c97ffdcb61cccf1f8267774e873e21ebd3ebd3",
        "id": "CVE-2019-11938-a592ddf2",
        "target": {
            "function": "readMapBegin",
            "file": "thrift/lib/java/src/main/java/com/facebook/thrift/protocol/TCompactProtocol.java"
        },
        "signature_type": "Function",
        "deprecated": false,
        "digest": {
            "length": 214.0,
            "function_hash": "236682009412876707954779998704034247958"
        },
        "signature_version": "v1"
    },
    {
        "source": "https://github.com/facebook/fbthrift/commit/71c97ffdcb61cccf1f8267774e873e21ebd3ebd3",
        "id": "CVE-2019-11938-ae5bd043",
        "target": {
            "function": "readListBegin",
            "file": "thrift/lib/java/src/main/java/com/facebook/thrift/protocol/TCompactProtocol.java"
        },
        "signature_type": "Function",
        "deprecated": false,
        "digest": {
            "length": 208.0,
            "function_hash": "54418176528300490391677020634203931265"
        },
        "signature_version": "v1"
    },
    {
        "source": "https://github.com/facebook/fbthrift/commit/71c97ffdcb61cccf1f8267774e873e21ebd3ebd3",
        "id": "CVE-2019-11938-b2ac2119",
        "target": {
            "function": "readSetBegin",
            "file": "thrift/lib/java/src/main/java/com/facebook/thrift/protocol/TBinaryProtocol.java"
        },
        "signature_type": "Function",
        "deprecated": false,
        "digest": {
            "length": 91.0,
            "function_hash": "239612541776577694432704007750041224715"
        },
        "signature_version": "v1"
    },
    {
        "source": "https://github.com/facebook/fbthrift/commit/71c97ffdcb61cccf1f8267774e873e21ebd3ebd3",
        "id": "CVE-2019-11938-ba91c0a4",
        "target": {
            "file": "thrift/lib/java/src/main/java/com/facebook/thrift/protocol/TProtocolDecorator.java"
        },
        "signature_type": "Line",
        "deprecated": false,
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "317108181889544276394917609878997716669",
                "314938556549092262101300200478109042966"
            ]
        },
        "signature_version": "v1"
    },
    {
        "source": "https://github.com/facebook/fbthrift/commit/71c97ffdcb61cccf1f8267774e873e21ebd3ebd3",
        "id": "CVE-2019-11938-cca3324b",
        "target": {
            "file": "thrift/lib/java/src/main/java/com/facebook/thrift/protocol/TBinaryProtocol.java"
        },
        "signature_type": "Line",
        "deprecated": false,
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "132156360187921140183364973121583132777",
                "35436494623636297235696150606719979196",
                "289257469768923274834465228697048152312",
                "187992445896893488252699688043768278469",
                "36383705849617581662406830235957324729",
                "278168296182536343192294353669859092603",
                "188467864769370639302611477525398193942",
                "143016489911989585881014165186482610788",
                "307813277572085754561592827891934123030",
                "235564245046813757569341541316980270819",
                "229368641750899793881732014469855820876",
                "125631913607515860014992886861439588133",
                "332067265575664658637325141793176559603",
                "108587633537507210242609878158511307392"
            ]
        },
        "signature_version": "v1"
    },
    {
        "source": "https://github.com/facebook/fbthrift/commit/71c97ffdcb61cccf1f8267774e873e21ebd3ebd3",
        "id": "CVE-2019-11938-e79f3183",
        "target": {
            "function": "readListBegin",
            "file": "thrift/lib/java/src/main/java/com/facebook/thrift/protocol/TBinaryProtocol.java"
        },
        "signature_type": "Function",
        "deprecated": false,
        "digest": {
            "length": 91.0,
            "function_hash": "239612541776577694432704007750041224715"
        },
        "signature_version": "v1"
    }
]