{"api_version":"1","generated_at":"2026-07-23T18:38:45+00:00","cve":"CVE-2021-46878","urls":{"html":"https://cve.report/CVE-2021-46878","api":"https://cve.report/api/cve/CVE-2021-46878.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-46878","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-46878"},"summary":{"title":"CVE-2021-46878","description":"An issue was discovered in Treasure Data Fluent Bit 1.7.1, erroneous parsing in flb_pack_msgpack_to_json_format leads to type confusion bug that interprets whatever is on the stack as msgpack maps and arrays, leading to use-after-free. This can be used by an attacker to craft a specially craft file and trick the victim opening it using the affect software, triggering use-after-free and execute arbitrary code on the target system.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2023-04-11 18:15:00","updated_at":"2023-04-26 13:42:00"},"problem_types":["CWE-843"],"metrics":[],"references":[{"url":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=27742","name":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=27742","refsource":"MISC","tags":[],"title":"27742 - \n \n \n oss-fuzz -\n \n \n OSS-Fuzz: Fuzzing the planet - \n \n Monorail","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/fluent/fluent-bit/pull/3115","name":"https://github.com/fluent/fluent-bit/pull/3115","refsource":"MISC","tags":[],"title":"pack: fix type confusion bugs. Amongst other OSS-Fuzz 5136174263566336 by DavidKorczynski · Pull Request #3115 · fluent/fluent-bit · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-46878","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-46878","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"46878","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"treasuredata","cpe5":"fluent_bit","cpe6":"1.7.1","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-46878","qid":"906882","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for fluent-bit (26125-1)"}]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ID":"CVE-2021-46878","ASSIGNER":"cve@mitre.org","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"refsource":"MISC","name":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=27742","url":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=27742"},{"refsource":"MISC","name":"https://github.com/fluent/fluent-bit/pull/3115","url":"https://github.com/fluent/fluent-bit/pull/3115"}]},"description":{"description_data":[{"lang":"eng","value":"An issue was discovered in Treasure Data Fluent Bit 1.7.1, erroneous parsing in flb_pack_msgpack_to_json_format leads to type confusion bug that interprets whatever is on the stack as msgpack maps and arrays, leading to use-after-free. This can be used by an attacker to craft a specially craft file and trick the victim opening it using the affect software, triggering use-after-free and execute arbitrary code on the target system."}]}},"nvd":{"publishedDate":"2023-04-11 18:15:00","lastModifiedDate":"2023-04-26 13:42:00","problem_types":["CWE-843"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:treasuredata:fluent_bit:1.7.1:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}