Vulnerable Library - maunium.net/go/mautrix-v0.9.18
Path to dependency file: /go.mod
Path to vulnerable library: /go.mod
Vulnerabilities
| Vulnerability |
Severity |
CVSS |
Dependency |
Type |
Fixed in (maunium.net/go/mautrix-v0.9.18 version) |
Remediation Possible** |
| CVE-2025-22869 |
High |
7.5 |
github.com/golang/crypto-v0.1.0 |
Transitive |
N/A* |
❌ |
| CVE-2022-41721 |
High |
7.5 |
github.com/golang/net-v0.0.0-20210220033124-5f55cee0dc0d |
Transitive |
N/A* |
❌ |
| CVE-2021-44716 |
High |
7.5 |
github.com/golang/net-v0.0.0-20210220033124-5f55cee0dc0d |
Transitive |
N/A* |
❌ |
| CVE-2021-33194 |
High |
7.5 |
github.com/golang/net-v0.0.0-20210220033124-5f55cee0dc0d |
Transitive |
N/A* |
❌ |
| CVE-2024-45337 |
High |
7.4 |
github.com/golang/crypto-v0.1.0 |
Transitive |
N/A* |
❌ |
| CVE-2026-27145 |
Medium |
6.5 |
github.com/golang/crypto-v0.1.0 |
Transitive |
N/A* |
❌ |
| CVE-2026-27138 |
Medium |
5.9 |
github.com/golang/crypto-v0.1.0 |
Transitive |
N/A* |
❌ |
| CVE-2021-31525 |
Medium |
5.9 |
github.com/golang/net-v0.0.0-20210220033124-5f55cee0dc0d |
Transitive |
N/A* |
❌ |
| CVE-2024-45338 |
Medium |
5.3 |
github.com/golang/net-v0.0.0-20210220033124-5f55cee0dc0d |
Transitive |
N/A* |
❌ |
| CVE-2025-22870 |
Medium |
4.4 |
github.com/golang/net-v0.0.0-20210220033124-5f55cee0dc0d |
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-2025-22869
Vulnerable Library - github.com/golang/crypto-v0.1.0
[mirror] Go supplementary cryptography libraries
Library home page: https://proxy.golang.org/github.com/golang/crypto/@v/v0.1.0.zip
Path to dependency file: /go.mod
Path to vulnerable library: /go.mod
Dependency Hierarchy:
- maunium.net/go/mautrix-v0.9.18 (Root Library)
- ❌ github.com/golang/crypto-v0.1.0 (Vulnerable Library)
Found in base branch: master
Vulnerability Details
SSH servers which implement file transfer protocols are vulnerable to a denial of service attack from clients which complete the key exchange slowly, or not at all, causing pending content to be read into memory, but never transmitted.
Publish Date: 2025-02-26
URL: CVE-2025-22869
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-2025-3487
Release Date: 2025-02-26
Fix Resolution: v0.35.0
Step up your Open Source Security Game with Mend here
CVE-2022-41721
Vulnerable Library - github.com/golang/net-v0.0.0-20210220033124-5f55cee0dc0d
[mirror] Go supplementary network libraries
Library home page: https://proxy.golang.org/github.com/golang/net/@v/v0.0.0-20210220033124-5f55cee0dc0d.zip
Path to dependency file: /go.mod
Path to vulnerable library: /go.mod
Dependency Hierarchy:
- maunium.net/go/mautrix-v0.9.18 (Root Library)
- ❌ github.com/golang/net-v0.0.0-20210220033124-5f55cee0dc0d (Vulnerable Library)
Found in base branch: master
Vulnerability Details
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.
Publish Date: 2023-01-13
URL: CVE-2022-41721
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: GHSA-fxg5-wq6x-vr4w
Release Date: 2023-01-13
Fix Resolution: golang.org/x/net - v0.1.1-0.20221104162952-702349b0e862
Step up your Open Source Security Game with Mend here
CVE-2021-44716
Vulnerable Library - github.com/golang/net-v0.0.0-20210220033124-5f55cee0dc0d
[mirror] Go supplementary network libraries
Library home page: https://proxy.golang.org/github.com/golang/net/@v/v0.0.0-20210220033124-5f55cee0dc0d.zip
Path to dependency file: /go.mod
Path to vulnerable library: /go.mod
Dependency Hierarchy:
- maunium.net/go/mautrix-v0.9.18 (Root Library)
- ❌ github.com/golang/net-v0.0.0-20210220033124-5f55cee0dc0d (Vulnerable Library)
Found in base branch: master
Vulnerability Details
net/http in Go before 1.16.12 and 1.17.x before 1.17.5 allows uncontrolled memory consumption in the header canonicalization cache via HTTP/2 requests.
Publish Date: 2022-01-01
URL: CVE-2021-44716
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.
Step up your Open Source Security Game with Mend here
CVE-2021-33194
Vulnerable Library - github.com/golang/net-v0.0.0-20210220033124-5f55cee0dc0d
[mirror] Go supplementary network libraries
Library home page: https://proxy.golang.org/github.com/golang/net/@v/v0.0.0-20210220033124-5f55cee0dc0d.zip
Path to dependency file: /go.mod
Path to vulnerable library: /go.mod
Dependency Hierarchy:
- maunium.net/go/mautrix-v0.9.18 (Root Library)
- ❌ github.com/golang/net-v0.0.0-20210220033124-5f55cee0dc0d (Vulnerable Library)
Found in base branch: master
Vulnerability Details
golang.org/x/net before v0.0.0-20210520170846-37e1c6afe023 allows attackers to cause a denial of service (infinite loop) via crafted ParseFragment input.
Publish Date: 2021-05-26
URL: CVE-2021-33194
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: Change files
Release Date: 2021-05-20
Fix Resolution: Replace or update the following files: parse.go, parse_test.go
Step up your Open Source Security Game with Mend here
CVE-2024-45337
Vulnerable Library - github.com/golang/crypto-v0.1.0
[mirror] Go supplementary cryptography libraries
Library home page: https://proxy.golang.org/github.com/golang/crypto/@v/v0.1.0.zip
Path to dependency file: /go.mod
Path to vulnerable library: /go.mod
Dependency Hierarchy:
- maunium.net/go/mautrix-v0.9.18 (Root Library)
- ❌ github.com/golang/crypto-v0.1.0 (Vulnerable Library)
Found in base branch: master
Vulnerability Details
Applications and libraries which misuse connection.serverAuthenticate (via callback field ServerConfig.PublicKeyCallback) may be susceptible to an authorization bypass. The documentation for ServerConfig.PublicKeyCallback says that "A call to this function does not guarantee that the key offered is in fact used to authenticate." Specifically, the SSH protocol allows clients to inquire about whether a public key is acceptable before proving control of the corresponding private key. PublicKeyCallback may be called with multiple keys, and the order in which the keys were provided cannot be used to infer which key the client successfully authenticated with, if any. Some applications, which store the key(s) passed to PublicKeyCallback (or derived information) and make security relevant determinations based on it once the connection is established, may make incorrect assumptions. For example, an attacker may send public keys A and B, and then authenticate with A. PublicKeyCallback would be called only twice, first with A and then with B. A vulnerable application may then make authorization decisions based on key B for which the attacker does not actually control the private key. Since this API is widely misused, as a partial mitigation golang.org/x/cry...@v0.31.0 enforces the property that, when successfully authenticating via public key, the last key passed to ServerConfig.PublicKeyCallback will be the key used to authenticate the connection. PublicKeyCallback will now be called multiple times with the same key, if necessary. Note that the client may still not control the last key passed to PublicKeyCallback if the connection is then authenticated with a different method, such as PasswordCallback, KeyboardInteractiveCallback, or NoClientAuth. Users should be using the Extensions field of the Permissions return value from the various authentication callbacks to record data associated with the authentication attempt instead of referencing external state. Once the connection is established the state corresponding to the successful authentication attempt can be retrieved via the ServerConn.Permissions field. Note that some third-party libraries misuse the Permissions type by sharing it across authentication attempts; users of third-party libraries should refer to the relevant projects for guidance.
Publish Date: 2024-12-11
URL: CVE-2024-45337
CVSS 3 Score Details (7.4)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: High
- Privileges Required: None
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: High
- Integrity Impact: High
- Availability Impact: None
For more information on CVSS3 Scores, click here.
Suggested Fix
Type: Upgrade version
Origin: GHSA-v778-237x-gjrc
Release Date: 2024-12-11
Fix Resolution: golang.org/x/crypto - v0.31.0
Step up your Open Source Security Game with Mend here
CVE-2026-27145
Vulnerable Library - github.com/golang/crypto-v0.1.0
[mirror] Go supplementary cryptography libraries
Library home page: https://proxy.golang.org/github.com/golang/crypto/@v/v0.1.0.zip
Path to dependency file: /go.mod
Path to vulnerable library: /go.mod
Dependency Hierarchy:
- maunium.net/go/mautrix-v0.9.18 (Root Library)
- ❌ github.com/golang/crypto-v0.1.0 (Vulnerable Library)
Found in base branch: master
Vulnerability Details
(*x509.Certificate).VerifyHostname previously called matchHostnames in a loop over all DNS Subject Alternative Name (SAN) entries. This caused strings.Split(host, ".") to execute repeatedly on the same input hostname. With a large DNS SAN list, verification costs scaled quadratically based on the number of SAN entries multiplied by the hostname's label count. Because x509.Verify validates hostnames before building the certificate chain, this overhead occurred even for untrusted certificates.
Publish Date: 2026-06-02
URL: CVE-2026-27145
CVSS 3 Score Details (6.5)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: High
- Privileges Required: None
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: None
- Integrity Impact: Low
- Availability Impact: High
For more information on CVSS3 Scores, click here.
Suggested Fix
Type: Upgrade version
Release Date: 2026-06-02
Fix Resolution: https://github.com/golang/go.git - go1.25.11,https://github.com/golang/go.git - go1.26.4,github.com/golang/go - go1.25.11,github.com/golang/go - go1.26.4
Step up your Open Source Security Game with Mend here
CVE-2026-27138
Vulnerable Library - github.com/golang/crypto-v0.1.0
[mirror] Go supplementary cryptography libraries
Library home page: https://proxy.golang.org/github.com/golang/crypto/@v/v0.1.0.zip
Path to dependency file: /go.mod
Path to vulnerable library: /go.mod
Dependency Hierarchy:
- maunium.net/go/mautrix-v0.9.18 (Root Library)
- ❌ github.com/golang/crypto-v0.1.0 (Vulnerable Library)
Found in base branch: master
Vulnerability Details
Certificate verification can panic when a certificate in the chain has an empty DNS name and another certificate in the chain has excluded name constraints. This can crash programs that are either directly verifying X.509 certificate chains, or those that use TLS.
Publish Date: 2026-03-06
URL: CVE-2026-27138
CVSS 3 Score Details (5.9)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: High
- 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-2026-4600
Release Date: 2026-03-06
Fix Resolution: github.com/golang/go - go1.26.1,https://github.com/golang/go.git - go1.26.1
Step up your Open Source Security Game with Mend here
CVE-2021-31525
Vulnerable Library - github.com/golang/net-v0.0.0-20210220033124-5f55cee0dc0d
[mirror] Go supplementary network libraries
Library home page: https://proxy.golang.org/github.com/golang/net/@v/v0.0.0-20210220033124-5f55cee0dc0d.zip
Path to dependency file: /go.mod
Path to vulnerable library: /go.mod
Dependency Hierarchy:
- maunium.net/go/mautrix-v0.9.18 (Root Library)
- ❌ github.com/golang/net-v0.0.0-20210220033124-5f55cee0dc0d (Vulnerable Library)
Found in base branch: master
Vulnerability Details
net/http in Go before 1.15.12 and 1.16.x before 1.16.4 allows remote attackers to cause a denial of service (panic) via a large header to ReadRequest or ReadResponse. Server, Transport, and Client can each be affected in some configurations.
Publish Date: 2021-05-27
URL: CVE-2021-31525
CVSS 3 Score Details (5.9)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: High
- 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: Change files
Release Date: 2021-04-28
Fix Resolution: Replace or update the following file: httplex.go
Step up your Open Source Security Game with Mend here
CVE-2024-45338
Vulnerable Library - github.com/golang/net-v0.0.0-20210220033124-5f55cee0dc0d
[mirror] Go supplementary network libraries
Library home page: https://proxy.golang.org/github.com/golang/net/@v/v0.0.0-20210220033124-5f55cee0dc0d.zip
Path to dependency file: /go.mod
Path to vulnerable library: /go.mod
Dependency Hierarchy:
- maunium.net/go/mautrix-v0.9.18 (Root Library)
- ❌ github.com/golang/net-v0.0.0-20210220033124-5f55cee0dc0d (Vulnerable Library)
Found in base branch: master
Vulnerability Details
An attacker can craft an input to the Parse functions that would be processed non-linearly with respect to its length, resulting in extremely slow parsing. This could cause a denial of service.
Publish Date: 2024-12-18
URL: CVE-2024-45338
CVSS 3 Score Details (5.3)
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: Low
For more information on CVSS3 Scores, click here.
Step up your Open Source Security Game with Mend here
CVE-2025-22870
Vulnerable Library - github.com/golang/net-v0.0.0-20210220033124-5f55cee0dc0d
[mirror] Go supplementary network libraries
Library home page: https://proxy.golang.org/github.com/golang/net/@v/v0.0.0-20210220033124-5f55cee0dc0d.zip
Path to dependency file: /go.mod
Path to vulnerable library: /go.mod
Dependency Hierarchy:
- maunium.net/go/mautrix-v0.9.18 (Root Library)
- ❌ github.com/golang/net-v0.0.0-20210220033124-5f55cee0dc0d (Vulnerable Library)
Found in base branch: master
Vulnerability Details
Matching of hosts against proxy patterns can improperly treat an IPv6 zone ID as a hostname component. For example, when the NO_PROXY environment variable is set to "*.example.com", a request to "[::1%25.example.com]:80` will incorrectly match and not be proxied.
Publish Date: 2025-03-12
URL: CVE-2025-22870
CVSS 3 Score Details (4.4)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Local
- Attack Complexity: Low
- Privileges Required: Low
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: Low
- Integrity Impact: None
- Availability Impact: Low
For more information on CVSS3 Scores, click here.
Suggested Fix
Type: Upgrade version
Release Date: 2025-03-12
Fix Resolution: https://github.com/golang/net.git - v0.36.0,https://github.com/golang/go.git - go1.23.6,https://github.com/golang/go.git - go1.24.1
Step up your Open Source Security Game with Mend here
Path to dependency file: /go.mod
Path to vulnerable library: /go.mod
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
Vulnerable Library - github.com/golang/crypto-v0.1.0
[mirror] Go supplementary cryptography libraries
Library home page: https://proxy.golang.org/github.com/golang/crypto/@v/v0.1.0.zip
Path to dependency file: /go.mod
Path to vulnerable library: /go.mod
Dependency Hierarchy:
Found in base branch: master
Vulnerability Details
SSH servers which implement file transfer protocols are vulnerable to a denial of service attack from clients which complete the key exchange slowly, or not at all, causing pending content to be read into memory, but never transmitted.
Publish Date: 2025-02-26
URL: CVE-2025-22869
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-2025-3487
Release Date: 2025-02-26
Fix Resolution: v0.35.0
Step up your Open Source Security Game with Mend here
Vulnerable Library - github.com/golang/net-v0.0.0-20210220033124-5f55cee0dc0d
[mirror] Go supplementary network libraries
Library home page: https://proxy.golang.org/github.com/golang/net/@v/v0.0.0-20210220033124-5f55cee0dc0d.zip
Path to dependency file: /go.mod
Path to vulnerable library: /go.mod
Dependency Hierarchy:
Found in base branch: master
Vulnerability Details
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.
Publish Date: 2023-01-13
URL: CVE-2022-41721
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: GHSA-fxg5-wq6x-vr4w
Release Date: 2023-01-13
Fix Resolution: golang.org/x/net - v0.1.1-0.20221104162952-702349b0e862
Step up your Open Source Security Game with Mend here
Vulnerable Library - github.com/golang/net-v0.0.0-20210220033124-5f55cee0dc0d
[mirror] Go supplementary network libraries
Library home page: https://proxy.golang.org/github.com/golang/net/@v/v0.0.0-20210220033124-5f55cee0dc0d.zip
Path to dependency file: /go.mod
Path to vulnerable library: /go.mod
Dependency Hierarchy:
Found in base branch: master
Vulnerability Details
net/http in Go before 1.16.12 and 1.17.x before 1.17.5 allows uncontrolled memory consumption in the header canonicalization cache via HTTP/2 requests.
Publish Date: 2022-01-01
URL: CVE-2021-44716
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.Step up your Open Source Security Game with Mend here
Vulnerable Library - github.com/golang/net-v0.0.0-20210220033124-5f55cee0dc0d
[mirror] Go supplementary network libraries
Library home page: https://proxy.golang.org/github.com/golang/net/@v/v0.0.0-20210220033124-5f55cee0dc0d.zip
Path to dependency file: /go.mod
Path to vulnerable library: /go.mod
Dependency Hierarchy:
Found in base branch: master
Vulnerability Details
golang.org/x/net before v0.0.0-20210520170846-37e1c6afe023 allows attackers to cause a denial of service (infinite loop) via crafted ParseFragment input.
Publish Date: 2021-05-26
URL: CVE-2021-33194
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: Change files
Release Date: 2021-05-20
Fix Resolution: Replace or update the following files: parse.go, parse_test.go
Step up your Open Source Security Game with Mend here
Vulnerable Library - github.com/golang/crypto-v0.1.0
[mirror] Go supplementary cryptography libraries
Library home page: https://proxy.golang.org/github.com/golang/crypto/@v/v0.1.0.zip
Path to dependency file: /go.mod
Path to vulnerable library: /go.mod
Dependency Hierarchy:
Found in base branch: master
Vulnerability Details
Applications and libraries which misuse connection.serverAuthenticate (via callback field ServerConfig.PublicKeyCallback) may be susceptible to an authorization bypass. The documentation for ServerConfig.PublicKeyCallback says that "A call to this function does not guarantee that the key offered is in fact used to authenticate." Specifically, the SSH protocol allows clients to inquire about whether a public key is acceptable before proving control of the corresponding private key. PublicKeyCallback may be called with multiple keys, and the order in which the keys were provided cannot be used to infer which key the client successfully authenticated with, if any. Some applications, which store the key(s) passed to PublicKeyCallback (or derived information) and make security relevant determinations based on it once the connection is established, may make incorrect assumptions. For example, an attacker may send public keys A and B, and then authenticate with A. PublicKeyCallback would be called only twice, first with A and then with B. A vulnerable application may then make authorization decisions based on key B for which the attacker does not actually control the private key. Since this API is widely misused, as a partial mitigation golang.org/x/cry...@v0.31.0 enforces the property that, when successfully authenticating via public key, the last key passed to ServerConfig.PublicKeyCallback will be the key used to authenticate the connection. PublicKeyCallback will now be called multiple times with the same key, if necessary. Note that the client may still not control the last key passed to PublicKeyCallback if the connection is then authenticated with a different method, such as PasswordCallback, KeyboardInteractiveCallback, or NoClientAuth. Users should be using the Extensions field of the Permissions return value from the various authentication callbacks to record data associated with the authentication attempt instead of referencing external state. Once the connection is established the state corresponding to the successful authentication attempt can be retrieved via the ServerConn.Permissions field. Note that some third-party libraries misuse the Permissions type by sharing it across authentication attempts; users of third-party libraries should refer to the relevant projects for guidance.
Publish Date: 2024-12-11
URL: CVE-2024-45337
CVSS 3 Score Details (7.4)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: High
- Privileges Required: None
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: High
- Integrity Impact: High
- Availability Impact: None
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: GHSA-v778-237x-gjrc
Release Date: 2024-12-11
Fix Resolution: golang.org/x/crypto - v0.31.0
Step up your Open Source Security Game with Mend here
Vulnerable Library - github.com/golang/crypto-v0.1.0
[mirror] Go supplementary cryptography libraries
Library home page: https://proxy.golang.org/github.com/golang/crypto/@v/v0.1.0.zip
Path to dependency file: /go.mod
Path to vulnerable library: /go.mod
Dependency Hierarchy:
Found in base branch: master
Vulnerability Details
(*x509.Certificate).VerifyHostname previously called matchHostnames in a loop over all DNS Subject Alternative Name (SAN) entries. This caused strings.Split(host, ".") to execute repeatedly on the same input hostname. With a large DNS SAN list, verification costs scaled quadratically based on the number of SAN entries multiplied by the hostname's label count. Because x509.Verify validates hostnames before building the certificate chain, this overhead occurred even for untrusted certificates.
Publish Date: 2026-06-02
URL: CVE-2026-27145
CVSS 3 Score Details (6.5)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: High
- Privileges Required: None
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: None
- Integrity Impact: Low
- Availability Impact: High
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Release Date: 2026-06-02
Fix Resolution: https://github.com/golang/go.git - go1.25.11,https://github.com/golang/go.git - go1.26.4,github.com/golang/go - go1.25.11,github.com/golang/go - go1.26.4
Step up your Open Source Security Game with Mend here
Vulnerable Library - github.com/golang/crypto-v0.1.0
[mirror] Go supplementary cryptography libraries
Library home page: https://proxy.golang.org/github.com/golang/crypto/@v/v0.1.0.zip
Path to dependency file: /go.mod
Path to vulnerable library: /go.mod
Dependency Hierarchy:
Found in base branch: master
Vulnerability Details
Certificate verification can panic when a certificate in the chain has an empty DNS name and another certificate in the chain has excluded name constraints. This can crash programs that are either directly verifying X.509 certificate chains, or those that use TLS.
Publish Date: 2026-03-06
URL: CVE-2026-27138
CVSS 3 Score Details (5.9)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: High
- 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-2026-4600
Release Date: 2026-03-06
Fix Resolution: github.com/golang/go - go1.26.1,https://github.com/golang/go.git - go1.26.1
Step up your Open Source Security Game with Mend here
Vulnerable Library - github.com/golang/net-v0.0.0-20210220033124-5f55cee0dc0d
[mirror] Go supplementary network libraries
Library home page: https://proxy.golang.org/github.com/golang/net/@v/v0.0.0-20210220033124-5f55cee0dc0d.zip
Path to dependency file: /go.mod
Path to vulnerable library: /go.mod
Dependency Hierarchy:
Found in base branch: master
Vulnerability Details
net/http in Go before 1.15.12 and 1.16.x before 1.16.4 allows remote attackers to cause a denial of service (panic) via a large header to ReadRequest or ReadResponse. Server, Transport, and Client can each be affected in some configurations.
Publish Date: 2021-05-27
URL: CVE-2021-31525
CVSS 3 Score Details (5.9)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: High
- 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: Change files
Release Date: 2021-04-28
Fix Resolution: Replace or update the following file: httplex.go
Step up your Open Source Security Game with Mend here
Vulnerable Library - github.com/golang/net-v0.0.0-20210220033124-5f55cee0dc0d
[mirror] Go supplementary network libraries
Library home page: https://proxy.golang.org/github.com/golang/net/@v/v0.0.0-20210220033124-5f55cee0dc0d.zip
Path to dependency file: /go.mod
Path to vulnerable library: /go.mod
Dependency Hierarchy:
Found in base branch: master
Vulnerability Details
An attacker can craft an input to the Parse functions that would be processed non-linearly with respect to its length, resulting in extremely slow parsing. This could cause a denial of service.
Publish Date: 2024-12-18
URL: CVE-2024-45338
CVSS 3 Score Details (5.3)
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: Low
For more information on CVSS3 Scores, click here.Step up your Open Source Security Game with Mend here
Vulnerable Library - github.com/golang/net-v0.0.0-20210220033124-5f55cee0dc0d
[mirror] Go supplementary network libraries
Library home page: https://proxy.golang.org/github.com/golang/net/@v/v0.0.0-20210220033124-5f55cee0dc0d.zip
Path to dependency file: /go.mod
Path to vulnerable library: /go.mod
Dependency Hierarchy:
Found in base branch: master
Vulnerability Details
Matching of hosts against proxy patterns can improperly treat an IPv6 zone ID as a hostname component. For example, when the NO_PROXY environment variable is set to "*.example.com", a request to "[::1%25.example.com]:80` will incorrectly match and not be proxied.
Publish Date: 2025-03-12
URL: CVE-2025-22870
CVSS 3 Score Details (4.4)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Local
- Attack Complexity: Low
- Privileges Required: Low
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: Low
- Integrity Impact: None
- Availability Impact: Low
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Release Date: 2025-03-12
Fix Resolution: https://github.com/golang/net.git - v0.36.0,https://github.com/golang/go.git - go1.23.6,https://github.com/golang/go.git - go1.24.1
Step up your Open Source Security Game with Mend here