Vulnerabilities in pkg:maven/org.jenkins-ci.plugins/publish-over-ssh
PACKAGECVE-2022-23112 is a MODERATE (CVSS 6.5) missing permission check vulnerability (CWE-862: Missing Authorization) affecting Publish over ssh libraries in the Maven ecosystem. The issue involves missing permission check in jenkins publish over ssh plugin. Remediation is available by upgrading affected packages to version 1.24.
pkg:maven/org.jenkins-ci.plugins/publish-over-ssh
Vulnerability advisories affecting package pkg:maven/org.jenkins-ci.plugins/publish-over-ssh. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-vc4r-j8j6-3fp6 | CVE-2022-23112 | MODERATE | Missing permission check in Jenkins Publish Over SSH Plugin |
| GHSA-884c-9wwh-9p6v | CVE-2022-23111 | MODERATE | CSRF vulnerability and missing permission checks in Jenkins Publish Over SSH Plugin |
| GHSA-fjpm-hf7c-xgc2 | CVE-2022-23110 | MODERATE | Stored XSS vulnerability in Jenkins Publish Over SSH Plugin |
| GHSA-r3rr-wph6-9638 | CVE-2022-23114 | LOW | Password stored in plain text by Jenkins Publish Over SSH Plugin |
| GHSA-j8rg-4hjm-8r95 | CVE-2022-23113 | MODERATE | Path traversal vulnerability in Jenkins Publish Over SSH Plugin |
CVE-2022-23112 at a Glance
Security Impact
CVSS: 6.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:N/S:U/C:N/I:H/A:N).
How to Fix CVE-2022-23112
To remediate this vulnerability, upgrade all affected Publish over ssh dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>publish-over-ssh</artifactId>
<version>1.24</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.jenkins-ci.plugins
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2022-23112, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.jenkins-ci.plugins
Analyze the terminal output to locate any version of Publish over ssh in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.24), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.jenkins-ci.plugins command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-862: Missing Authorization, where the product does not perform an authorization check when an actor attempts to access a resource or perform an action. In Publish over ssh, 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-2022-23112 Affected Publish over ssh Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.jenkins-ci.plugins:publish-over-ssh
|
Maven |
< 1.24
|
1.24
|
References
Frequently Asked Questions
What is CVE-2022-23112?
Which Publish over ssh versions are affected?
What version fixes CVE-2022-23112?
Is publish-over-ssh affected?
What is the CVSS score of CVE-2022-23112?
What CWE is associated with CVE-2022-23112?
How can I check Maven dependencies for CVE-2022-23112?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-vc4r-j8j6-3fp6",
"modified" : "2023-12-14T18:28:28Z",
"published" : "2022-01-13T00:00:53Z",
"aliases" : [ "CVE-2022-23112" ],
"summary" : "Missing permission check in Jenkins Publish Over SSH Plugin",
"details" : "A missing permission check in Jenkins Publish Over SSH Plugin 1.22 and earlier allows attackers with Overall/Read access to connect to an attacker-specified SSH server using attacker-specified credentials.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.jenkins-ci.plugins:publish-over-ssh"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.24"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.22"
}
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-23112"
}, {
"type" : "WEB",
"url" : "https://github.com/jenkinsci/publish-over-ssh-plugin/commit/21bf41adbce9e71d3f77e113e29bf81d437cadc3"
}, {
"type" : "WEB",
"url" : "https://github.com/jenkinsci/publish-over-ssh-plugin/commit/c2e5ad99da6de4b9152ae0691f112145358a5666"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/jenkinsci/publish-over-ssh-plugin"
}, {
"type" : "WEB",
"url" : "https://www.jenkins.io/security/advisory/2022-01-12/#SECURITY-2290"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2022/01/12/6"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-862" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-12-14T18:28:28Z",
"nvd_published_at" : "2022-01-12T20:15:00Z"
}
}