Skip to content

Commit 2914854

Browse files
committed
chore(deps): add gomoddirectives replace-allow-list for crypto
1 parent 847644b commit 2914854

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.golangci.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,11 @@
147147
"ATTENTION"
148148
]
149149
},
150+
"gomoddirectives": {
151+
"replace-allow-list": [
152+
"golang.org/x/crypto"
153+
]
154+
},
150155
"govet": {
151156
"enable": [
152157
"atomicalign",

go.mod

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,6 @@ require (
1818
google.golang.org/protobuf v1.36.10 // indirect
1919
gopkg.in/yaml.v3 v3.0.1 // indirect
2020
)
21+
22+
// Security: Force golang.org/x/crypto to v0.45.0 to fix CVE-2025-47914 and CVE-2025-58181
23+
replace golang.org/x/crypto => golang.org/x/crypto v0.45.0

0 commit comments

Comments
 (0)