data/reports: add GO-2025-3563
Fixes golang/vulndb#3563
Change-Id: Iac157b6c2e24690f3206e2d418d2140a2dd54e48
Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/662715
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Neal Patel <nealpatel@google.com>
diff --git a/data/cve/v5/GO-2025-3563.json b/data/cve/v5/GO-2025-3563.json
new file mode 100644
index 0000000..509b744
--- /dev/null
+++ b/data/cve/v5/GO-2025-3563.json
@@ -0,0 +1,82 @@
+{
+ "dataType": "CVE_RECORD",
+ "dataVersion": "5.0",
+ "cveMetadata": {
+ "cveId": "CVE-2025-22871"
+ },
+ "containers": {
+ "cna": {
+ "providerMetadata": {
+ "orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc"
+ },
+ "title": "Request smuggling due to acceptance of invalid chunked data in net/http",
+ "descriptions": [
+ {
+ "lang": "en",
+ "value": "The net/http package improperly accepts a bare LF as a line terminator in chunked data chunk-size lines. This can permit request smuggling if a net/http server is used in conjunction with a server that incorrectly accepts a bare LF as part of a chunk-ext."
+ }
+ ],
+ "affected": [
+ {
+ "vendor": "Go standard library",
+ "product": "net/http/internal",
+ "collectionURL": "https://pkg.go.dev",
+ "packageName": "net/http/internal",
+ "versions": [
+ {
+ "version": "0",
+ "lessThan": "1.23.8",
+ "status": "affected",
+ "versionType": "semver"
+ },
+ {
+ "version": "1.24.0-0",
+ "lessThan": "1.24.2",
+ "status": "affected",
+ "versionType": "semver"
+ }
+ ],
+ "programRoutines": [
+ {
+ "name": "readChunkLine"
+ },
+ {
+ "name": "chunkedReader.Read"
+ }
+ ],
+ "defaultStatus": "unaffected"
+ }
+ ],
+ "problemTypes": [
+ {
+ "descriptions": [
+ {
+ "lang": "en",
+ "description": "CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request Smuggling')"
+ }
+ ]
+ }
+ ],
+ "references": [
+ {
+ "url": "https://go.dev/cl/652998"
+ },
+ {
+ "url": "https://go.dev/issue/71988"
+ },
+ {
+ "url": "https://groups.google.com/g/golang-announce/c/Y2uBTVKjBQk"
+ },
+ {
+ "url": "https://pkg.go.dev/vuln/GO-2025-3563"
+ }
+ ],
+ "credits": [
+ {
+ "lang": "en",
+ "value": "Jeppe Bonde Weikop"
+ }
+ ]
+ }
+ }
+}
\ No newline at end of file
diff --git a/data/osv/GO-2025-3563.json b/data/osv/GO-2025-3563.json
new file mode 100644
index 0000000..7be6c2e
--- /dev/null
+++ b/data/osv/GO-2025-3563.json
@@ -0,0 +1,72 @@
+{
+ "schema_version": "1.3.1",
+ "id": "GO-2025-3563",
+ "modified": "0001-01-01T00:00:00Z",
+ "published": "0001-01-01T00:00:00Z",
+ "aliases": [
+ "CVE-2025-22871"
+ ],
+ "summary": "Request smuggling due to acceptance of invalid chunked data in net/http",
+ "details": "The net/http package improperly accepts a bare LF as a line terminator in chunked data chunk-size lines. This can permit request smuggling if a net/http server is used in conjunction with a server that incorrectly accepts a bare LF as part of a chunk-ext.",
+ "affected": [
+ {
+ "package": {
+ "name": "stdlib",
+ "ecosystem": "Go"
+ },
+ "ranges": [
+ {
+ "type": "SEMVER",
+ "events": [
+ {
+ "introduced": "0"
+ },
+ {
+ "fixed": "1.23.8"
+ },
+ {
+ "introduced": "1.24.0-0"
+ },
+ {
+ "fixed": "1.24.2"
+ }
+ ]
+ }
+ ],
+ "ecosystem_specific": {
+ "imports": [
+ {
+ "path": "net/http/internal",
+ "symbols": [
+ "chunkedReader.Read",
+ "readChunkLine"
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "references": [
+ {
+ "type": "FIX",
+ "url": "https://go.dev/cl/652998"
+ },
+ {
+ "type": "REPORT",
+ "url": "https://go.dev/issue/71988"
+ },
+ {
+ "type": "WEB",
+ "url": "https://groups.google.com/g/golang-announce/c/Y2uBTVKjBQk"
+ }
+ ],
+ "credits": [
+ {
+ "name": "Jeppe Bonde Weikop"
+ }
+ ],
+ "database_specific": {
+ "url": "https://pkg.go.dev/vuln/GO-2025-3563",
+ "review_status": "REVIEWED"
+ }
+}
\ No newline at end of file
diff --git a/data/reports/GO-2025-3563.yaml b/data/reports/GO-2025-3563.yaml
new file mode 100644
index 0000000..7eb317a
--- /dev/null
+++ b/data/reports/GO-2025-3563.yaml
@@ -0,0 +1,33 @@
+id: GO-2025-3563
+modules:
+ - module: std
+ versions:
+ - fixed: 1.23.8
+ - introduced: 1.24.0-0
+ - fixed: 1.24.2
+ vulnerable_at: 1.24.1
+ packages:
+ - package: net/http/internal
+ symbols:
+ - readChunkLine
+ derived_symbols:
+ - chunkedReader.Read
+summary: Request smuggling due to acceptance of invalid chunked data in net/http
+description: |-
+ The net/http package improperly accepts a bare LF as a line terminator in
+ chunked data chunk-size lines. This can permit request smuggling if a net/http
+ server is used in conjunction with a server that incorrectly accepts a bare LF
+ as part of a chunk-ext.
+credits:
+ - Jeppe Bonde Weikop
+references:
+ - fix: https://go.dev/cl/652998
+ - report: https://go.dev/issue/71988
+ - web: https://groups.google.com/g/golang-announce/c/Y2uBTVKjBQk
+cve_metadata:
+ id: CVE-2025-22871
+ cwe: 'CWE-444: Inconsistent Interpretation of HTTP Requests (''HTTP Request Smuggling'')'
+source:
+ id: go-security-team
+ created: 2025-03-25T08:37:39.679134-07:00
+review_status: REVIEWED