
This fixes four security issues: Vulnerability #1: GO-2025-3751 Sensitive headers not cleared on cross-origin redirect in net/http More info: https://pkg.go.dev/vuln/GO-2025-3751 Standard library Found in: net/http@go1.23.5 Fixed in: net/http@go1.23.10 Example traces found: #1: pkg/api/openapi_client.gen.go:1212:20: api.Client.TaskOutputProducedWithBody calls http.Client.Do #2: pkg/api/openapi_spec.gen.go:318:36: api.GetSwagger calls openapi3.Loader.LoadFromData, which eventually calls http.Get Vulnerability #2: GO-2025-3750 Inconsistent handling of O_CREATE|O_EXCL on Unix and Windows in os in syscall More info: https://pkg.go.dev/vuln/GO-2025-3750 Standard library Found in: os@go1.23.5 Fixed in: os@go1.23.10 Platforms: windows Example traces found: #1: internal/manager/last_rendered/image_processing.go:54:24: last_rendered.saveJPEG calls os.Create #2: internal/manager/api_impl/meta.go:144:28: api_impl.Flamenco.CheckSharedStoragePath calls os.CreateTemp #3: internal/manager/job_compilers/scripts.go:54:31: job_compilers.loadScriptsFrom calls fs.ReadDir, which calls os.File.ReadDir #4: pkg/shaman/filestore/testing.go:107:25: filestore.LinkTestFileStore calls filepath.Walk, which eventually calls os.File.Readdirnames #5: internal/manager/local_storage/local_storage.go:116:22: local_storage.getSuitableStorageRoot calls os.Getwd #6: pkg/shaman/filestore/testing.go:107:25: filestore.LinkTestFileStore calls filepath.Walk, which calls os.Lstat #7: pkg/shaman/checkout/manager.go:274:24: checkout.Manager.SymlinkToCheckout calls os.MkdirAll #8: pkg/shaman/filestore/testing.go:38:30: filestore.CreateTestStore calls os.MkdirTemp #9: pkg/shaman/touch/touch.go:26:2: touch.init calls os.init, which calls os.NewFile #10: internal/manager/task_logs/task_logs.go:183:22: task_logs.Storage.Tail calls os.Open #11: internal/manager/config/config.go:662:23: config.Conf.Write calls os.OpenFile #12: cmd/blender-runner/blender-runner.go:43:35: blender.main calls exec.Cmd.StderrPipe, which calls os.Pipe #13: internal/manager/job_compilers/scripts.go:54:31: job_compilers.loadScriptsFrom calls fs.ReadDir, which eventually calls os.ReadDir #14: internal/manager/config/config.go:199:30: config.loadConf calls os.ReadFile #15: pkg/shaman/checkout/manager.go:196:11: checkout.Manager.EraseCheckout calls os.Remove #16: pkg/shaman/checkout/manager.go:189:24: checkout.Manager.EraseCheckout calls os.RemoveAll #17: internal/manager/config/config.go:647:21: config.Conf.Overwrite calls os.Rename #18: cmd/blender-runner/blender-runner.go:52:21: blender.main calls exec.Cmd.Start, which calls os.StartProcess #19: pkg/shaman/checkout/manager.go:175:18: checkout.Manager.EraseCheckout calls os.Stat #20: pkg/shaman/checkout/manager.go:244:18: checkout.Manager.SymlinkToCheckout calls os.Symlink #21: cmd/sqlc-export-schema/main.go:87:24: sqlc.saveSchema calls os.WriteFile #22: web/web_app.go:55:24: web.FSWrapper.Open calls echo.defaultFS.Open, which calls os.dirFS.Open #23: internal/manager/job_compilers/scripts.go:54:31: job_compilers.loadScriptsFrom calls fs.ReadDir, which calls os.dirFS.ReadDir #24: internal/manager/config/config.go:662:23: config.Conf.Write calls os.OpenFile, which eventually calls syscall.Open Vulnerability #3: GO-2025-3563 Request smuggling due to acceptance of invalid chunked data in net/http More info: https://pkg.go.dev/vuln/GO-2025-3563 Standard library Found in: net/http/internal@go1.23.5 Fixed in: net/http/internal@go1.23.8 Example traces found: #1: pkg/shaman/hasher/copier.go:51:21: hasher.Copy calls http.body.Read, which eventually calls internal.chunkedReader.Read Vulnerability #4: GO-2025-3447 Timing sidechannel for P-256 on ppc64le in crypto/internal/nistec More info: https://pkg.go.dev/vuln/GO-2025-3447 Standard library Found in: crypto/internal/nistec@go1.23.5 Fixed in: crypto/internal/nistec@go1.23.6 Platforms: ppc64le Example traces found: #1: internal/manager/config/config.go:666:13: config.Conf.Write calls fmt.Fprintf, which eventually calls nistec.P256Point.ScalarBaseMult #2: internal/manager/config/config.go:666:13: config.Conf.Write calls fmt.Fprintf, which eventually calls nistec.P256Point.ScalarMult #3: internal/manager/config/config.go:666:13: config.Conf.Write calls fmt.Fprintf, which eventually calls nistec.P256Point.SetBytes
83 lines
3.4 KiB
Modula-2
83 lines
3.4 KiB
Modula-2
module projects.blender.org/studio/flamenco
|
|
|
|
go 1.24.4
|
|
|
|
require (
|
|
github.com/adrg/xdg v0.4.0
|
|
github.com/alessio/shellescape v1.4.2
|
|
github.com/benbjohnson/clock v1.3.0
|
|
github.com/deepmap/oapi-codegen v1.9.0
|
|
github.com/disintegration/imaging v1.6.2
|
|
github.com/dop251/goja v0.0.0-20230812105242-81d76064690d
|
|
github.com/dop251/goja_nodejs v0.0.0-20211022123610-8dd9abb0616d
|
|
github.com/eclipse/paho.golang v0.12.0
|
|
github.com/fromkeith/gossdp v0.0.0-20180102154144-1b2c43f6886e
|
|
github.com/gertd/go-pluralize v0.2.1
|
|
github.com/getkin/kin-openapi v0.88.0
|
|
github.com/golang/mock v1.6.0
|
|
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510
|
|
github.com/google/uuid v1.5.0
|
|
github.com/graarh/golang-socketio v0.0.0-20170510162725-2c44953b9b5f
|
|
github.com/labstack/echo/v4 v4.9.1
|
|
github.com/magefile/mage v1.15.0
|
|
github.com/mattn/go-colorable v0.1.12
|
|
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c
|
|
github.com/pressly/goose/v3 v3.15.1
|
|
github.com/rs/zerolog v1.26.1
|
|
github.com/stretchr/testify v1.8.4
|
|
github.com/zcalusic/sysinfo v1.0.1
|
|
github.com/ziflex/lecho/v3 v3.1.0
|
|
golang.org/x/crypto v0.25.0
|
|
golang.org/x/image v0.18.0
|
|
golang.org/x/net v0.27.0
|
|
golang.org/x/sync v0.7.0
|
|
golang.org/x/sys v0.22.0
|
|
golang.org/x/vuln v1.1.3
|
|
gopkg.in/yaml.v2 v2.4.0
|
|
honnef.co/go/tools v0.5.1
|
|
modernc.org/sqlite v1.28.0
|
|
)
|
|
|
|
require (
|
|
github.com/BurntSushi/toml v1.4.1-0.20240526193622-a339e1f7089c // indirect
|
|
github.com/davecgh/go-spew v1.1.1 // indirect
|
|
github.com/dlclark/regexp2 v1.7.0 // indirect
|
|
github.com/dustin/go-humanize v1.0.1 // indirect
|
|
github.com/ghodss/yaml v1.0.0 // indirect
|
|
github.com/go-openapi/jsonpointer v0.19.5 // indirect
|
|
github.com/go-openapi/swag v0.19.5 // indirect
|
|
github.com/go-sourcemap/sourcemap v2.1.3+incompatible // indirect
|
|
github.com/golang-jwt/jwt v3.2.2+incompatible // indirect
|
|
github.com/google/pprof v0.0.0-20230207041349-798e818bf904 // indirect
|
|
github.com/gorilla/mux v1.8.0 // indirect
|
|
github.com/gorilla/websocket v1.5.0 // indirect
|
|
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
|
|
github.com/labstack/gommon v0.4.0 // indirect
|
|
github.com/mailru/easyjson v0.7.0 // indirect
|
|
github.com/mattn/go-isatty v0.0.20 // indirect
|
|
github.com/pmezard/go-difflib v1.0.0 // indirect
|
|
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
|
|
github.com/valyala/bytebufferpool v1.0.0 // indirect
|
|
github.com/valyala/fasttemplate v1.2.1 // indirect
|
|
golang.org/x/exp/typeparams v0.0.0-20231108232855-2478ac86f678 // indirect
|
|
golang.org/x/mod v0.19.0 // indirect
|
|
golang.org/x/telemetry v0.0.0-20240522233618-39ace7a40ae7 // indirect
|
|
golang.org/x/text v0.16.0 // indirect
|
|
golang.org/x/time v0.0.0-20210220033141-f8bda1e9f3ba // indirect
|
|
golang.org/x/tools v0.23.0 // indirect
|
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
|
lukechampine.com/uint128 v1.3.0 // indirect
|
|
modernc.org/cc/v3 v3.41.0 // indirect
|
|
modernc.org/ccgo/v3 v3.16.15 // indirect
|
|
modernc.org/libc v1.37.6 // indirect
|
|
modernc.org/mathutil v1.6.0 // indirect
|
|
modernc.org/memory v1.7.2 // indirect
|
|
modernc.org/opt v0.1.3 // indirect
|
|
modernc.org/strutil v1.2.0 // indirect
|
|
modernc.org/token v1.1.0 // indirect
|
|
)
|
|
|
|
// Replace staticcheck release with a specific revision of their `main` branch,
|
|
// so that it includes my PR https://github.com/dominikh/go-tools/pull/1597
|
|
replace honnef.co/go/tools v0.5.1 => honnef.co/go/tools v0.0.0-20240920144234-9f4b51e3ab5a
|