CVE-2021-25946: Prototype Pollution in nconf-toml

nconf-toml Updated 02 Oct 2025

Summary

07/06/2021
No i
Critical
9.8

CVE-2021-25946: Prototype pollution in nconf-toml. Affects nconf-toml versions >= 0.0.1, <= 0.0.2. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

nconf-toml is an npm package that provides functionality for parsing TOML configuration files in Node.js applications. It is commonly used to load and manage configuration settings. However, versions 0.0.1 through 0.0.2 of nconf-toml are vulnerable to prototype pollution.

Vulnerability Detail

The vulnerability in nconf-toml arises from a prototype pollution issue. An attacker can exploit this vulnerability to cause a denial of service (DoS) and potentially execute remote code. By manipulating the prototype of objects, an attacker can modify or add properties to all objects within the application, leading to unexpected behavior and potential security breaches.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

There is no known workaround for this vulnerability. It is crucial to upgrade to a non-vulnerable version of nconf-toml as soon as possible.

Conclusion

In conclusion, the nconf-toml package versions 0.0.1 through 0.0.2 are vulnerable to prototype pollution, which can result in a denial of service and potential remote code execution. It is crucial to upgrade to a non-vulnerable version (0.0.3 or higher) of nconf-toml to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for nconf-toml →

Share this vulnerability

FAQ

Prototype pollution is a vulnerability that occurs when an attacker can modify the prototype of objects, allowing them to inject or modify properties across the application.

This vulnerability can lead to a denial of service (DoS) and potentially remote code execution. Attackers can manipulate the behavior of the application and exploit security vulnerabilities.

Versions 0.0.1 through 0.0.2 of nconf-toml are affected by this vulnerability.

You can use the Vulert Playground at Vulert Scanner to check if your application is affected by this vulnerability. Simply provide your package-lock.json file, and Vulert will analyze it for open-source vulnerabilities in real-time.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback