CVE-2024-38503: Syncope client idrepo common ui Apache Syncope Improper Input Validation Vulnerability

HIGH
Advisory Identifier: GHSA-8pxv-x6jq-5vw9
CVSS 6.5
CWE-20 CWE-79
Published
Advisory Summary

CVE-2024-38503 is a HIGH (CVSS 6.5) apache syncope improper input validation vulnerability (CWE-20: Improper Input Validation) affecting Syncope client idrepo common ui libraries in the Maven ecosystem. The issue involves apache syncope improper input validation vulnerability. Remediation is available by upgrading affected packages to version 3.0.8.

CVE-2024-38503 at a Glance

CVE Identifier CVE-2024-38503
GHSA Identifier GHSA-8pxv-x6jq-5vw9
Severity HIGH
CVSS v3.1 Base Score 6.5
CWE Classification CWE-20: Improper Input Validation
Affected Product Syncope client idrepo common ui
Package Ecosystem Maven
Published Date
Last Updated

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).

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

How to Fix CVE-2024-38503

To remediate this vulnerability, upgrade all affected Syncope client idrepo common ui 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.apache.syncope.client.idrepo:syncope-client-idrepo-common-ui fixed: 3.0.8
<dependency>
    <groupId>org.apache.syncope.client.idrepo</groupId>
    <artifactId>syncope-client-idrepo-common-ui</artifactId>
    <version>3.0.8</version>
</dependency>
org.apache.syncope.client.idrepo:syncope-client-idrepo-console fixed: 3.0.8
<dependency>
    <groupId>org.apache.syncope.client.idrepo</groupId>
    <artifactId>syncope-client-idrepo-console</artifactId>
    <version>3.0.8</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.apache.syncope.client.idrepo

How to Check if You Are Affected

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

mvn dependency:tree -Dincludes=org.apache.syncope.client.idrepo

Analyze the terminal output to locate any version of Syncope client idrepo common ui in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.0.8), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.apache.syncope.client.idrepo 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-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Syncope client idrepo common ui, 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

When editing a user, group or any object in the Syncope Console, HTML tags could be added to any text field and could lead to potential exploits. The same vulnerability was found in the Syncope Enduser, when editing "Personal Information" or "User Requests". Users are recommended to upgrade to version 3.0.8, which fixes this issue.

CVE-2024-38503 Affected Syncope client idrepo common ui Versions

2 component(s)
Fixed Versions:
3.0.8
Product / Package Ecosystem Affected Versions Fixed Version
org.apache.syncope.client.idrepo:syncope-client-idrepo-common-ui
Maven
≥ 2.1.0
< 3.0.8
3.0.8
org.apache.syncope.client.idrepo:syncope-client-idrepo-console
Maven
≥ 2.1.0
< 3.0.8
3.0.8

References

Frequently Asked Questions

What is CVE-2024-38503?
CVE-2024-38503 is a security vulnerability in Syncope client idrepo common ui involving Apache Syncope Improper Input Validation vulnerability under CWE-20: Improper Input Validation.
Which Syncope client idrepo common ui versions are affected?
Affected versions include releases prior to 3.0.8 across affected packages: org.apache.syncope.client.idrepo:syncope-client-idrepo-common-ui, org.apache.syncope.client.idrepo:syncope-client-idrepo-console.
What version fixes CVE-2024-38503?
Upgrading to 3.0.8 (or the latest patched release for your respective branch) resolves the vulnerability.
Is syncope-client-idrepo-common-ui affected?
Yes, org.apache.syncope.client.idrepo:syncope-client-idrepo-common-ui is affected in releases prior to 3.0.8. Upgrade your dependency to 3.0.8 or later.
Is syncope-client-idrepo-console affected?
Yes, org.apache.syncope.client.idrepo:syncope-client-idrepo-console is affected in releases prior to 3.0.8. Upgrade your dependency to 3.0.8 or later.
What is the CVSS score of CVE-2024-38503?
CVE-2024-38503 has a CVSS v3.1 base score of 6.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N.
What CWE is associated with CVE-2024-38503?
CVE-2024-38503 is classified under CWE-20: Improper Input Validation (The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.).
How can I check Maven dependencies for CVE-2024-38503?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.apache.syncope.client.idrepo'. 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-8pxv-x6jq-5vw9",
  "modified" : "2024-12-07T00:32:32Z",
  "published" : "2024-07-22T12:30:37Z",
  "aliases" : [ "CVE-2024-38503" ],
  "summary" : "Apache Syncope Improper Input Validation vulnerability",
  "details" : "When editing a user, group or any object in the Syncope Console, HTML tags could be added to any text field and could lead to potential exploits.\nThe same vulnerability was found in the Syncope Enduser, when editing \"Personal Information\" or \"User Requests\".\n\nUsers are recommended to upgrade to version 3.0.8, which fixes this issue.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.syncope.client.idrepo:syncope-client-idrepo-common-ui"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.1.0"
      }, {
        "fixed" : "3.0.8"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.syncope.client.idrepo:syncope-client-idrepo-console"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.1.0"
      }, {
        "fixed" : "3.0.8"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-38503"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/syncope/commit/12e65f5fb12ad87ce0b223b3c2bb39025a4521e4"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/apache/syncope"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/syncope/releases/tag/syncope-3.0.8"
  }, {
    "type" : "WEB",
    "url" : "https://syncope.apache.org/security#cve-2024-38503-html-tags-can-be-injected-into-console-or-enduser"
  }, {
    "type" : "WEB",
    "url" : "https://www.openwall.com/lists/oss-security/2024/07/22/3"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-20", "CWE-79" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-07-22T18:43:41Z",
    "nvd_published_at" : "2024-07-22T10:15:08Z"
  }
}