This repository was archived by the owner on Nov 7, 2024. It is now read-only.
Update dependency class-validator to v0.14.0 [SECURITY]#185
Open
renovate[bot] wants to merge 1 commit intomasterfrom
Open
Update dependency class-validator to v0.14.0 [SECURITY]#185renovate[bot] wants to merge 1 commit intomasterfrom
renovate[bot] wants to merge 1 commit intomasterfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.9.1->0.14.0GitHub Vulnerability Alerts
CVE-2019-18413
In TypeStack class-validator,
validate()input validation can be bypassed because certain internal attributes can be overwritten via a conflicting name. Even though there is an optionalforbidUnknownValuesparameter that can be used to reduce the risk of this bypass, this option is not documented and thus most developers configure input validation in the vulnerable default manner. With this vulnerability, attackers can launch SQL Injection or XSS attacks by injecting arbitrary malicious input.The default settings for
forbidUnknownValueshas been changed totruein 0.14.0.NOTE: a software maintainer agrees with the "is not documented" finding but suggests that much of the responsibility for the risk lies in a different product.
Release Notes
typestack/class-validator (class-validator)
v0.14.0Compare Source
v0.13.2Compare Source
Fixed
Array.isArrayin array checks frominstanceofoperatorChanged
libphonenumber-jspackage updated to1.9.43from1.9.7validatorpackage updated to13.5.2from13.5.2v0.13.1Compare Source
Added
ArrayUniquedecoratorFixed
IsUUIDdecoratorValidationError.toString()doesn't result in an error whenforbidNonWhitelistedparameter was usedIsIndecorator@types/validatorpackage is correctly installedinlineSourcesoption is enabled in tsconfig preventing various sourcemap errors when consuming the packageChanged
v0.13.0Compare Source
Added
always- allows setting global default foralwaysoption for decoratorsstrictGroups- ignore decorators with at least one group, whenValidatorOptions.groupsis emptyv0.12.2Compare Source
Fixed
tslibfrompeerDependenciestodependencies(827eff1), closes #588v0.12.1Compare Source
Fixed
v0.12.0Compare Source
Fixed
constraintsproperty in ValidationError (#465) (84680ad), closes #309Changed
Added
v0.11.1Compare Source
Fixed
Added
v0.11.0Compare Source
Fixed
Added
v0.10.2Compare Source
Fixed
Added
v0.10.1Compare Source
Fixed
Added
skipUndefinedProperties,skipNullPropertiesoptions (#414) (76c948a), closes #308v0.10.0Compare Source
Fixed
Added
IsISO31661Alpha3andIsISO31661Alpha2validators (#273) (55c57b3)IsDecimalfrom validatorjs (#359) (b4c8e21)isPortdecorator (#282) (36684ec)ValidatePromisedecorator - resolve promise before validate (#369) (35ec04d)isNumberStringnow accept validator.jsIsNumericOptionsas second parameter (#262)Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.