Skip to main content
← All vulnerabilities
CVE-2019-19507GHSA-RH46-3FGC-MVRF

In jpv (aka Json Pattern Validator) before 2.1.1, compareCommon() can be bypassed because certain internal attributes can be overwritten via

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.1.1
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • jpvnpm

    fixed in 2.1.1

References 2

GitHub · manvel-khnkoyan/jpv

npmjs.com