CVE-2021-48012
published high CVSS 4.0 · 8.8fast-toml through 0.5.4 Prototype Pollution via __proto__ Keys in Parsed TOML
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Gin-Quin | — | fast-toml0 through 0.5.4 · Other versions: unaffected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.2 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Gin-Quin | fast-toml | 0 through 0.5.4 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
References
4- https://github.com/Gin-Quin/fast-toml
- GitHub Issue #8 https://github.com/Gin-Quin/fast-toml/issues/8
- GitHub Pull Request #3 https://github.com/Gin-Quin/fast-toml/pull/3
- VulnCheck Advisory: fast-toml through 0.5.4 Prototype Pollution via __proto__ Keys in Parsed TOML https://www.vulncheck.com/advisories/fast-toml-through-0.5.4-prototype-pollution-via-proto-keys-in-parsed-toml
Provider assertions
2VulnCheck · cna
fast-toml through 0.5.4 Prototype Pollution via __proto__ Keys in Parsed TOML
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- aae8310b153cdc529b0a0da33e90ce7665240e5ed2123378e6ee53d88cbb1907
- Ingested
- 26 Oct 2026, 17:45:29 UTC
- Source record
- Official CVE record