Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 6, 2024

Mend Renovate

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

GitHub Vulnerability Alerts

CVE-2023-29401

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.


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: Branch creation - "" (UTC), 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 was generated by Mend Renovate. View the repository job log.

Copy link
Contributor Author

renovate bot commented Aug 6, 2024

ℹ 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):

  • 15 additional dependencies were updated

Details:

Package Change
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/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421 -> v0.0.0-20180306012644-bacd9c7ef1dd
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
golang.org/x/crypto v0.5.0 -> v0.9.0
golang.org/x/net v0.7.0 -> v0.10.0
golang.org/x/sys v0.5.0 -> v0.8.0
golang.org/x/text v0.7.0 -> v0.9.0
google.golang.org/protobuf v1.28.1 -> v1.30.0

@renovate renovate bot requested a review from Clivern as a code owner August 6, 2024 09:26
@Clivern Clivern closed this Aug 7, 2024
@Clivern Clivern deleted the renovate/go-github.com-gin-gonic-gin-vulnerability branch August 7, 2024 14:23
Copy link
Contributor Author

renovate bot commented Aug 7, 2024

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (v1.9.1). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant