Skip to content

Commit 0d1900b

Browse files
thatnealpatelgopherbot
authored andcommitted
data/reports: add GO-2025-3683
- data/reports/GO-2025-3683.yaml Updates #3683 Change-Id: Ie9c4023cd34f5245e82fcd38085af94525dfb4c9 Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/673315 Auto-Submit: Neal Patel <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Zvonimir Pavlinovic <[email protected]>
1 parent a015390 commit 0d1900b

File tree

2 files changed

+104
-0
lines changed

2 files changed

+104
-0
lines changed

data/osv/GO-2025-3683.json

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
{
2+
"schema_version": "1.3.1",
3+
"id": "GO-2025-3683",
4+
"modified": "0001-01-01T00:00:00Z",
5+
"published": "0001-01-01T00:00:00Z",
6+
"aliases": [
7+
"CVE-2025-46721",
8+
"GHSA-w9hf-35q4-vcjw"
9+
],
10+
"summary": "nosurf vulnerable to CSRF due to non-functional same-origin request checks in github.com/justinas/nosurf",
11+
"details": "nosurf vulnerable to CSRF due to non-functional same-origin request checks in github.com/justinas/nosurf",
12+
"affected": [
13+
{
14+
"package": {
15+
"name": "github.com/justinas/nosurf",
16+
"ecosystem": "Go"
17+
},
18+
"ranges": [
19+
{
20+
"type": "SEMVER",
21+
"events": [
22+
{
23+
"introduced": "0"
24+
},
25+
{
26+
"fixed": "1.2.0"
27+
}
28+
]
29+
}
30+
],
31+
"ecosystem_specific": {
32+
"imports": [
33+
{
34+
"path": "github.com/justinas/nosurf",
35+
"symbols": [
36+
"CSRFHandler.ServeHTTP",
37+
"New",
38+
"NewPure"
39+
]
40+
}
41+
]
42+
}
43+
}
44+
],
45+
"references": [
46+
{
47+
"type": "ADVISORY",
48+
"url": "https://github.com/justinas/nosurf/security/advisories/GHSA-w9hf-35q4-vcjw"
49+
},
50+
{
51+
"type": "ADVISORY",
52+
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-46721"
53+
},
54+
{
55+
"type": "FIX",
56+
"url": "https://github.com/justinas/nosurf/commit/ec9bb776d8e5ba9e906b6eb70428f4e7b009feee"
57+
},
58+
{
59+
"type": "WEB",
60+
"url": "https://github.com/advisories/GHSA-rq77-p4h8-4crw"
61+
},
62+
{
63+
"type": "WEB",
64+
"url": "https://github.com/justinas/nosurf-cve-2025-46721"
65+
},
66+
{
67+
"type": "WEB",
68+
"url": "https://github.com/justinas/nosurf/releases/tag/v1.2.0"
69+
}
70+
],
71+
"database_specific": {
72+
"url": "https://pkg.go.dev/vuln/GO-2025-3683",
73+
"review_status": "UNREVIEWED"
74+
}
75+
}

data/reports/GO-2025-3683.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
id: GO-2025-3683
2+
modules:
3+
- module: github.com/justinas/nosurf
4+
versions:
5+
- fixed: 1.2.0
6+
vulnerable_at: 1.1.1
7+
packages:
8+
- package: github.com/justinas/nosurf
9+
symbols:
10+
- New
11+
- CSRFHandler.ServeHTTP
12+
derived_symbols:
13+
- NewPure
14+
summary: nosurf vulnerable to CSRF due to non-functional same-origin request checks in github.com/justinas/nosurf
15+
cves:
16+
- CVE-2025-46721
17+
ghsas:
18+
- GHSA-w9hf-35q4-vcjw
19+
references:
20+
- advisory: https://github.com/justinas/nosurf/security/advisories/GHSA-w9hf-35q4-vcjw
21+
- advisory: https://nvd.nist.gov/vuln/detail/CVE-2025-46721
22+
- fix: https://github.com/justinas/nosurf/commit/ec9bb776d8e5ba9e906b6eb70428f4e7b009feee
23+
- web: https://github.com/advisories/GHSA-rq77-p4h8-4crw
24+
- web: https://github.com/justinas/nosurf-cve-2025-46721
25+
- web: https://github.com/justinas/nosurf/releases/tag/v1.2.0
26+
source:
27+
id: GHSA-w9hf-35q4-vcjw
28+
created: 2025-05-15T14:37:40.720845-04:00
29+
review_status: NEEDS_REVIEW

0 commit comments

Comments
 (0)