data/reports: add GO-2025-4015
- data/reports/GO-2025-4015.yaml
Fixes golang/vulndb#4015
Change-Id: I958c76dbb0338e1682bb3f517c2b699fe27ca839
Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/715924
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Damien Neil <dneil@google.com>
Reviewed-by: Roland Shoemaker <roland@golang.org>
diff --git a/data/cve/v5/GO-2025-4015.json b/data/cve/v5/GO-2025-4015.json
new file mode 100644
index 0000000..30bf213
--- /dev/null
+++ b/data/cve/v5/GO-2025-4015.json
@@ -0,0 +1,79 @@
+{
+ "dataType": "CVE_RECORD",
+ "dataVersion": "5.0",
+ "cveMetadata": {
+ "cveId": "CVE-2025-61724"
+ },
+ "containers": {
+ "cna": {
+ "providerMetadata": {
+ "orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc"
+ },
+ "title": "Excessive CPU consumption in Reader.ReadResponse in net/textproto",
+ "descriptions": [
+ {
+ "lang": "en",
+ "value": "The Reader.ReadResponse function constructs a response string through repeated string concatenation of lines. When the number of lines in a response is large, this can cause excessive CPU consumption."
+ }
+ ],
+ "affected": [
+ {
+ "vendor": "Go standard library",
+ "product": "net/textproto",
+ "collectionURL": "https://pkg.go.dev",
+ "packageName": "net/textproto",
+ "versions": [
+ {
+ "version": "0",
+ "lessThan": "1.24.8",
+ "status": "affected",
+ "versionType": "semver"
+ },
+ {
+ "version": "1.25.0",
+ "lessThan": "1.25.2",
+ "status": "affected",
+ "versionType": "semver"
+ }
+ ],
+ "programRoutines": [
+ {
+ "name": "Reader.ReadResponse"
+ }
+ ],
+ "defaultStatus": "unaffected"
+ }
+ ],
+ "problemTypes": [
+ {
+ "descriptions": [
+ {
+ "lang": "en",
+ "description": "CWE-407: Inefficient Algorithmic Complexity"
+ }
+ ]
+ }
+ ],
+ "references": [
+ {
+ "url": "https://go.dev/cl/709859"
+ },
+ {
+ "url": "https://go.dev/issue/75716"
+ },
+ {
+ "url": "https://groups.google.com/g/golang-announce/c/4Emdl2iQ_bI"
+ },
+ {
+ "url": "https://pkg.go.dev/vuln/GO-2025-4015"
+ }
+ ],
+ "credits": [
+ {
+ "lang": "en",
+ "value": "Jakub Ciolek"
+ }
+ ]
+ }
+ }
+}
\ No newline at end of file
diff --git a/data/osv/GO-2025-4015.json b/data/osv/GO-2025-4015.json
new file mode 100644
index 0000000..017ad96
--- /dev/null
+++ b/data/osv/GO-2025-4015.json
@@ -0,0 +1,72 @@
+{
+ "schema_version": "1.3.1",
+ "id": "GO-2025-4015",
+ "modified": "0001-01-01T00:00:00Z",
+ "published": "0001-01-01T00:00:00Z",
+ "aliases": [
+ "CVE-2025-61724",
+ "CVE-2025-61724"
+ ],
+ "summary": "Excessive CPU consumption in Reader.ReadResponse in net/textproto",
+ "details": "The Reader.ReadResponse function constructs a response string through repeated string concatenation of lines. When the number of lines in a response is large, this can cause excessive CPU consumption.",
+ "affected": [
+ {
+ "package": {
+ "name": "stdlib",
+ "ecosystem": "Go"
+ },
+ "ranges": [
+ {
+ "type": "SEMVER",
+ "events": [
+ {
+ "introduced": "0"
+ },
+ {
+ "fixed": "1.24.8"
+ },
+ {
+ "introduced": "1.25.0"
+ },
+ {
+ "fixed": "1.25.2"
+ }
+ ]
+ }
+ ],
+ "ecosystem_specific": {
+ "imports": [
+ {
+ "path": "net/textproto",
+ "symbols": [
+ "Reader.ReadResponse"
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "references": [
+ {
+ "type": "FIX",
+ "url": "https://go.dev/cl/709859"
+ },
+ {
+ "type": "REPORT",
+ "url": "https://go.dev/issue/75716"
+ },
+ {
+ "type": "WEB",
+ "url": "https://groups.google.com/g/golang-announce/c/4Emdl2iQ_bI"
+ }
+ ],
+ "credits": [
+ {
+ "name": "Jakub Ciolek"
+ }
+ ],
+ "database_specific": {
+ "url": "https://pkg.go.dev/vuln/GO-2025-4015",
+ "review_status": "REVIEWED"
+ }
+}
\ No newline at end of file
diff --git a/data/reports/GO-2025-4015.yaml b/data/reports/GO-2025-4015.yaml
new file mode 100644
index 0000000..49da8ea
--- /dev/null
+++ b/data/reports/GO-2025-4015.yaml
@@ -0,0 +1,32 @@
+id: GO-2025-4015
+modules:
+ - module: std
+ versions:
+ - fixed: 1.24.8
+ - introduced: 1.25.0
+ - fixed: 1.25.2
+ vulnerable_at: 1.25.1
+ packages:
+ - package: net/textproto
+ symbols:
+ - Reader.ReadResponse
+summary: Excessive CPU consumption in Reader.ReadResponse in net/textproto
+description: |-
+ The Reader.ReadResponse function constructs a response string through repeated
+ string concatenation of lines. When the number of lines in a response is large,
+ this can cause excessive CPU consumption.
+cves:
+ - CVE-2025-61724
+credits:
+ - Jakub Ciolek
+references:
+ - fix: https://go.dev/cl/709859
+ - report: https://go.dev/issue/75716
+ - web: https://groups.google.com/g/golang-announce/c/4Emdl2iQ_bI
+cve_metadata:
+ id: CVE-2025-61724
+ cwe: 'CWE-407: Inefficient Algorithmic Complexity'
+source:
+ id: go-security-team
+ created: 2025-10-28T18:41:46.34755-07:00
+review_status: REVIEWED