Vulnerabilities in pkg:maven/io.jans/jans-config-api-server

PACKAGE
Advisory Identifier: GHSA-373j-mhpf-84wg
Advisory Summary

CVE-2025-53003 is a HIGH janssen config api returns results vulnerability (CWE-284: Improper Access Control) affecting Jans config api server libraries in the Maven ecosystem. The issue involves janssen config api returns results without scope verification. Remediation is available by upgrading affected packages to version 1.8.0.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/io.jans/jans-config-api-server

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/io.jans/jans-config-api-server. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-373j-mhpf-84wg CVE-2025-53003 HIGH Janssen Config API returns results without scope verification

CVE-2025-53003 at a Glance

CVE Identifier CVE-2025-53003
GHSA Identifier GHSA-373j-mhpf-84wg
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-284: Improper Access Control
Affected Product Jans config api server
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2025-53003

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

io.jans:jans-config-api-server fixed: 1.8.0
<dependency>
    <groupId>io.jans</groupId>
    <artifactId>jans-config-api-server</artifactId>
    <version>1.8.0</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=io.jans

How to Check if You Are Affected

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

mvn dependency:tree -Dincludes=io.jans

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

Note: The mvn dependency:tree -Dincludes=io.jans 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-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. In Jans config api server, 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

### Impact _What kind of vulnerability is it? Who is impacted?_ The configAPI is an internal service and hence should never be exposed to the internet. With that said, this is a serious vulnerability that has a large internal surface attack area that exposes all sorts of information from the IDP including clients, users, scripts ..etc. This affects all users of Janssen <1.8.0 and Gluu Flex <5.8.0 ### Patches _Has the problem been patched? What versions should users upgrade to?_ All users are advised to upgrade immediately to [1.8.0](https://github.com/JanssenProject/jans/releases/tag/v1.8.0) for Janssen users and [5.8.0](https://github.com/GluuFederation/flex/releases/tag/v5.8.0) For Flex users. ### Workarounds _Is there a way for users to fix or remediate the vulnerability without upgrading?_ The user can potentially fork and build the config api and patch it in their system following the commit here https://github.com/JanssenProject/jans/commit/92eea4d4637f1cae16ad2f07b2c16378ff3fc5f1 ### References _Are there any links users can visit to find out more?_ https://github.com/JanssenProject/jans/issues/11575 https://github.com/JanssenProject/jans/commit/92eea4d4637f1cae16ad2f07b2c16378ff3fc5f1

CVE-2025-53003 Affected Jans config api server Versions

1 component(s)
Fixed Versions:
1.8.0
Product / Package Ecosystem Affected Versions Fixed Version
io.jans:jans-config-api-server
Maven
< 1.8.0
1.8.0

References

Frequently Asked Questions

What is CVE-2025-53003?
CVE-2025-53003 is a security vulnerability in Jans config api server involving Janssen Config API returns results without scope verification under CWE-284: Improper Access Control.
Which Jans config api server versions are affected?
Affected versions include releases prior to 1.8.0 across affected packages: io.jans:jans-config-api-server.
What version fixes CVE-2025-53003?
Upgrading to 1.8.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is jans-config-api-server affected?
Yes, io.jans:jans-config-api-server is affected in releases prior to 1.8.0. Upgrade your dependency to 1.8.0 or later.
What CWE is associated with CVE-2025-53003?
CVE-2025-53003 is classified under CWE-284: Improper Access Control (The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.).
How can I check Maven dependencies for CVE-2025-53003?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=io.jans'. 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-373j-mhpf-84wg",
  "modified" : "2025-07-01T13:13:21Z",
  "published" : "2025-06-30T17:52:44Z",
  "aliases" : [ "CVE-2025-53003" ],
  "summary" : "Janssen Config API returns results without scope verification",
  "details" : "### Impact\n_What kind of vulnerability is it? Who is impacted?_\nThe configAPI is an internal service and hence should never be exposed to the internet. With that said, this is a serious vulnerability that has a large internal surface attack area that exposes all sorts of information from the IDP including clients, users, scripts ..etc.\n\nThis affects all users of Janssen <1.8.0 and Gluu Flex <5.8.0\n\n### Patches\n_Has the problem been patched? What versions should users upgrade to?_\nAll users are advised to upgrade immediately to [1.8.0](https://github.com/JanssenProject/jans/releases/tag/v1.8.0) for Janssen users and [5.8.0](https://github.com/GluuFederation/flex/releases/tag/v5.8.0) For Flex users.\n\n### Workarounds\n_Is there a way for users to fix or remediate the vulnerability without upgrading?_\nThe user can potentially fork and build the config api and patch it in their system following the commit here https://github.com/JanssenProject/jans/commit/92eea4d4637f1cae16ad2f07b2c16378ff3fc5f1\n\n### References\n_Are there any links users can visit to find out more?_\nhttps://github.com/JanssenProject/jans/issues/11575\nhttps://github.com/JanssenProject/jans/commit/92eea4d4637f1cae16ad2f07b2c16378ff3fc5f1",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "io.jans:jans-config-api-server"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.8.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/JanssenProject/jans/security/advisories/GHSA-373j-mhpf-84wg"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-53003"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/JanssenProject/jans/issues/11575"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/JanssenProject/jans/commit/92eea4d4637f1cae16ad2f07b2c16378ff3fc5f1"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/GluuFederation/flex/releases/tag/v5.8.0"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/JanssenProject/jans"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/JanssenProject/jans/releases/tag/v1.8.0"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200", "CWE-269", "CWE-284" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-06-30T17:52:44Z",
    "nvd_published_at" : "2025-07-01T02:15:22Z"
  }
}