GitHub Advisoryadvisory · Maven

GHSA-fgmr-vx7c-5wj6 Timing attack on HMAC signature comparison in Apache Tapestry

CRITICAL Published 2019-09-26 Modified 2021-07-27 Official page ↗
Aliases
CVE-2019-10071
Ecosystem
Maven
Packages
org.apache.tapestry:tapestry-core
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-203, CWE-697
Reviewed
2019-09-23

Affected packages

• Maven org.apache.tapestry:tapestry-core: >= 5.4, < 5.4.5 → fixed in 5.4.5

Description

The code which checks HMAC in form submissions used String.equals() for comparisons, which results in a timing side channel for the comparison of the HMAC signatures. This could lead to remote code execution if an attacker is able to determine the correct signature for their payload. The comparison should be done with a constant time algorithm instead.

Related

Alias · CVE (1)

  • CVE-2019-10071 The code which checks HMAC in form submissions used String.equals() for comparisons, which results in a timing side channel for the… vulnerability

Weakness · CWE (2)

  • CWE-203 Observable Discrepancy weakness
  • CWE-697 Incorrect Comparison weakness

References