CVE-2019-10805: valib - Exposure of Resource to Wrong Sphere

valib Updated 02 Oct 2025

Summary

13/04/2021
No i
Moderate
7.5

CVE-2019-10805: Exposure of Resource to Wrong Sphere in valib. Affects valib versions < 2.0.0. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

valib is an npm package that provides inspection functions for JavaScript objects. It allows developers to examine objects and perform security checks. However, versions up to 2.0.0 of valib are vulnerable to Internal Property Tampering. This vulnerability enables a maliciously crafted JavaScript object to bypass several inspection functions provided by valib. By manipulating the inspection results, an attacker can bypass security checks and potentially exploit the application.

Vulnerability Detail

The vulnerability in valib arises from the use of the built-in function 'hasOwnProperty' from unsafe user-input to examine an object. A crafted payload can overwrite this function, allowing the attacker to manipulate the inspection results. This enables them to bypass security checks and potentially gain unauthorized access or perform other malicious actions. The severity of this vulnerability is rated as MODERATE with a CVSS score of 7.5.

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 specific workaround mentioned for this vulnerability. It is crucial to update the valib package to the latest version to address the issue.

Conclusion

In conclusion, the valib package up to version 2.0.0 is vulnerable to Internal Property Tampering. It is crucial to update the package to the latest version to mitigate the risk of unauthorized access and other malicious activities. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for valib →

Share this vulnerability

FAQ

valib is an npm package that provides inspection functions for JavaScript objects.

This vulnerability allows an attacker to bypass security checks and potentially gain unauthorized access or perform other malicious actions.

To fix this vulnerability, update the valib package to a version beyond 2.0.0.

There is no specific workaround mentioned for this vulnerability. Updating the valib package is the recommended solution.

The severity of this vulnerability is rated as MODERATE with a CVSS score of 7.5.

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