Files
vuln-cve/data/2024/24xxx/CVE-2024-24785.json
T

198 lines
7.5 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.1",
"cveMetadata": {
"cveId": "CVE-2024-24785",
"assignerOrgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
"state": "PUBLISHED",
"assignerShortName": "Go",
"dateReserved": "2024-01-30T16:05:14.757Z",
"datePublished": "2024-03-05T22:22:33.640Z",
"dateUpdated": "2025-03-14T00:55:26.398Z"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
"shortName": "Go",
"dateUpdated": "2024-05-01T17:09:37.492Z"
},
"title": "Errors returned from JSON marshaling may break template escaping in html/template",
"descriptions": [
{
"lang": "en",
"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."
}
],
"affected": [
{
"vendor": "Go standard library",
"product": "html/template",
"collectionURL": "https://pkg.go.dev",
"packageName": "html/template",
"versions": [
{
"version": "0",
"lessThan": "1.21.8",
"status": "affected",
"versionType": "semver"
},
{
"version": "1.22.0-0",
"lessThan": "1.22.1",
"status": "affected",
"versionType": "semver"
}
],
"programRoutines": [
{
"name": "jsValEscaper"
},
{
"name": "escaper.commit"
},
{
"name": "Template.Execute"
},
{
"name": "Template.ExecuteTemplate"
}
],
"defaultStatus": "unaffected"
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"description": "CWE-150: Improper Neutralization of Escape, Meta, or Control Sequences"
}
]
}
],
"references": [
{
"url": "https://go.dev/issue/65697"
},
{
"url": "https://go.dev/cl/564196"
},
{
"url": "https://groups.google.com/g/golang-announce/c/5pwGVUPoMbg"
},
{
"url": "https://pkg.go.dev/vuln/GO-2024-2610"
},
{
"url": "https://security.netapp.com/advisory/ntap-20240329-0008/"
},
{
"url": "http://www.openwall.com/lists/oss-security/2024/03/08/4"
}
],
"credits": [
{
"lang": "en",
"value": "RyotaK (https://ryotak.net)"
}
]
},
"adp": [
{
"metrics": [
{
"cvssV3_1": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 5.4,
"attackVector": "NETWORK",
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N",
"integrityImpact": "LOW",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "NONE",
"privilegesRequired": "LOW",
"confidentialityImpact": "LOW"
}
},
{
"other": {
"type": "ssvc",
"content": {
"timestamp": "2024-03-06T18:49:44.784868Z",
"id": "CVE-2024-24785",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
}
],
"title": "CISA ADP Vulnrichment",
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2025-03-14T00:55:26.398Z"
}
},
{
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-01T23:28:12.537Z"
},
"title": "CVE Program Container",
"references": [
{
"url": "https://go.dev/issue/65697",
"tags": [
"x_transferred"
]
},
{
"url": "https://go.dev/cl/564196",
"tags": [
"x_transferred"
]
},
{
"url": "https://groups.google.com/g/golang-announce/c/5pwGVUPoMbg",
"tags": [
"x_transferred"
]
},
{
"url": "https://pkg.go.dev/vuln/GO-2024-2610",
"tags": [
"x_transferred"
]
},
{
"url": "https://security.netapp.com/advisory/ntap-20240329-0008/",
"tags": [
"x_transferred"
]
},
{
"url": "http://www.openwall.com/lists/oss-security/2024/03/08/4",
"tags": [
"x_transferred"
]
}
]
}
]
}
}