CVE-2021-32820 File disclosure in Express Handlebars
Express 핸들바의 파일 공개
설명
Express-handlebars is a Handlebars view engine for Express. Express-handlebars mixes pure template data with engine configuration options through the Express render API. More specifically, the layout parameter may trigger file disclosure vulnerabilities in downstream applications. This potential vulnerability is somewhat restricted in that only files with existing extentions (i.e. file.extension) can be included, files that lack an extension will have .handlebars appended to them. For complete details refer to the referenced GHSL-2021-018 report. Notes in documentation have been added to help users avoid this potential information exposure vulnerability.
Express-handlebars는 Express 용 핸들 바보기 엔진입니다. Express-handlebars는 Express 렌더링 API를 통해 순수 템플릿 데이터와 엔진 구성 옵션을 혼합합니다. 보다 구체적으로, 레이아웃 매개 변수는 다운스트림 애플리케이션에서 파일 공개 취약점을 트리거할 수 있습니다. 이 잠재적인 취약점은 기존 확장자를 가진 파일(예: file.extension)만 포함될 수 있으므로 어느 정도 제한되어 있으며, 확장자가 없는 파일은 .handlebars가 추가됩니다. 자세한 내용은 참조된 GHSL-2021-018 보고서를 참조하십시오. 사용자가 이러한 잠재적 정보 노출 취약성을 피할 수 있도록 문서의 메모가 추가되었습니다.
영향 받는 제품 제품 1개
-
express-handlebars
express-handlebars
영향 받는 버전
- 5.3.2 이하
해결 버전
해결된 버전 정보가 없습니다.
패키지 기준 해결 버전 패키지 1개
-
해결 버전 있음
npm · express-handlebars
영향 받는 버전 · 해결 버전
- 영향 5.3.1 미만 · 해결 5.3.1 이상
출처: GitHub Advisory Database · CC-BY 4.0
참고 자료 5건
- github.com https://github.com/express-handlebars/express-handlebars/blob/78c47a235c4ad7bc2674bddd8ec2721567ed8c72/README.md#danger- (새 창)
- github.com https://github.com/express-handlebars/express-handlebars/commit/78c47a235c4ad7bc2674bddd8ec2721567ed8c72 (새 창)
- github.com https://github.com/express-handlebars/express-handlebars/pull/163 (새 창)
- securitylab.github.com https://securitylab.github.com/advisories/GHSL-2021-018-express-handlebars/ (새 창)
- npmjs.com https://www.npmjs.com/package/express-handlebars (새 창)