185 lines
6.9 KiB
JSON
185 lines
6.9 KiB
JSON
{
|
|
"dataType": "CVE_RECORD",
|
|
"dataVersion": "5.1",
|
|
"cveMetadata": {
|
|
"cveId": "CVE-2023-39319",
|
|
"assignerOrgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
|
|
"state": "PUBLISHED",
|
|
"assignerShortName": "Go",
|
|
"dateReserved": "2023-07-27T17:05:55.186Z",
|
|
"datePublished": "2023-09-08T16:13:28.663Z",
|
|
"dateUpdated": "2025-02-13T17:02:47.366Z"
|
|
},
|
|
"containers": {
|
|
"cna": {
|
|
"providerMetadata": {
|
|
"orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
|
|
"shortName": "Go",
|
|
"dateUpdated": "2023-11-25T11:10:06.783Z"
|
|
},
|
|
"title": "Improper handling of special tags within script contexts in html/template",
|
|
"descriptions": [
|
|
{
|
|
"lang": "en",
|
|
"value": "The html/template package does not apply the proper rules for handling occurrences of \"<script\", \"<!--\", and \"</script\" within JS literals in <script> contexts. This may cause the template parser to improperly consider script contexts to be terminated early, causing actions to be improperly escaped. This could be leveraged to perform an XSS attack."
|
|
}
|
|
],
|
|
"affected": [
|
|
{
|
|
"vendor": "Go standard library",
|
|
"product": "html/template",
|
|
"collectionURL": "https://pkg.go.dev",
|
|
"packageName": "html/template",
|
|
"versions": [
|
|
{
|
|
"version": "0",
|
|
"lessThan": "1.20.8",
|
|
"status": "affected",
|
|
"versionType": "semver"
|
|
},
|
|
{
|
|
"version": "1.21.0-0",
|
|
"lessThan": "1.21.1",
|
|
"status": "affected",
|
|
"versionType": "semver"
|
|
}
|
|
],
|
|
"programRoutines": [
|
|
{
|
|
"name": "escaper.escapeText"
|
|
},
|
|
{
|
|
"name": "tSpecialTagEnd"
|
|
},
|
|
{
|
|
"name": "indexTagEnd"
|
|
},
|
|
{
|
|
"name": "Template.Execute"
|
|
},
|
|
{
|
|
"name": "Template.ExecuteTemplate"
|
|
}
|
|
],
|
|
"defaultStatus": "unaffected"
|
|
}
|
|
],
|
|
"problemTypes": [
|
|
{
|
|
"descriptions": [
|
|
{
|
|
"lang": "en",
|
|
"description": "CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"references": [
|
|
{
|
|
"url": "https://go.dev/issue/62197"
|
|
},
|
|
{
|
|
"url": "https://go.dev/cl/526157"
|
|
},
|
|
{
|
|
"url": "https://groups.google.com/g/golang-dev/c/2C5vbR-UNkI/m/L1hdrPhfBAAJ"
|
|
},
|
|
{
|
|
"url": "https://pkg.go.dev/vuln/GO-2023-2043"
|
|
},
|
|
{
|
|
"url": "https://security.netapp.com/advisory/ntap-20231020-0009/"
|
|
},
|
|
{
|
|
"url": "https://security.gentoo.org/glsa/202311-09"
|
|
}
|
|
],
|
|
"credits": [
|
|
{
|
|
"lang": "en",
|
|
"value": "Takeshi Kaneko (GMO Cybersecurity by Ierae, Inc.)"
|
|
}
|
|
]
|
|
},
|
|
"adp": [
|
|
{
|
|
"providerMetadata": {
|
|
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
|
|
"shortName": "CVE",
|
|
"dateUpdated": "2024-08-02T18:02:06.746Z"
|
|
},
|
|
"title": "CVE Program Container",
|
|
"references": [
|
|
{
|
|
"url": "https://go.dev/issue/62197",
|
|
"tags": [
|
|
"x_transferred"
|
|
]
|
|
},
|
|
{
|
|
"url": "https://go.dev/cl/526157",
|
|
"tags": [
|
|
"x_transferred"
|
|
]
|
|
},
|
|
{
|
|
"url": "https://groups.google.com/g/golang-dev/c/2C5vbR-UNkI/m/L1hdrPhfBAAJ",
|
|
"tags": [
|
|
"x_transferred"
|
|
]
|
|
},
|
|
{
|
|
"url": "https://pkg.go.dev/vuln/GO-2023-2043",
|
|
"tags": [
|
|
"x_transferred"
|
|
]
|
|
},
|
|
{
|
|
"url": "https://security.netapp.com/advisory/ntap-20231020-0009/",
|
|
"tags": [
|
|
"x_transferred"
|
|
]
|
|
},
|
|
{
|
|
"url": "https://security.gentoo.org/glsa/202311-09",
|
|
"tags": [
|
|
"x_transferred"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"metrics": [
|
|
{
|
|
"other": {
|
|
"type": "ssvc",
|
|
"content": {
|
|
"timestamp": "2024-09-26T16:02:49.339620Z",
|
|
"id": "CVE-2023-39319",
|
|
"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": "2024-09-26T16:04:58.123Z"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
} |