Vulnerabilities in pkg:golang/github.com/cea-hpc/sshproxy
PACKAGECVE-2024-34713 is a LOW (CVSS 3.5) sshproxy vulnerable to ssh option vulnerability (CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')) affecting Github.com/cea hpc/sshproxy libraries in the Go ecosystem. The issue involves sshproxy vulnerable to ssh option injection. Remediation is available by upgrading affected packages to version 1.6.3.
pkg:golang/github.com/cea-hpc/sshproxy
Vulnerability advisories affecting package pkg:golang/github.com/cea-hpc/sshproxy. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-jmqp-37m5-49wh | CVE-2024-34713 | LOW | sshproxy vulnerable to SSH option injection |
CVE-2024-34713 at a Glance
Security Impact
CVSS: 3.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N).
How to Fix CVE-2024-34713
To remediate this vulnerability, upgrade all affected Github.com/cea hpc/sshproxy dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/cea-hpc/sshproxy to 1.6.3
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/cea-hpc/sshproxy
How to Check if You Are Affected
To determine whether your application is affected by CVE-2024-34713, inspect your project dependencies for Github.com/cea hpc/sshproxy:
inspect dependencies for github.com/cea-hpc/sshproxy
Analyze the terminal output to locate any version of Github.com/cea hpc/sshproxy in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.6.3), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection'), where the product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component. In Github.com/cea hpc/sshproxy, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-34713 Affected Github.com/cea hpc/sshproxy Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/cea-hpc/sshproxy
|
Go |
< 1.6.3
|
1.6.3
|
References
Frequently Asked Questions
What is CVE-2024-34713?
Which Github.com/cea hpc/sshproxy versions are affected?
What version fixes CVE-2024-34713?
Is github.com/cea-hpc/sshproxy affected?
What is the CVSS score of CVE-2024-34713?
What CWE is associated with CVE-2024-34713?
How can I check Go dependencies for CVE-2024-34713?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-jmqp-37m5-49wh",
"modified" : "2024-05-14T20:16:33Z",
"published" : "2024-05-14T20:16:33Z",
"aliases" : [ "CVE-2024-34713" ],
"summary" : "sshproxy vulnerable to SSH option injection",
"details" : "### Impact\nAny user authorized to connect to a ssh server using `sshproxy` can inject options to the `ssh` command executed by `sshproxy`.\nAll versions of `sshproxy` are impacted.\n\n### Patches\nThe problem is patched starting on version 1.6.3\n\n### Workarounds\nThe only workaround is to use the `force_command` option in `sshproxy.yaml`, but it's rarely relevant.\n\n### References\n\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/cea-hpc/sshproxy"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.6.3"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.6.2"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/cea-hpc/sshproxy/security/advisories/GHSA-jmqp-37m5-49wh"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-34713"
}, {
"type" : "WEB",
"url" : "https://github.com/cea-hpc/sshproxy/commit/3b8bccc874dc4ca2c80c956cad65722abb46f0b9"
}, {
"type" : "WEB",
"url" : "https://github.com/cea-hpc/sshproxy/commit/f7eabd05d5f0f951e160293692327cad9a7d9580"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/cea-hpc/sshproxy"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-77" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2024-05-14T20:16:33Z",
"nvd_published_at" : "2024-05-14T16:17:27Z"
}
}