Skip to main content
← All vulnerabilities
CVE-2021-48012

fast-toml through 0.5.4 Prototype Pollution via __proto__ Keys in Parsed TOML

Published
Last modified
published
Not listed in CISA KEV
Fix
Fix or patch referenced
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

fast-toml through 0.5.4 contains a prototype pollution vulnerability that allows attackers to modify Object.prototype by supplying TOML containing proto, constructor or prototype key segments. Attackers can pass [proto] or [constructor.prototype] table headers or proto.x dotted keys to parse() to pollute all objects, causing denial of service or authorization bypass.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • Gin-Quin fast-toml

    through 0.5.4

References 4

GitHub · Gin-Quin/fast-toml

vulncheck.com