Moderate severityNVD Advisory· Published Dec 2, 2019· Updated Aug 5, 2024
CVE-2019-19507
CVE-2019-19507
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
jpvnpm | < 2.1.1 | 2.1.1 |
Affected products
2- jpv/Json Pattern Validatordescription
Patches
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
4- github.com/advisories/GHSA-rh46-3fgc-mvrfghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2019-19507ghsaADVISORY
- github.com/manvel-khnkoyan/jpv/issues/6ghsax_refsource_MISCWEB
- www.npmjs.com/package/jpvghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.