fast-toml through 0.5.4 Prototype Pollution via __proto__ Keys in Parsed TOML
Impact
fast-toml versions 0.5.4 and below contain a prototype pollution vulnerability, allowing attackers to modify Object.prototype with crafted TOML input, potentially causing denial of service or authorization bypass. Attackers must supply specific key segments to parse().
Summarized by @cf/meta/llama-3.3-70b-instruct-fp8-fast. Verify details against the original sources.Affected packages
Affected products
Vendor version evidence. Product records are separate from automatic dependency matching.
Gin-Quin · VulnCheck
fast-toml
1 range
Gin-Quin · VulnCheck
fast-toml
Package identity
pkg:npm/fast-tomlExplore fast-toml →Identity supplied by VulnCheck. Version matching requires compatible range evidence.
Compare with this publisher’s ranges. This does not inspect your installation.
affected
0 → through 0.5.4
semver versions
Other versions: unaffected
Original source description
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.
Inside the record
Evidence available
Describes the evidence in this view, not whether the product is safe.
Original records
CVE-2021-48012View the latest unmodified CVE JSON from the official source. It may be newer than this imported page.
cve.new JSON →Underlying weaknesses
The source’s classification of what caused the vulnerability.
Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
VulnCheck
Contributing organizations · 2
Assigning organization
Additional data publisher
What changed
Follow changesLarge field values are marked as truncated previews. Original source snapshots remain retained.