Skip to content

Update module github.com/gin-gonic/gin from v1.9.0 to v1.9.1 [SECURITY] - #35

Open
figure-renovate[bot] wants to merge 1 commit into
mainfrom
renovate/go-githubproxy.fjygbaifeng.eu.org-gin-gonic-gin-vulnerability
Open

figure-renovate[bot] wants to merge 1 commit into
mainfrom
renovate/go-githubproxy.fjygbaifeng.eu.org-gin-gonic-gin-vulnerability

Conversation

@figure-renovate

@figure-renovate figure-renovate Bot commented Dec 3, 2024 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/gin-gonic/gin v1.9.0 → v1.9.1 age adoption passing confidence

Gin Web Framework does not properly sanitize filename parameter of Context.FileAttachment function

CVE-2023-29401 / GHSA-2c4m-59x9-fr2g

More information

Details

The filename parameter of the Context.FileAttachment function is not properly sanitized. A maliciously crafted filename can cause the Content-Disposition header to be sent with an unexpected filename value or otherwise modify the Content-Disposition header. For example, a filename of "setup.bat";x=.txt" will be sent as a file named "setup.bat".

If the FileAttachment function is called with names provided by an untrusted source, this may permit an attacker to cause a file to be served with a name different than provided. Maliciously crafted attachment file name can modify the Content-Disposition header.

Severity

  • CVSS Score: 4.3 / 10 (Medium)
  • Vector String: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Release Notes

gin-gonic/gin (github.com/gin-gonic/gin)

v1.9.1

Compare Source

BUG FIXES
SECURITY
  • fix lack of escaping of filename in Content-Disposition #​3556
ENHANCEMENTS
  • refactor: use bytes.ReplaceAll directly #​3455
  • convert strings and slices using the officially recommended way #​3344
  • improve render code coverage #​3525
DOCS
  • docs: changed documentation link for trusted proxies #​3575
  • chore: improve linting, testing, and GitHub Actions setup #​3583

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

@figure-renovate
figure-renovate Bot requested a review from a team as a code owner December 3, 2024 00:36
@figure-renovate

Copy link
Copy Markdown
Contributor Author

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 11 additional dependencies were updated

Details:

Package Change
github.com/stretchr/testify v1.8.2 -> v1.8.3
github.com/bytedance/sonic v1.8.0 -> v1.9.1
github.com/go-playground/validator/v10 v10.11.2 -> v10.14.0
github.com/goccy/go-json v0.10.0 -> v0.10.2
github.com/klauspost/cpuid/v2 v2.0.9 -> v2.2.4
github.com/leodido/go-urn v1.2.1 -> v1.2.4
github.com/mattn/go-isatty v0.0.17 -> v0.0.19
github.com/pelletier/go-toml/v2 v2.0.6 -> v2.0.8
github.com/ugorji/go/codec v1.2.9 -> v1.2.11
golang.org/x/arch v0.0.0-20210923205945-b76863e36670 -> v0.3.0
google.golang.org/protobuf v1.28.1 -> v1.30.0

@figure-renovate figure-renovate Bot changed the title fix(deps): update module github.com/gin-gonic/gin from v1.9.0 to v1.9.1 [security] fix(deps): update module github.com/gin-gonic/gin from v1.9.0 to v1.9.1 [security] - autoclosed Mar 28, 2026
@figure-renovate figure-renovate Bot closed this Mar 28, 2026
@figure-renovate
figure-renovate Bot deleted the renovate/go-githubproxy.fjygbaifeng.eu.org-gin-gonic-gin-vulnerability branch March 28, 2026 03:48
@figure-renovate figure-renovate Bot changed the title fix(deps): update module github.com/gin-gonic/gin from v1.9.0 to v1.9.1 [security] - autoclosed fix(deps): update module github.com/gin-gonic/gin from v1.9.0 to v1.9.1 [security] Mar 31, 2026
@figure-renovate figure-renovate Bot reopened this Mar 31, 2026
@figure-renovate
figure-renovate Bot force-pushed the renovate/go-githubproxy.fjygbaifeng.eu.org-gin-gonic-gin-vulnerability branch from 9d8c4ad to 11e40d6 Compare March 31, 2026 01:39
@figure-renovate

