Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
fabric8-analytics-cve-bot committed Nov 1, 2019
1 parent e56496f commit c4557d5
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions database/javascript/2019/18413.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
cve: 2019-18413
title: CVE in class-validator
description: >
In TypeStack class-validator 0.10.2, validate() input validation can be bypassed because certain internal attributes can be overwritten via a conflicting name. Even though there is an optional forbidUnknownValues parameter 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. 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.
cvss_v2: 7.5
references:
- https://github.com/typestack/class-validator/issues/438
affected:
- name: class-validator
version:
- "<=0.10.2,0.10.2"
fixedin:
- "<=0.10.1,0.3.0"

0 comments on commit c4557d5

Please sign in to comment.