CVE-2024-24785 Errors returned from JSON marshaling may break template escaping in html/template
설명
If errors returned from MarshalJSON methods contain user controlled data, they may be used to break the contextual auto-escaping behavior of the html/template package, allowing for subsequent actions to inject unexpected content into templates.
영향 받는 제품 제품 1개
-
해결 버전 있음
Go standard library
html/template
영향 받는 버전
- 1.21.8 미만
- 1.22.0-0 이상 1.22.1 미만
해결 버전
- 1.21.8 이상
- 1.22.1 이상
참고 자료 6건
- go.dev https://go.dev/cl/564196 (새 창)
- go.dev https://go.dev/issue/65697 (새 창)
- groups.google.com https://groups.google.com/g/golang-announce/c/5pwGVUPoMbg (새 창)
- pkg.go.dev https://pkg.go.dev/vuln/GO-2024-2610 (새 창)
- security.netapp.com https://security.netapp.com/advisory/ntap-20240329-0008/ (새 창)
- openwall.com http://www.openwall.com/lists/oss-security/2024/03/08/4 (새 창)