Bypass of additionalProperties validation via nested object property names in github.com/qri-io/jsonschema
No exploitation in the wild has been reported. No fixed version is recorded.
In github.com/qri-io/jsonschema, Properties.ValidateKeyword, PatternProperties.ValidateKeyword, and AdditionalProperties.ValidateKeyword call currentState.UpdateEvaluatedPropsAndItems(subState) after validating nested object properties, merging the child object's evaluated property names into the parent object's validation state. Consequently, any property on the parent object that shares a name with a validated property in a nested child object is treated as already evaluated on the parent, bypassing additionalProperties and unevaluatedProperties validation on the parent object.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| go: github.com/qri-io/jsonschema | >=0.2.0 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket