CVE-2024-1735
Armeria SAML authentication bypass due to missing validation on unsigned SAML messages
Description
Impact
The SAML implementation provided by armeria-saml currently 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.
Patches
The vulnerability has been patched in Armeria version 1.27.2. All users who rely on armeria-saml older than version 1.27.2 must upgrade to 1.27.2 or later.
Workarounds
There is no known workaround for this vulnerability.
References
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| com.linecorp.armeria » armeria-saml | < 1.27.2 | 1.27.2 |
Blast radius
66% of the dependent artifacts (2) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 175 |
Most used dependents
- com.linecorp.centraldogma » centraldogma-server-auth-saml0 usages
- cloud.filibuster » instrumentation0 usages
- cloud.filibuster » cloud.filibuster.instrumentation0 usages
Computed from the dependency graph of build 20261202.0245 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2024-1735 | nvd.nist.gov |
| Package | line/armeria | github.com |
| Web | line/armeria advisory GHSA-4m6j-23p2-8c54 | github.com |
| Web | line/armeria commit b2aa9f4 | github.com |
| Web | line/armeria SamlMessageUtil.java | github.com |
| Web | line/armeria release armeria-1.27.2 | github.com |
