{"id":"CVE-2019-19507","published":"2019-12-02T16:17:45Z","modified":"2024-08-05T02:16:48Z","title":"In jpv (aka Json Pattern Validator) before 2.1.1, compareCommon() can be bypassed because certain internal attributes…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00974,"percentile":0.62912,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/manvel-khnkoyan/jpv/issues/6","tags":["x_refsource_MISC"]},{"url":"https://www.npmjs.com/package/jpv","tags":["x_refsource_MISC"]}],"priority":{"score":12.6,"factors":[{"name":"EPSS percentile","points":12.58}]},"affected":[{"ecosystem":"npm","package":"jpv","vulnerableRanges":["<2.1.1"],"patched":["2.1.1"],"from":["GHSA-rh46-3fgc-mvrf"],"provenance":"source"}],"summary":{"text":"The flaw is in the jpv (Json Pattern Validator) library before version 2.1.1, where the compareCommon() function can be bypassed because internal attributes can be overwritten through a conflicting name, as in the 'constructor': {'name':'Array'} example. The issue affects validate(), where a crafted payload that overwrites this built-in attribute can manipulate the type detection result.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:00:07Z"},"euvd":{"id":"EUVD-2019-0801","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2019-19507","published":"2019-12-02","fixed":"2.1.1","kev":false},{"cve":"CVE-2020-17479","published":"2020-08-10","fixed":"2.2.2","kev":false,"link":{"from":"CVE-2019-19507","to":"CVE-2020-17479","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:jpv","fromFixed":"2.1.1","toFixed":"2.2.2","daysApart":252},{"kind":"similar","provenance":"machine","score":0.52,"basis":"same package + description similarity"}]}}],"package":"npm:jpv"}}