Copy link
Copy Markdown
Contributor Author

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: go.sum
Command failed: go get -d -t ./...
go: -d flag is deprecated. -d=true is a no-op
go: downloading github.com/spf13/cobra v1.7.0
go: downloading github.com/btcsuite/btcutil v1.0.3-0.20201208143702-a53e38424cce
go: downloading github.com/gin-gonic/gin v1.9.1
go: downloading github.com/tyler-smith/go-bip32 v1.0.0
go: downloading github.com/tyler-smith/go-bip39 v1.1.0
go: downloading github.com/stretchr/testify v1.8.3
go: downloading github.com/btcsuite/btcutil v1.0.2
go: downloading github.com/gin-gonic/gin v1.12.0
go: downloading github.com/gin-contrib/sse v1.1.0
go: downloading github.com/quic-go/quic-go v0.59.0
go: downloading github.com/go-playground/validator/v10 v10.30.1
go: downloading github.com/goccy/go-yaml v1.19.2
go: downloading github.com/ugorji/go/codec v1.3.1
go: downloading go.mongodb.org/mongo-driver/v2 v2.5.0
go: downloading github.com/bytedance/sonic v1.15.0
go: downloading github.com/gabriel-vasile/mimetype v1.4.12
go: downloading github.com/go-playground/universal-translator v0.18.1
go: downloading github.com/leodido/go-urn v1.4.0
go: downloading github.com/quic-go/qpack v0.6.0
go: downloading golang.org/x/arch v0.22.0
go: downloading github.com/bytedance/sonic/loader v0.5.0
go: github.com/FigureTechnologies/extkey/cmd/extkey/commands imports
	github.com/btcsuite/btcd/btcec: cannot find module providing package github.com/btcsuite/btcd/btcec
go: github.com/FigureTechnologies/extkey/cmd/extkey/commands imports
	github.com/btcsuite/btcutil/bech32: cannot find module providing package github.com/btcsuite/btcutil/bech32
go: github.com/FigureTechnologies/extkey/cmd/extkey/commands imports
	github.com/gogo/protobuf/proto: cannot find module providing package github.com/gogo/protobuf/proto
go: github.com/FigureTechnologies/extkey/cmd/extkey/commands imports
	github.com/tyler-smith/go-bip32: cannot find module providing package github.com/tyler-smith/go-bip32
go: github.com/FigureTechnologies/extkey/cmd/extkey/commands imports
	github.com/tyler-smith/go-bip39: cannot find module providing package github.com/tyler-smith/go-bip39
go: github.com/FigureTechnologies/extkey/cmd/extkey/commands imports
	gopkg.in/yaml.v3: cannot find module providing package gopkg.in/yaml.v3
go: github.com/FigureTechnologies/extkey/cmd/extkey/commands imports
	github.com/gin-gonic/gin imports
	github.com/mattn/go-isatty: cannot find module providing package github.com/mattn/go-isatty
go: github.com/FigureTechnologies/extkey/cmd/extkey/commands imports
	github.com/spf13/cobra imports
	github.com/spf13/pflag: cannot find module providing package github.com/spf13/pflag
go: github.com/FigureTechnologies/extkey/cmd/extkey/commands tested by
	github.com/FigureTechnologies/extkey/cmd/extkey/commands.test imports
	github.com/stretchr/testify/assert: cannot find module providing package github.com/stretchr/testify/assert
go: github.com/FigureTechnologies/extkey/cmd/extkey/commands imports
	github.com/gin-gonic/gin imports
	github.com/gin-gonic/gin/binding imports
	github.com/go-playground/validator/v10 imports
	github.com/go-playground/universal-translator: cannot find module providing package github.com/go-playground/universal-translator
go: downloading github.com/rogpeppe/go-internal v1.10.0

@figure-renovate figure-renovate Bot changed the title fix(deps): update module github.com/gin-gonic/gin from v1.9.0 to v1.9.1 [security] Update module github.com/gin-gonic/gin from v1.9.0 to v1.9.1 [SECURITY] Apr 29, 2026
@figure-renovate figure-renovate Bot changed the title Update module github.com/gin-gonic/gin from v1.9.0 to v1.9.1 [SECURITY] fix(deps): update module github.com/gin-gonic/gin from v1.9.0 to v1.9.1 [security] Aug 13, 2026
@figure-renovate figure-renovate Bot changed the title fix(deps): update module github.com/gin-gonic/gin from v1.9.0 to v1.9.1 [security] Update module github.com/gin-gonic/gin from v1.9.0 to v1.9.1 [SECURITY] Aug 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants