Vulnerabilities in pkg:maven/org.igniterealtime.smack/smack-core

PACKAGE
Advisory Identifier: GHSA-66pq-hqv5-228g
Advisory Summary

CVE-2016-10027 is a MODERATE (CVSS 5.9) smack allows the bypass of vulnerability (CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')) affecting Smack core libraries in the Maven ecosystem. The issue involves smack allows the bypass of tls protections. Remediation is available by upgrading affected packages to version 4.1.9.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.igniterealtime.smack/smack-core

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/org.igniterealtime.smack/smack-core. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-66pq-hqv5-228g CVE-2016-10027 MODERATE Smack allows the bypass of TLS protections

CVE-2016-10027 at a Glance

CVE Identifier CVE-2016-10027
GHSA Identifier GHSA-66pq-hqv5-228g
Severity MODERATE
CVSS v3.1 Base Score 5.9
CWE Classification CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
Affected Product Smack core
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 5.9

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:H/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2016-10027

To remediate this vulnerability, upgrade all affected Smack core dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.igniterealtime.smack:smack-core fixed: 4.1.9
<dependency>
    <groupId>org.igniterealtime.smack</groupId>
    <artifactId>smack-core</artifactId>
    <version>4.1.9</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=org.igniterealtime.smack

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2016-10027, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.igniterealtime.smack

Analyze the terminal output to locate any version of Smack core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.1.9), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.igniterealtime.smack 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-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition'), where the product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently. In Smack core, 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

Race condition in the XMPP library in Smack before 4.1.9, when the SecurityMode.required TLS setting has been set, allows man-in-the-middle attackers to bypass TLS protections and trigger use of cleartext for client authentication by stripping the "starttls" feature from a server response.

CVE-2016-10027 Affected Smack core Versions

1 component(s)
Fixed Versions:
4.1.9
Product / Package Ecosystem Affected Versions Fixed Version
org.igniterealtime.smack:smack-core
Maven
< 4.1.9
4.1.9

References

Frequently Asked Questions

What is CVE-2016-10027?
CVE-2016-10027 is a security vulnerability in Smack core involving Smack allows the bypass of TLS protections under CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition').
Which Smack core versions are affected?
Affected versions include releases prior to 4.1.9 across affected packages: org.igniterealtime.smack:smack-core.
What version fixes CVE-2016-10027?
Upgrading to 4.1.9 (or the latest patched release for your respective branch) resolves the vulnerability.
Is smack-core affected?
Yes, org.igniterealtime.smack:smack-core is affected in releases prior to 4.1.9. Upgrade your dependency to 4.1.9 or later.
What is the CVSS score of CVE-2016-10027?
CVE-2016-10027 has a CVSS v3.1 base score of 5.9 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2016-10027?
CVE-2016-10027 is classified under CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') (The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.).
How can I check Maven dependencies for CVE-2016-10027?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.igniterealtime.smack'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-66pq-hqv5-228g",
  "modified" : "2025-04-21T22:50:55Z",
  "published" : "2022-05-13T01:11:39Z",
  "aliases" : [ "CVE-2016-10027" ],
  "summary" : "Smack allows the bypass of TLS protections",
  "details" : "Race condition in the XMPP library in Smack before 4.1.9, when the SecurityMode.required TLS setting has been set, allows man-in-the-middle attackers to bypass TLS protections and trigger use of cleartext for client authentication by stripping the \"starttls\" feature from a server response.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.igniterealtime.smack:smack-core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "4.1.9"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2016-10027"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/igniterealtime/Smack/commit/059ee99ba0d5ff7758829acf5a9aeede09ec820b"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/igniterealtime/Smack/commit/a9d5cd4a611f47123f9561bc5a81a4555fe7cb04"
  }, {
    "type" : "WEB",
    "url" : "https://community.igniterealtime.org/blogs/ignite/2016/11/22/smack-security-advisory-2016-11-22"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/igniterealtime/Smack"
  }, {
    "type" : "WEB",
    "url" : "https://issues.igniterealtime.org/projects/SMACK/issues/SMACK-739"
  }, {
    "type" : "WEB",
    "url" : "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/J4WXAZ4JVJXHMEDDXJVWJHPVBF5QCTZF"
  }, {
    "type" : "WEB",
    "url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/J4WXAZ4JVJXHMEDDXJVWJHPVBF5QCTZF"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2016/12/22/12"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-362" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-04-21T22:50:55Z",
    "nvd_published_at" : "2017-01-12T23:59:00Z"
  }
}