Skip to content
Heist/ feed
High

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

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2021-48012

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2021-48012

fast-toml

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://github.com/Gin-Quin/fast-toml",
    "vendor": "Gin-Quin",
    "product": "fast-toml",
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "versionType": "semver",
        "lessThanOrEqual": "0.5.4"
      }
    ],
    "packageURL": "pkg:npm/fast-toml",
    "defaultStatus": "unaffected"
  }
]
Related CVEs
CVE-2021-48012

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#17112 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement