Security mailing lists by PureSourceCode

CVE-2019-19507

MEDIUM 5.3CVSS 3.1

Validation bypass is possible in Json Pattern Validator

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.

Published
2 Dec 2019
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-287
Also known as
GHSA-rh46-3fgc-mvrf
Sources
NVDJSONOSV GHSA-rh46-3fgc-mvrfJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.0 AV:N/AC:L/Au:N/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD json_pattern_validator_project json_pattern_validator
cpe:2.3:a:json_pattern_validator_project:json_pattern_validator:*:*:*:*:*:*:*:*
< 2.1.1 2.1.1
OSV npm jpv < 2.1.1 2.1.1

References

History

  • 25 Nov 2026 20:31 UTC · NVD: first stored (published 2 Dec 2019)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 4 Dec 2019)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.