CRITICAL 9.1

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

SamlMessageUtil.validateSignature()

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
com.linecorp.armeria » armeria-saml
< 1.27.2
1.27.2

Blast radius

1affected artifacts
117affected versions
3dependent artifacts (est.)
175dependent versions

66% of the dependent artifacts (2) still pull an affected version in their latest release.

DepthDependent versions
Direct
175

Most used dependents

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.