{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2021-48012", "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10", "state": "PUBLISHED", "assignerShortName": "VulnCheck", "dateReserved": "2026-10-12T19:37:38.614Z", "datePublished": "2026-10-12T20:55:05.966Z", "dateUpdated": "2026-10-12T20:55:05.966Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10", "shortName": "VulnCheck", "dateUpdated": "2026-10-12T20:55:05.966Z" }, "datePublic": "2021-01-14T00:00:00.000Z", "title": "fast-toml through 0.5.4 Prototype Pollution via __proto__ Keys in Parsed TOML", "descriptions": [ { "lang": "en", "value": "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." } ], "problemTypes": [ { "descriptions": [ { "lang": "en", "description": "Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')", "cweId": "CWE-1321", "type": "CWE" } ] } ], "affected": [ { "vendor": "Gin-Quin", "product": "fast-toml", "defaultStatus": "unaffected", "versions": [ { "version": "0", "status": "affected", "versionType": "semver", "lessThanOrEqual": "0.5.4" } ], "packageURL": "pkg:npm/fast-toml", "repo": "https://github.com/Gin-Quin/fast-toml" } ], "metrics": [ { "format": "CVSS", "cvssV4_0": { "version": "4.0", "vectorString": "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", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "NONE", "userInteraction": "NONE", "vulnConfidentialityImpact": "NONE", "vulnIntegrityImpact": "HIGH", "vulnAvailabilityImpact": "LOW", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "baseScore": 8.8, "baseSeverity": "HIGH" } }, { "format": "CVSS", "cvssV3_1": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "HIGH", "availabilityImpact": "LOW", "baseScore": 8.2, "baseSeverity": "HIGH" } } ], "references": [ { "url": "https://github.com/Gin-Quin/fast-toml/issues/8", "tags": [ "issue-tracking" ], "name": "GitHub Issue #8" }, { "url": "https://github.com/Gin-Quin/fast-toml/pull/3", "tags": [ "issue-tracking", "patch" ], "name": "GitHub Pull Request #3" }, { "url": "https://github.com/Gin-Quin/fast-toml", "tags": [ "product" ] }, { "name": "VulnCheck Advisory: fast-toml through 0.5.4 Prototype Pollution via __proto__ Keys in Parsed TOML", "tags": [ "third-party-advisory" ], "url": "https://www.vulncheck.com/advisories/fast-toml-through-0.5.4-prototype-pollution-via-proto-keys-in-parsed-toml" } ], "credits": [ { "lang": "en", "value": "Abdulloh Nuriddinov", "type": "finder" }, { "lang": "en", "value": "Asjidkalam", "type": "finder" }, { "lang": "en", "value": "gnsehfvlr", "type": "finder" } ], "x_generator": { "engine": "vulncheck-endgame" } } } }