logo

CVE-2024-1735 com.linecorp.armeria:armeria-saml

Package

Manager: maven
Name: com.linecorp.armeria:armeria-saml
Vulnerable Version: >=0 <1.27.2

Severity

Level: Critical

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

EPSS: 0.00146 pctl0.35558

Details

Armeria SAML authentication bypass due to missing validation on unsigned SAML messages ### 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()`](https://github.com/line/armeria/blob/0efc776988d71be4da6e506ec8a33c2b7b43f567/saml/src/main/java/com/linecorp/armeria/server/saml/SamlMessageUtil.java#L160-L163)

Metadata

Created: 2024-02-26T20:04:37Z
Modified: 2024-02-26T20:04:37Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/02/GHSA-4m6j-23p2-8c54/GHSA-4m6j-23p2-8c54.json
CWE IDs: ["CWE-304"]
Alternative ID: GHSA-4m6j-23p2-8c54
Finding: F006
Auto approve: 1