Denoland std
@std/toml Prototype Pollution in Node.js and Browser
@std/toml is the Deno Standard Library. Prior to version 1.0.9, an attacker can pollute the prototype chain in Node.js runtime and Browser when parsing untrusted TOML data, thus achieving Prototype Pollution (PP) vulnerability. This is because the library is merging an untrusted object with an empty object, which by default the empty object has the prototype chain. This issue has been patched in version 1.0.9.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.3high · scored by CNA · CWE-1321
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
denoland std
- < 1.0.9
Fixed in 1.0.9
Mitigation
Upgrade std to 1.0.9 or later.
References
- Vendor advisory github.com/denoland/std/security/advisories/GH…
- Patch github.com/denoland/std/commit/540662cfd6d71e9…
- Release notes github.com/denoland/std/releases/tag/release-2…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.