GithubHelp home page GithubHelp logo

gin-limits's People

Contributors

deepsource-autofix[bot] avatar dependabot[bot] avatar mend-bolt-for-github[bot] avatar mikeee avatar renovate[bot] avatar zaeem0 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

gin-limits's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/go.yaml
  • actions/checkout v4
  • actions/setup-go v5
  • codecov/codecov-action v4
gomod
go.mod
  • go 1.19
  • github.com/gin-gonic/gin v1.9.1
  • github.com/stretchr/testify v1.9.0

  • Check this box to trigger a request for Renovate to run again on this repository

github.com/gin-gonic/gIn-v1.9.0: 1 vulnerabilities (highest severity is: 7.5) - autoclosed

Vulnerable Library - github.com/gin-gonic/gIn-v1.9.0

Library home page: https://proxy.golang.org/github.com/gin-gonic/gin/@v/v1.9.0.zip

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (github.com/gin-gonic/gIn-v1.9.0 version) Remediation Available
CVE-2023-29401 High 7.5 github.com/gin-gonic/gIn-v1.9.0 Direct N/A

Details

CVE-2023-29401

Vulnerable Library - github.com/gin-gonic/gIn-v1.9.0

Library home page: https://proxy.golang.org/github.com/gin-gonic/gin/@v/v1.9.0.zip

Dependency Hierarchy:

  • github.com/gin-gonic/gIn-v1.9.0 (Vulnerable Library)

Found in base branch: main

Vulnerability Details

In Gin Web Framework 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.

Publish Date: 2023-04-05

URL: CVE-2023-29401

CVSS 3 Score Details (7.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: None
    • User Interaction: Required
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Step up your Open Source Security Game with Mend here

github.com/gin-GONIC/GIN-v1.9.1: 1 vulnerabilities (highest severity is: 7.5) - autoclosed

Vulnerable Library - github.com/gin-GONIC/GIN-v1.9.1

Found in HEAD commit: 7df6446da5cb7099c6f3d042fa4be81eccf38efb

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (github.com/gin-GONIC/GIN-v1.9.1 version) Remediation Possible**
CVE-2023-39325 High 7.5 golang.org/x/net-v0.10.0 Transitive N/A*

*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2023-39325

Vulnerable Library - golang.org/x/net-v0.10.0

Library home page: https://proxy.golang.org/golang.org/x/net/@v/v0.10.0.zip

Dependency Hierarchy:

  • github.com/gin-GONIC/GIN-v1.9.1 (Root Library)
    • golang.org/x/net-v0.10.0 (Vulnerable Library)

Found in HEAD commit: 7df6446da5cb7099c6f3d042fa4be81eccf38efb

Found in base branch: main

Vulnerability Details

A malicious HTTP/2 client which rapidly creates requests and immediately resets them can cause excessive server resource consumption. While the total number of requests is bounded by the http2.Server.MaxConcurrentStreams setting, resetting an in-progress request allows the attacker to create a new request while the existing one is still executing. With the fix applied, HTTP/2 servers now bound the number of simultaneously executing handler goroutines to the stream concurrency limit (MaxConcurrentStreams). New requests arriving when at the limit (which can only happen after the client has reset an existing, in-flight request) will be queued until a handler exits. If the request queue grows too large, the server will terminate the connection. This issue is also fixed in golang.org/x/net/http2 for users manually configuring HTTP/2. The default stream concurrency limit is 250 streams (requests) per HTTP/2 connection. This value may be adjusted using the golang.org/x/net/http2 package; see the Server.MaxConcurrentStreams setting and the ConfigureServer function.

Publish Date: 2023-10-11

URL: CVE-2023-39325

CVSS 3 Score Details (7.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://pkg.go.dev/vuln/GO-2023-2102

Release Date: 2023-10-11

Fix Resolution: go1.20.10, go1.21.3, golang.org/x/net - v0.17.0

Step up your Open Source Security Game with Mend here

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.