#VU23454 Input validation error in jpv - CVE-2019-19507


Vulnerability identifier: #VU23454

Vulnerability risk: Medium

CVSSv4.0: 2.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2019-19507

CWE-ID: CWE-20

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
jpv
Web applications / JS libraries

Vendor: Manvel Khnkoyan

Description

The vulnerability allows a remote attacker to compromise the target system.

The vulnerability exists due to insufficient validation of user-supplied input. A remote attacker can use a specially crafted json, bypass "compareCommon()", and manipulate the type detection result, because certain internal attributes can be overwritten via a conflicting name, as demonstrated by 'constructor': {'name':'Array'}.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

jpv: 1.0.0 - 2.0.1


External links
https://github.com/manvel-khnkoyan/jpv/issues/6
https://www.npmjs.com/package/jpv


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability