*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
The protojson.Unmarshal function can enter an infinite loop when unmarshaling certain forms of invalid JSON. This condition can occur when unmarshaling into a message which contains a google.protobuf.Any value, or when the UnmarshalOptions.DiscardUnknown option is set.
An attacker may cause an HTTP/2 endpoint to read arbitrary amounts of header data by sending an excessive number of CONTINUATION frames. Maintaining HPACK state requires parsing and processing all HEADERS and CONTINUATION frames on a connection. When a request's headers exceed MaxHeaderBytes, no memory is allocated to store the excess headers, but they are still parsed. This permits an attacker to cause an HTTP/2 endpoint to read arbitrary amounts of header data, all associated with a request which is going to be rejected. These headers can include Huffman-encoded data which is significantly more expensive for the receiver to decode than for an attacker to send. The fix sets a limit on the amount of excess header frames we will process before closing a connection.
A request smuggling attack is possible when using MaxBytesHandler. When using MaxBytesHandler, the body of an HTTP request is not fully consumed. When the server attempts to read HTTP2 frames from the connection, it will instead be reading the body of the HTTP request, which could be attacker-manipulated to represent arbitrary HTTP2 requests.
Text nodes not in the HTML namespace are incorrectly literally rendered, causing text which should be escaped to not be. This could lead to an XSS attack.
Vulnerable Library - github.com/GIN-GONIC/gin-v1.8.1
Path to dependency file: /go.mod
Path to vulnerable library: /go/pkg/mod/cache/download/golang.org/x/text/@v/v0.3.7.mod
Found in HEAD commit: ff7103aad212e302a9a638588623a16a4e87b335
Vulnerabilities
*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-2024-24786
### Vulnerable Library - google.golang.org/protobuf-v1.28.1Go support for Google's protocol buffers
Library home page: https://proxy.golang.org/google.golang.org/protobuf/@v/v1.28.1.zip
Path to dependency file: /go.mod
Path to vulnerable library: /go/pkg/mod/cache/download/google.golang.org/protobuf/@v/v1.28.1.mod
Dependency Hierarchy: - github.com/GIN-GONIC/gin-v1.8.1 (Root Library) - :x: **google.golang.org/protobuf-v1.28.1** (Vulnerable Library)
Found in HEAD commit: ff7103aad212e302a9a638588623a16a4e87b335
Found in base branch: master
### Vulnerability DetailsThe protojson.Unmarshal function can enter an infinite loop when unmarshaling certain forms of invalid JSON. This condition can occur when unmarshaling into a message which contains a google.protobuf.Any value, or when the UnmarshalOptions.DiscardUnknown option is set.
Publish Date: 2024-03-05
URL: CVE-2024-24786
### Threat AssessmentExploit Maturity: Not Defined
EPSS: 0.0%
### 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 FixType: Upgrade version
Origin: https://pkg.go.dev/vuln/GO-2024-2611
Release Date: 2024-03-05
Fix Resolution: v1.33.0
CVE-2023-45288
### Vulnerable Library - golang.org/x/net-v0.0.0-20220822230855-b0a4917ee28cLibrary home page: https://proxy.golang.org/golang.org/x/net/@v/v0.0.0-20220822230855-b0a4917ee28c.zip
Path to dependency file: /go.mod
Path to vulnerable library: /go/pkg/mod/cache/download/golang.org/x/net/@v/v0.0.0-20220822230855-b0a4917ee28c.mod
Dependency Hierarchy: - github.com/GIN-GONIC/gin-v1.8.1 (Root Library) - :x: **golang.org/x/net-v0.0.0-20220822230855-b0a4917ee28c** (Vulnerable Library)
Found in HEAD commit: ff7103aad212e302a9a638588623a16a4e87b335
Found in base branch: master
### Vulnerability DetailsAn attacker may cause an HTTP/2 endpoint to read arbitrary amounts of header data by sending an excessive number of CONTINUATION frames. Maintaining HPACK state requires parsing and processing all HEADERS and CONTINUATION frames on a connection. When a request's headers exceed MaxHeaderBytes, no memory is allocated to store the excess headers, but they are still parsed. This permits an attacker to cause an HTTP/2 endpoint to read arbitrary amounts of header data, all associated with a request which is going to be rejected. These headers can include Huffman-encoded data which is significantly more expensive for the receiver to decode than for an attacker to send. The fix sets a limit on the amount of excess header frames we will process before closing a connection.
Publish Date: 2024-04-04
URL: CVE-2023-45288
### Threat AssessmentExploit Maturity: Not Defined
EPSS: 0.0%
### 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 FixType: Upgrade version
Release Date: 2023-10-06
Fix Resolution: golang/net - v0.23.0
CVE-2022-41721
### Vulnerable Library - golang.org/x/net-v0.0.0-20220822230855-b0a4917ee28cLibrary home page: https://proxy.golang.org/golang.org/x/net/@v/v0.0.0-20220822230855-b0a4917ee28c.zip
Path to dependency file: /go.mod
Path to vulnerable library: /go/pkg/mod/cache/download/golang.org/x/net/@v/v0.0.0-20220822230855-b0a4917ee28c.mod
Dependency Hierarchy: - github.com/GIN-GONIC/gin-v1.8.1 (Root Library) - :x: **golang.org/x/net-v0.0.0-20220822230855-b0a4917ee28c** (Vulnerable Library)
Found in HEAD commit: ff7103aad212e302a9a638588623a16a4e87b335
Found in base branch: master
### Vulnerability DetailsA request smuggling attack is possible when using MaxBytesHandler. When using MaxBytesHandler, the body of an HTTP request is not fully consumed. When the server attempts to read HTTP2 frames from the connection, it will instead be reading the body of the HTTP request, which could be attacker-manipulated to represent arbitrary HTTP2 requests.
Publish Date: 2023-01-13
URL: CVE-2022-41721
### Threat AssessmentExploit Maturity: Not Defined
EPSS: 0.2%
### 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 FixType: Upgrade version
Release Date: 2023-01-13
Fix Resolution: v0.2.0
CVE-2022-32149
### Vulnerable Library - golang.org/x/text-v0.3.7Library home page: https://proxy.golang.org/golang.org/x/text/@v/v0.3.7.zip
Path to dependency file: /go.mod
Path to vulnerable library: /go/pkg/mod/cache/download/golang.org/x/text/@v/v0.3.7.mod
Dependency Hierarchy: - github.com/GIN-GONIC/gin-v1.8.1 (Root Library) - github.com/go-playground/validator/v10-v10.11.0 - :x: **golang.org/x/text-v0.3.7** (Vulnerable Library)
Found in HEAD commit: ff7103aad212e302a9a638588623a16a4e87b335
Found in base branch: master
### Vulnerability DetailsAn attacker may cause a denial of service by crafting an Accept-Language header which ParseAcceptLanguage will take significant time to parse.
Publish Date: 2022-10-14
URL: CVE-2022-32149
### Threat AssessmentExploit Maturity: Not Defined
EPSS: 0.2%
### 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 FixType: Upgrade version
Origin: https://www.cve.org/CVERecord?id=CVE-2022-32149
Release Date: 2022-10-14
Fix Resolution: v0.3.8
CVE-2023-3978
### Vulnerable Library - golang.org/x/net-v0.0.0-20220822230855-b0a4917ee28cLibrary home page: https://proxy.golang.org/golang.org/x/net/@v/v0.0.0-20220822230855-b0a4917ee28c.zip
Path to dependency file: /go.mod
Path to vulnerable library: /go/pkg/mod/cache/download/golang.org/x/net/@v/v0.0.0-20220822230855-b0a4917ee28c.mod
Dependency Hierarchy: - github.com/GIN-GONIC/gin-v1.8.1 (Root Library) - :x: **golang.org/x/net-v0.0.0-20220822230855-b0a4917ee28c** (Vulnerable Library)
Found in HEAD commit: ff7103aad212e302a9a638588623a16a4e87b335
Found in base branch: master
### Vulnerability DetailsText nodes not in the HTML namespace are incorrectly literally rendered, causing text which should be escaped to not be. This could lead to an XSS attack.
Publish Date: 2023-08-02
URL: CVE-2023-3978
### Threat AssessmentExploit Maturity: Not Defined
EPSS: 0.1%
### CVSS 3 Score Details (6.1)Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: Required - Scope: Changed - Impact Metrics: - Confidentiality Impact: Low - Integrity Impact: Low - Availability Impact: None
For more information on CVSS3 Scores, click here. ### Suggested FixType: Upgrade version
Origin: https://www.cve.org/CVERecord?id=CVE-2023-3978
Release Date: 2023-08-02
Fix Resolution: v0.13.0