data/reports: add GO-2025-3955
- data/reports/GO-2025-3955.yaml
Fixes golang/vulndb#3955
Change-Id: I36d3fe8aaaec7a1aab7426d2acebd29bdfe5d254
Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/705916
Reviewed-by: Roland Shoemaker <roland@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Ethan Lee <ethanalee@google.com>
diff --git a/data/cve/v5/GO-2025-3955.json b/data/cve/v5/GO-2025-3955.json
new file mode 100644
index 0000000..b3de0f0
--- /dev/null
+++ b/data/cve/v5/GO-2025-3955.json
@@ -0,0 +1,67 @@
+{
+ "dataType": "CVE_RECORD",
+ "dataVersion": "5.0",
+ "cveMetadata": {
+ "cveId": "CVE-2025-47910"
+ },
+ "containers": {
+ "cna": {
+ "providerMetadata": {
+ "orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc"
+ },
+ "title": "CrossOriginProtection insecure bypass patterns not limited to exact matches in net/http",
+ "descriptions": [
+ {
+ "lang": "en",
+ "value": "When using http.CrossOriginProtection, the AddInsecureBypassPattern method can unexpectedly bypass more requests than intended. CrossOriginProtection then skips validation, but forwards the original request path, which may be served by a different handler without the intended security protections."
+ }
+ ],
+ "affected": [
+ {
+ "vendor": "Go standard library",
+ "product": "net/http",
+ "collectionURL": "https://pkg.go.dev",
+ "packageName": "net/http",
+ "versions": [
+ {
+ "version": "1.25.0",
+ "lessThan": "1.25.1",
+ "status": "affected",
+ "versionType": "semver"
+ }
+ ],
+ "programRoutines": [
+ {
+ "name": "CrossOriginProtection.AddInsecureBypassPattern"
+ }
+ ],
+ "defaultStatus": "unaffected"
+ }
+ ],
+ "problemTypes": [
+ {
+ "descriptions": [
+ {
+ "lang": "en",
+ "description": "CWE-284: Improper Access Control"
+ }
+ ]
+ }
+ ],
+ "references": [
+ {
+ "url": "https://go.dev/cl/699275"
+ },
+ {
+ "url": "https://go.dev/issue/75054"
+ },
+ {
+ "url": "https://groups.google.com/g/golang-announce/c/PtW9VW21NPs/m/DJhMQ-m5AQAJ"
+ },
+ {
+ "url": "https://pkg.go.dev/vuln/GO-2025-3955"
+ }
+ ]
+ }
+ }
+}
\ No newline at end of file
diff --git a/data/osv/GO-2025-3955.json b/data/osv/GO-2025-3955.json
new file mode 100644
index 0000000..f6a3d67
--- /dev/null
+++ b/data/osv/GO-2025-3955.json
@@ -0,0 +1,61 @@
+{
+ "schema_version": "1.3.1",
+ "id": "GO-2025-3955",
+ "modified": "0001-01-01T00:00:00Z",
+ "published": "0001-01-01T00:00:00Z",
+ "aliases": [
+ "CVE-2025-47910",
+ "CVE-2025-47910"
+ ],
+ "summary": "CrossOriginProtection insecure bypass patterns not limited to exact matches in net/http",
+ "details": "When using http.CrossOriginProtection, the AddInsecureBypassPattern method can unexpectedly bypass more requests than intended. CrossOriginProtection then skips validation, but forwards the original request path, which may be served by a different handler without the intended security protections.",
+ "affected": [
+ {
+ "package": {
+ "name": "stdlib",
+ "ecosystem": "Go"
+ },
+ "ranges": [
+ {
+ "type": "SEMVER",
+ "events": [
+ {
+ "introduced": "1.25.0"
+ },
+ {
+ "fixed": "1.25.1"
+ }
+ ]
+ }
+ ],
+ "ecosystem_specific": {
+ "imports": [
+ {
+ "path": "net/http",
+ "symbols": [
+ "CrossOriginProtection.AddInsecureBypassPattern"
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "references": [
+ {
+ "type": "FIX",
+ "url": "https://go.dev/cl/699275"
+ },
+ {
+ "type": "REPORT",
+ "url": "https://go.dev/issue/75054"
+ },
+ {
+ "type": "WEB",
+ "url": "https://groups.google.com/g/golang-announce/c/PtW9VW21NPs/m/DJhMQ-m5AQAJ"
+ }
+ ],
+ "database_specific": {
+ "url": "https://pkg.go.dev/vuln/GO-2025-3955",
+ "review_status": "REVIEWED"
+ }
+}
\ No newline at end of file
diff --git a/data/reports/GO-2025-3955.yaml b/data/reports/GO-2025-3955.yaml
new file mode 100644
index 0000000..80693f6
--- /dev/null
+++ b/data/reports/GO-2025-3955.yaml
@@ -0,0 +1,30 @@
+id: GO-2025-3955
+modules:
+ - module: std
+ versions:
+ - introduced: 1.25.0
+ - fixed: 1.25.1
+ vulnerable_at: 1.25.0
+ packages:
+ - package: net/http
+ symbols:
+ - CrossOriginProtection.AddInsecureBypassPattern
+summary: CrossOriginProtection insecure bypass patterns not limited to exact matches in net/http
+description: |-
+ When using http.CrossOriginProtection, the AddInsecureBypassPattern method can
+ unexpectedly bypass more requests than intended. CrossOriginProtection then
+ skips validation, but forwards the original request path, which may be served by
+ a different handler without the intended security protections.
+cves:
+ - CVE-2025-47910
+references:
+ - fix: https://go.dev/cl/699275
+ - report: https://go.dev/issue/75054
+ - web: https://groups.google.com/g/golang-announce/c/PtW9VW21NPs/m/DJhMQ-m5AQAJ
+cve_metadata:
+ id: CVE-2025-47910
+ cwe: 'CWE-284: Improper Access Control'
+source:
+ id: go-security-team
+ created: 2025-09-22T18:22:01.351822759Z
+review_status: REVIEWED