CVE-2019-18413 In TypeStack class-validator 0.10.2, validate() input validation can be bypassed because certain in…
설명
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.
영향 받는 제품 제품 1개
-
NVD 기준
typestack class-validator project
typestack class-validator
영향 받는 버전
- 0.10.2
해결 버전
해결된 버전 정보가 없습니다.
패키지 기준 해결 버전 패키지 1개
-
해결 버전 있음
npm · class-validator
영향 받는 버전 · 해결 버전
- 영향 0.14.0 미만 · 해결 0.14.0 이상
출처: GitHub Advisory Database · CC-BY 4.0
참고 자료 4건
- github.com https://github.com/typestack/class-validator/issues/1422#issuecomment-1344635415 (새 창)
- github.com https://github.com/typestack/class-validator/issues/438 (새 창)
- github.com https://github.com/typestack/class-validator/issues/438#issuecomment-964728471 (새 창)
- github.com https://github.com/typestack/class-validator#passing-options (새 창)