CVE-2022-30115: Software Security Vulnerability Vulnerability
MODERATECVE-2022-30115 is a MODERATE (CVSS 4.3) security vulnerability vulnerability (CWE-319: Cleartext Transmission of Sensitive Information) affecting Software libraries in the Maven ecosystem. The weakness occurs when the product transmits sensitive or security-critical data in cleartext in a communication channel that can be sniffed by unauthorized actors.. Remediation is available in the latest vendor maintenance releases.
CVE-2022-30115 at a Glance
Security Impact
CVSS: 4.3
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:L/I:N/A:N).
How to Fix CVE-2022-30115
To remediate this vulnerability, upgrade all affected Software dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2022-30115, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree
Analyze the terminal output to locate any version of Software 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 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 & RFC 5280 Specification
Under RFC 5280 specifications for X.509 certificates, the Name Constraints extension defines a namespace within which all subsequent subject names in a certification path must be located. Constraints apply to various name forms including directory names, IP addresses, rfc822Name (email addresses), and uniformResourceIdentifier (URI) entries. Specifically, during certificate path validation, affected versions of Software failed to properly normalize or enforce boundary checks when domain names contained trailing dot (.) characters. Because domain names with a trailing dot signify fully qualified domain names (FQDNs), this omission allowed non-conforming certificates to be improperly validated as compliant with the defined name constraints.
Source Advisory Statement
References
Frequently Asked Questions
What is CVE-2022-30115?
Which Software versions are affected?
What version fixes CVE-2022-30115?
What is the CVSS score of CVE-2022-30115?
What CWE is associated with CVE-2022-30115?
How can I check Maven dependencies for CVE-2022-30115?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-p8vh-85vc-66x9",
"modified" : "2026-10-14T18:31:28Z",
"published" : "2022-06-03T00:01:07Z",
"aliases" : [ "CVE-2022-30115" ],
"details" : "Using its HSTS support, curl can be instructed to use HTTPS directly insteadof using an insecure clear-text HTTP step even when HTTP is provided in theURL. This mechanism could be bypassed if the host name in the given URL used atrailing dot while not using one when it built the HSTS cache. Or the otherway around - by having the trailing dot in the HSTS cache and *not* using thetrailing dot in the URL.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
} ],
"affected" : [ ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-30115"
}, {
"type" : "WEB",
"url" : "https://hackerone.com/reports/1557449"
}, {
"type" : "WEB",
"url" : "https://cert-portal.siemens.com/productcert/html/ssa-398330.html"
}, {
"type" : "WEB",
"url" : "https://security.gentoo.org/glsa/202212-01"
}, {
"type" : "WEB",
"url" : "https://security.netapp.com/advisory/ntap-20220609-0009"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2022/10/26/4"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2022/12/21/1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-319", "CWE-325" ],
"severity" : "MODERATE",
"github_reviewed" : false,
"github_reviewed_at" : null,
"nvd_published_at" : "2022-06-02T14:15:00Z"
}
}