Vulnerabilities in pkg:maven/com.smalltest/smalltest
PACKAGECVE-2022-41243 is a MODERATE (CVSS 4.8) jenkins smalltest plugin missing hostname vulnerability (CWE-297: Improper Validation of Certificate with Host Mismatch) affecting Smalltest libraries in the Maven ecosystem. The issue involves jenkins smalltest plugin missing hostname validation. Remediation is available in the latest vendor maintenance releases.
pkg:maven/com.smalltest/smalltest
Vulnerability advisories affecting package pkg:maven/com.smalltest/smalltest. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-7jwg-hq85-c6m6 | CVE-2022-41243 | MODERATE | Jenkins SmallTest Plugin missing hostname validation |
CVE-2022-41243 at a Glance
Security Impact
CVSS: 4.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N).
How to Fix CVE-2022-41243
To remediate this vulnerability, upgrade all affected Smalltest 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>com.smalltest</groupId>
<artifactId>smalltest</artifactId>
<version>Latest secure release</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=com.smalltest
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2022-41243, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=com.smalltest
Analyze the terminal output to locate any version of Smalltest in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The mvn dependency:tree -Dincludes=com.smalltest 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-297: Improper Validation of Certificate with Host Mismatch, where the product communicates with a host that provides a certificate, but the product does not properly ensure that the certificate is actually associated with that host. In Smalltest, 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-41243 Affected Smalltest Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
com.smalltest:smalltest
|
Maven |
≤ 1.0.4
|
|
References
Frequently Asked Questions
What is CVE-2022-41243?
Which Smalltest versions are affected?
What version fixes CVE-2022-41243?
Is smalltest affected?
What is the CVSS score of CVE-2022-41243?
What CWE is associated with CVE-2022-41243?
How can I check Maven dependencies for CVE-2022-41243?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-7jwg-hq85-c6m6",
"modified" : "2022-12-06T19:50:46Z",
"published" : "2022-09-22T00:00:28Z",
"aliases" : [ "CVE-2022-41243" ],
"summary" : "Jenkins SmallTest Plugin missing hostname validation",
"details" : "Jenkins SmallTest Plugin 1.0.4 and earlier does not perform hostname validation when connecting to the configured View26 server that could be abused using a man-in-the-middle attack to intercept these connections. There is currently no known workaround or fix for this issue.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "com.smalltest:smalltest"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "1.0.4"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-41243"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/jenkinsci/smalltest-plugin"
}, {
"type" : "WEB",
"url" : "https://www.jenkins.io/security/advisory/2022-09-21/#SECURITY-2068"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-297" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2022-09-23T13:31:37Z",
"nvd_published_at" : "2022-09-21T16:15:00Z"
}
}