fastavro Union/Enum Negative Index โ Security Research PoC
โ ๏ธ This is not a functional ML model. This repository contains proof-of-concept artifacts for a security vulnerability disclosure submitted via the huntr bug bounty platform (Model File Vulnerabilities program).
What this is
These .avro files demonstrate a silent type-confusion vulnerability in the fastavro Python library (tested on version 1.12.2 and earlier), caused by unvalidated negative indices during Union/Enum schema resolution.
base_odds.avro: a clean baseline payload with a schema expecting afloatfield.poisoned_odds.avro: a crafted payload that exploits the unvalidated negative index to makefastavrosilently decode astringwhere afloatwas expected, with no exception raised.
Full technical writeup
A full reproduction environment โ including root-cause analysis, PoC generation scripts, and an end-to-end lab pipeline (Apache Airflow + Elasticsearch) demonstrating downstream impact โ is maintained privately and available on request to the maintainer or triage team.
Responsible disclosure
This repository exists strictly for authorized security research and coordinated disclosure. Do not use these payloads against any production system, pipeline, or environment without explicit authorization.
Status: Reported to huntr (pending validation).