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.
When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Json_pattern_validator | Json_pattern_validator_project | * | 2.1.1 (excluding) |