Files
vuln-cve/data/2022/2xxx/CVE-2022-2879.json
T

148 lines
5.2 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.1",
"cveMetadata": {
"state": "PUBLISHED",
"cveId": "CVE-2022-2879",
"assignerOrgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
"assignerShortName": "Go",
"dateUpdated": "2025-02-13T16:32:38.510Z",
"dateReserved": "2022-08-17T00:00:00.000Z",
"datePublished": "2022-10-14T00:00:00.000Z"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
"shortName": "Go",
"dateUpdated": "2023-11-25T11:10:09.147Z"
},
"title": "Unbounded memory consumption when reading headers in archive/tar",
"descriptions": [
{
"lang": "en",
"value": "Reader.Read does not set a limit on the maximum size of file headers. A maliciously crafted archive could cause Read to allocate unbounded amounts of memory, potentially causing resource exhaustion or panics. After fix, Reader.Read limits the maximum size of header blocks to 1 MiB."
}
],
"affected": [
{
"vendor": "Go standard library",
"product": "archive/tar",
"collectionURL": "https://pkg.go.dev",
"packageName": "archive/tar",
"versions": [
{
"version": "0",
"lessThan": "1.18.7",
"status": "affected",
"versionType": "semver"
},
{
"version": "1.19.0-0",
"lessThan": "1.19.2",
"status": "affected",
"versionType": "semver"
}
],
"programRoutines": [
{
"name": "Reader.next"
},
{
"name": "parsePAX"
},
{
"name": "Writer.writePAXHeader"
},
{
"name": "Reader.Next"
},
{
"name": "Writer.WriteHeader"
}
],
"defaultStatus": "unaffected"
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"description": "CWE 400: Uncontrolled Resource Consumption"
}
]
}
],
"references": [
{
"url": "https://go.dev/issue/54853"
},
{
"url": "https://go.dev/cl/439355"
},
{
"url": "https://groups.google.com/g/golang-announce/c/xtuG5faxtaU"
},
{
"url": "https://pkg.go.dev/vuln/GO-2022-1037"
},
{
"url": "https://security.gentoo.org/glsa/202311-09"
}
],
"credits": [
{
"lang": "en",
"value": "Adam Korczynski (ADA Logics)"
},
{
"lang": "en",
"value": "OSS-Fuzz"
}
]
},
"adp": [
{
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-03T00:52:59.498Z"
},
"title": "CVE Program Container",
"references": [
{
"url": "https://go.dev/issue/54853",
"tags": [
"x_transferred"
]
},
{
"url": "https://go.dev/cl/439355",
"tags": [
"x_transferred"
]
},
{
"url": "https://groups.google.com/g/golang-announce/c/xtuG5faxtaU",
"tags": [
"x_transferred"
]
},
{
"url": "https://pkg.go.dev/vuln/GO-2022-1037",
"tags": [
"x_transferred"
]
},
{
"url": "https://security.gentoo.org/glsa/202311-09",
"tags": [
"x_transferred"
]
}
]
}
]
}
}