GHSA-hx5q-v6pj-533r: Centraldogma server auth saml Authentication Bypass Vulnerability
CRITICALGHSA-hx5q-v6pj-533r is a CRITICAL (CVSS 9.1) authentication bypass vulnerability (CWE-1395: Dependency on Vulnerable Third-Party Component) affecting Centraldogma server auth saml libraries in the Maven ecosystem. The issue involves saml authentication bypass due to missing validation on unsigned saml messages. Remediation is available by upgrading affected packages to version 0.64.3.
GHSA-hx5q-v6pj-533r at a Glance
Security Impact
CVSS: 9.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N).
How to Fix GHSA-hx5q-v6pj-533r
To remediate this vulnerability, upgrade all affected Centraldogma server auth saml 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.linecorp.centraldogma</groupId>
<artifactId>centraldogma-server-auth-saml</artifactId>
<version>0.64.3</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.linecorp.centraldogma
How to Check if You Are Affected
To determine whether your Java application is affected by GHSA-hx5q-v6pj-533r, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=com.linecorp.centraldogma
Analyze the terminal output to locate any version of Centraldogma server auth saml in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.64.3), your application is affected.
Note: The mvn dependency:tree -Dincludes=com.linecorp.centraldogma 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-1395: Dependency on Vulnerable Third-Party Component, where the product has a dependency on a third-party component that contains one or more known vulnerabilities. In Centraldogma server auth saml, 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
GHSA-hx5q-v6pj-533r Affected Centraldogma server auth saml Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
com.linecorp.centraldogma:centraldogma-server-auth-saml
|
Maven |
< 0.64.3
|
0.64.3
|
References
Frequently Asked Questions
What is GHSA-hx5q-v6pj-533r?
Which Centraldogma server auth saml versions are affected?
What version fixes GHSA-hx5q-v6pj-533r?
Is centraldogma-server-auth-saml affected?
What is the CVSS score of GHSA-hx5q-v6pj-533r?
What CWE is associated with GHSA-hx5q-v6pj-533r?
How can I check Maven dependencies for GHSA-hx5q-v6pj-533r?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-hx5q-v6pj-533r",
"modified" : "2024-02-26T20:04:50Z",
"published" : "2024-02-26T20:04:50Z",
"aliases" : [ ],
"summary" : "SAML authentication bypass due to missing validation on unsigned SAML messages",
"details" : "### Impact\n\nWhen SAML is used as the authentication mechanism, Central Dogma accepts unsigned SAML messages (assertions, logout requests, etc.) as they are, rather than rejecting them by default. As a result, an attacker can forge a SAML message to authenticate themselves, despite the fact that such an unsigned SAML message should be rejected.\n\n### Patches\n\nThe vulnerability has been patched in Central Dogma 0.64.3 by updating its Armeria dependency to 1.27.2. All users who use SAML as the authentication mechanism must upgrade from 0.64.3 or later.\n\n### Workarounds\n\nA user can manually upgrade the `armeria-saml` module with the one from Armeria 1.27.2 or later, either by replacing the JAR in the Central Dogma distribution or by updating the dependency tree of the build.\n\n### References\n\n[`SamlMessageUtil.validateSignature()`](https://github.com/line/armeria/blob/0efc776988d71be4da6e506ec8a33c2b7b43f567/saml/src/main/java/com/linecorp/armeria/server/saml/SamlMessageUtil.java#L160-L163)",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "com.linecorp.centraldogma:centraldogma-server-auth-saml"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.64.3"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 0.64.2"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/line/armeria/security/advisories/GHSA-4m6j-23p2-8c54"
}, {
"type" : "WEB",
"url" : "https://github.com/line/centraldogma/security/advisories/GHSA-hx5q-v6pj-533r"
}, {
"type" : "WEB",
"url" : "https://github.com/line/centraldogma/commit/16903426be2e954c050b3ee47b8c38ee3218f0eb"
}, {
"type" : "WEB",
"url" : "https://github.com/line/centraldogma/commit/16903426be2e954c050b3ee47b8c38ee3218f0ebxz"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/line/centraldogma"
}, {
"type" : "WEB",
"url" : "https://github.com/line/centraldogma/releases/tag/centraldogma-0.64.3"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1395" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2024-02-26T20:04:50Z",
"nvd_published_at" : null
}
}