jpv@1.5.1 vulnerabilities

Flexible and powerful JSON pattern validation library with support for complex, nested structures, array validation, and a wide range of validation patterns. Includes logical operators and strict/nullable types.

Direct Vulnerabilities

Known vulnerabilities in the jpv package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Improper Input Validation

jpv is a Json Pattern Validator

Affected versions of this package are vulnerable to Improper Input Validation. compareCommon() can be bypassed because certain internal attributes can be overwritten via a conflicting name, as demonstrated by 'constructor': {'name':'Array'}.

Note: This vulnerability is due to an incomplete fix for CVE-2019-19507

How to fix Improper Input Validation?

Upgrade jpv to version 2.2.2 or higher.

<2.2.2
  • H
Improper Input Validation

jpv is a Json Pattern Validator

Affected versions of this package are vulnerable to Improper Input Validation. compareCommon() can be bypassed because certain internal attributes can be overwritten via a conflicting name, as demonstrated by 'constructor': {'name':'Array'}.

How to fix Improper Input Validation?

Upgrade jpv to version 2.1.0 or higher.

<2.1.0