Live threats

All CVEs / Json Pattern Validator Project

CVE-2019-19507Json Pattern Validator Project Json Pattern Validator

Medium 5.3 No auth needed

Priority
47
CVSS 3.1
5.3
EPSS
1.0%
probability of exploitation in 30 days · percentile 63
Auth required
No
Published
Dec 2, 2019
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-287
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

What happens

In jpv (aka Json Pattern Validator) before 2.1.1, compareCommon() can be bypassed because certain internal attributes can be overwritten via a conflicting name, as demonstrated by 'constructor': {'name':'Array'}. This affects validate(). Hence, a crafted payload can overwrite this builtin attribute to manipulate the type detection result.

Original NVD text.

What to do

  1. Apply the vendor's security update for Json Pattern Validator.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm jpv < 2.1.1 2.1.1 npm install jpv@2.1.1

Per OSV / GitHub Advisories (GHSA-rh46-3fgc-mvrf). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
json_pattern_validator_projectjson_pattern_validator< 2.1.1

Official sources

References

Links published by the sources. Open them with care.