Skip to content

Commit

Permalink
data/reports: add GO-2023-1572.yaml
Browse files Browse the repository at this point in the history
Aliases: CVE-2022-41727

Updates #1572

Change-Id: I5feb10dc0c30c225ce161c21ee6a3c86bbab665e
Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/468901
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Tatiana Bradley <tatianabradley@google.com>
Reviewed-by: Damien Neil <dneil@google.com>
Reviewed-by: Tatiana Bradley <tatianabradley@google.com>
  • Loading branch information
tatianab committed Feb 16, 2023
1 parent b7ef72b commit ba36369
Show file tree
Hide file tree
Showing 3 changed files with 172 additions and 0 deletions.
81 changes: 81 additions & 0 deletions data/cve/v5/GO-2023-1572.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
{
"dataType": "CVE_RECORD",
"dataVersion": "5.0",
"cveMetadata": {
"cveId": "CVE-2022-41727"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc"
},
"descriptions": [
{
"lang": "en",
"value": "An attacker can craft a malformed TIFF image which will consume a significant amount of memory when passed to DecodeConfig. This could lead to a denial of service."
}
],
"affected": [
{
"vendor": "golang.org/x/image",
"product": "golang.org/x/image/tiff",
"collectionURL": "https://pkg.go.dev",
"packageName": "golang.org/x/image/tiff",
"versions": [
{
"version": "0",
"lessThan": "0.5.0",
"status": "affected",
"versionType": "semver"
}
],
"programRoutines": [
{
"name": "decoder.ifdUint"
},
{
"name": "newDecoder"
},
{
"name": "Decode"
},
{
"name": "DecodeConfig"
}
],
"defaultStatus": "unaffected"
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"description": "CWE-400: Uncontrolled Resource Consumption"
}
]
}
],
"references": [
{
"url": "https://go.dev/issue/58003"
},
{
"url": "https://go.dev/cl/468195"
},
{
"url": "https://groups.google.com/g/golang-announce/c/ag-FiyjlD5o"
},
{
"url": "https://pkg.go.dev/vuln/GO-2023-1572"
}
],
"credits": [
{
"lang": "en",
"value": "Philippe Antoine (Catena cyber) and OSS Fuzz"
}
]
}
}
}
66 changes: 66 additions & 0 deletions data/osv/GO-2023-1572.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
{
"id": "GO-2023-1572",
"published": "0001-01-01T00:00:00Z",
"modified": "0001-01-01T00:00:00Z",
"aliases": [
"CVE-2022-41727"
],
"details": "An attacker can craft a malformed TIFF image which will consume a significant amount of memory when passed to DecodeConfig. This could lead to a denial of service.",
"affected": [
{
"package": {
"name": "golang.org/x/image",
"ecosystem": "Go"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.5.0"
}
]
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2023-1572"
},
"ecosystem_specific": {
"imports": [
{
"path": "golang.org/x/image/tiff",
"symbols": [
"Decode",
"DecodeConfig",
"decoder.ifdUint",
"newDecoder"
]
}
]
}
}
],
"references": [
{
"type": "REPORT",
"url": "https://go.dev/issue/58003"
},
{
"type": "FIX",
"url": "https://go.dev/cl/468195"
},
{
"type": "WEB",
"url": "https://groups.google.com/g/golang-announce/c/ag-FiyjlD5o"
}
],
"credits": [
{
"name": "Philippe Antoine (Catena cyber) and OSS Fuzz"
}
],
"schema_version": "1.3.1"
}
25 changes: 25 additions & 0 deletions data/reports/GO-2023-1572.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
modules:
- module: golang.org/x/image
versions:
- fixed: 0.5.0
vulnerable_at: 0.4.0
packages:
- package: golang.org/x/image/tiff
symbols:
- decoder.ifdUint
- newDecoder
- Decode
derived_symbols:
- DecodeConfig
description: |
An attacker can craft a malformed TIFF image which will consume a
significant amount of memory when passed to DecodeConfig. This could
lead to a denial of service.
credit: Philippe Antoine (Catena cyber) and OSS Fuzz
references:
- report: https://go.dev/issue/58003
- fix: https://go.dev/cl/468195
- web: https://groups.google.com/g/golang-announce/c/ag-FiyjlD5o
cve_metadata:
id: CVE-2022-41727
cwe: 'CWE-400: Uncontrolled Resource Consumption'

0 comments on commit ba36369

Please sign in to comment.