2024-01-30 17:00:34 +00:00
{
2024-03-05 23:00:35 +00:00
"data_version" : "4.0" ,
2024-01-30 17:00:34 +00:00
"data_type" : "CVE" ,
"data_format" : "MITRE" ,
"CVE_data_meta" : {
"ID" : "CVE-2024-24785" ,
2024-03-05 23:00:35 +00:00
"ASSIGNER" : "security@golang.org" ,
"STATE" : "PUBLIC"
2024-01-30 17:00:34 +00:00
} ,
"description" : {
"description_data" : [
{
"lang" : "eng" ,
2024-03-05 23:00:35 +00:00
"value" : "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."
}
]
} ,
"problemtype" : {
"problemtype_data" : [
{
"description" : [
{
"lang" : "eng" ,
"value" : "CWE-150: Improper Neutralization of Escape, Meta, or Control Sequences"
}
]
2024-01-30 17:00:34 +00:00
}
]
2024-03-05 23:00:35 +00:00
} ,
"affects" : {
"vendor" : {
"vendor_data" : [
{
"vendor_name" : "Go standard library" ,
"product" : {
"product_data" : [
{
"product_name" : "html/template" ,
"version" : {
"version_data" : [
{
"version_affected" : "<" ,
"version_name" : "0" ,
"version_value" : "1.21.8"
} ,
{
"version_affected" : "<" ,
"version_name" : "1.22.0-0" ,
"version_value" : "1.22.1"
}
]
}
}
]
}
}
]
}
} ,
"references" : {
"reference_data" : [
{
"url" : "https://go.dev/issue/65697" ,
"refsource" : "MISC" ,
"name" : "https://go.dev/issue/65697"
} ,
{
"url" : "https://go.dev/cl/564196" ,
"refsource" : "MISC" ,
"name" : "https://go.dev/cl/564196"
} ,
{
"url" : "https://groups.google.com/g/golang-announce/c/5pwGVUPoMbg" ,
"refsource" : "MISC" ,
"name" : "https://groups.google.com/g/golang-announce/c/5pwGVUPoMbg"
} ,
{
"url" : "https://pkg.go.dev/vuln/GO-2024-2610" ,
"refsource" : "MISC" ,
"name" : "https://pkg.go.dev/vuln/GO-2024-2610"
}
]
} ,
"credits" : [
{
"lang" : "en" ,
"value" : "RyotaK (https://ryotak.net)"
}
]
2024-01-30 17:00:34 +00:00
}