Skip to content

Commit

Permalink
data/reports: add GO-2024-3333
Browse files Browse the repository at this point in the history
  - data/reports/GO-2024-3333.yaml

Updates #3333

Change-Id: Id9b61dd02b98b6afe8061b66207f9c4d7680ef39
Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/637537
Auto-Submit: Tatiana Bradley <tatianabradley@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Roland Shoemaker <roland@golang.org>
  • Loading branch information
tatianab authored and gopherbot committed Dec 18, 2024
1 parent b2e3648 commit 230cf22
Show file tree
Hide file tree
Showing 3 changed files with 202 additions and 0 deletions.
94 changes: 94 additions & 0 deletions data/cve/v5/GO-2024-3333.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
{
"dataType": "CVE_RECORD",
"dataVersion": "5.0",
"cveMetadata": {
"cveId": "CVE-2024-45338"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc"
},
"title": "Non-linear parsing of case-insensitive content in golang.org/x/net/html",
"descriptions": [
{
"lang": "en",
"value": "An attacker can craft an input to the Parse functions that would be processed non-linearly with respect to its length, resulting in extremely slow parsing. This could cause a denial of service."
}
],
"affected": [
{
"vendor": "golang.org/x/net",
"product": "golang.org/x/net/html",
"collectionURL": "https://pkg.go.dev",
"packageName": "golang.org/x/net/html",
"versions": [
{
"version": "0",
"lessThan": "0.33.0",
"status": "affected",
"versionType": "semver"
}
],
"programRoutines": [
{
"name": "parseDoctype"
},
{
"name": "htmlIntegrationPoint"
},
{
"name": "inTableIM"
},
{
"name": "inBodyIM"
},
{
"name": "Parse"
},
{
"name": "ParseFragment"
},
{
"name": "ParseFragmentWithOptions"
},
{
"name": "ParseWithOptions"
}
],
"defaultStatus": "unaffected"
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"description": "CWE-405: Asymmetric Resource Consumption (Amplification)"
}
]
}
],
"references": [
{
"url": "https://go.dev/cl/637536"
},
{
"url": "https://go.dev/issue/70906"
},
{
"url": "https://groups.google.com/g/golang-announce/c/wSCRmFnNmPA/m/Lvcd0mRMAwAJ"
},
{
"url": "https://pkg.go.dev/vuln/GO-2024-3333"
}
],
"credits": [
{
"lang": "en",
"value": "Guido Vranken"
}
]
}
}
}
72 changes: 72 additions & 0 deletions data/osv/GO-2024-3333.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
{
"schema_version": "1.3.1",
"id": "GO-2024-3333",
"modified": "0001-01-01T00:00:00Z",
"published": "0001-01-01T00:00:00Z",
"aliases": [
"CVE-2024-45338"
],
"summary": "Non-linear parsing of case-insensitive content in golang.org/x/net/html",
"details": "An attacker can craft an input to the Parse functions that would be processed non-linearly with respect to its length, resulting in extremely slow parsing. This could cause a denial of service.",
"affected": [
{
"package": {
"name": "golang.org/x/net",
"ecosystem": "Go"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.33.0"
}
]
}
],
"ecosystem_specific": {
"imports": [
{
"path": "golang.org/x/net/html",
"symbols": [
"Parse",
"ParseFragment",
"ParseFragmentWithOptions",
"ParseWithOptions",
"htmlIntegrationPoint",
"inBodyIM",
"inTableIM",
"parseDoctype"
]
}
]
}
}
],
"references": [
{
"type": "FIX",
"url": "https://go.dev/cl/637536"
},
{
"type": "REPORT",
"url": "https://go.dev/issue/70906"
},
{
"type": "WEB",
"url": "https://groups.google.com/g/golang-announce/c/wSCRmFnNmPA/m/Lvcd0mRMAwAJ"
}
],
"credits": [
{
"name": "Guido Vranken"
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2024-3333",
"review_status": "REVIEWED"
}
}
36 changes: 36 additions & 0 deletions data/reports/GO-2024-3333.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
id: GO-2024-3333
modules:
- module: golang.org/x/net
versions:
- fixed: 0.33.0
vulnerable_at: 0.32.0
packages:
- package: golang.org/x/net/html
symbols:
- parseDoctype
- htmlIntegrationPoint
- inTableIM
- inBodyIM
derived_symbols:
- Parse
- ParseFragment
- ParseFragmentWithOptions
- ParseWithOptions
summary: Non-linear parsing of case-insensitive content in golang.org/x/net/html
description: |-
An attacker can craft an input to the Parse functions that would be processed
non-linearly with respect to its length, resulting in extremely slow parsing.
This could cause a denial of service.
credits:
- Guido Vranken
references:
- fix: https://go.dev/cl/637536
- report: https://go.dev/issue/70906
- web: https://groups.google.com/g/golang-announce/c/wSCRmFnNmPA/m/Lvcd0mRMAwAJ
cve_metadata:
id: CVE-2024-45338
cwe: 'CWE-405: Asymmetric Resource Consumption (Amplification)'
source:
id: go-security-team
created: 2024-12-18T15:03:33.947657-05:00
review_status: REVIEWED

0 comments on commit 230cf22

Please sign in to comment.